Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions py/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -751,8 +751,7 @@ def test_google_adk(session, version):
@nox.parametrize("version", LANGCHAIN_VERSIONS, ids=LANGCHAIN_VERSIONS)
def test_langchain(session, version):
_skip_if_incompatible(session)
group = "test-langchain-0-3" if version == "0.3.28" else "test-langchain"
_install_test_deps(session, group)
_install_test_deps(session, "test-langchain")
_install_matrix_dep(session, "langchain-core", version)
_run_tests(
session,
Expand All @@ -761,7 +760,8 @@ def test_langchain(session, version):
f"{INTEGRATION_DIR}/langchain/test_context.py",
f"{INTEGRATION_DIR}/langchain/test_anthropic.py",
],
version=version,
# Both core versions use the same provider pins and HTTP recordings.
version=LATEST,
)


Expand Down
19 changes: 2 additions & 17 deletions py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -211,16 +211,6 @@ test-langchain = [
"langgraph==1.1.6",
]

# Newest companions that still accept langchain-core 0.3.28; the test-langchain
# pins require langchain-core 1.x and would upgrade it.
test-langchain-0-3 = [
{include-group = "test"},
"langchain-core==0.3.28",
"langchain-openai==0.2.14",
"langchain-anthropic==0.3.1",
"langgraph==0.5.4",
]

test-mcp-interop = [
"opentelemetry-instrumentation-mcp==0.62.4",
"langchain-mcp-adapters==0.3.2",
Expand Down Expand Up @@ -441,7 +431,6 @@ conflicts = [
{group = "test-agentscope"},
{group = "test-strands"},
{group = "test-langchain"},
{group = "test-langchain-0-3"},
{group = "test-deepagents"},
{group = "test-llamaindex"},
{group = "test-llamaindex-0-13"},
Expand All @@ -455,11 +444,6 @@ conflicts = [
{group = "test-llamaindex"},
{group = "test-llamaindex-0-13"},
],
# langchain-core 0.3.x vs langchain-mcp-adapters' langchain-core 1.x.
[
{group = "test-langchain-0-3"},
{group = "test-mcp-interop"},
],
# mcp 1.x constraints for old provider versions vs litellm's mcp 2.x.
[
{group = "test-litellm"},
Expand Down Expand Up @@ -628,7 +612,8 @@ latest = "google-adk[mcp]==2.15.1"

[tool.braintrust.matrix.langchain-core]
latest = "langchain-core==1.8.5"
"0.3.28" = "langchain-core==0.3.28"
# The 1.8 series requires Python 3.11; keep a patched pin for Python 3.10.
"1.7.7" = "langchain-core==1.7.7"

[tool.braintrust.matrix.llama-index-core]
latest = "llama-index-core==0.14.26"
Expand Down
2 changes: 1 addition & 1 deletion py/scripts/session-weights.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"test_huggingface_hub(latest)": 4,
"test_instructor(1.11.0)": 6,
"test_instructor(latest)": 8,
"test_langchain(0.3.28)": 8,
"test_langchain(1.7.7)": 8,
"test_langchain(latest)": 10,
"test_litellm(1.74.0)": 10,
"test_litellm(latest)": 20,
Expand Down

This file was deleted.

Loading
Loading