Skip to content

Commit 7a15cb2

Browse files
committed
Restore backward compatibility with LangChain 0.3.x
Update dependency ranges to support both LangChain 0.3.x and 1.x: - langchain-core: >=0.3.78,<2.0.0 (was >=1.1.0,<2.0.0) - langchain: >=0.3.20,<2.0.0 (was >=1.0.0,<2.0.0) - langchain-openai: >=0.3.35,<2.0.0 (was >=1.0.0,<2.0.0) - langgraph: >=0.2.0,<2.0.0 (was ^1.0.0) - langchain-tests: >=0.3.12,<2.0.0 (was ^1.0.0) Verified compatibility: - All 63 unit tests pass with langchain-core 0.3.80 - All 63 unit tests pass with langchain-core 1.1.0
1 parent 68231af commit 7a15cb2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

libs/oci/pyproject.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ readme = "README.md"
66
license = "UPL-1.0"
77
requires-python = ">=3.10,<4.0"
88
dependencies = [
9-
"langchain-core>=1.1.0,<2.0.0",
10-
"langchain>=1.0.0,<2.0.0",
9+
"langchain-core>=0.3.78,<2.0.0",
10+
"langchain>=0.3.20,<2.0.0",
1111
"oci>=2.161.0",
1212
"pydantic>=2,<3",
1313
"aiohttp>=3.12.14",
1414
"openai>=2.6.1",
1515
"oci-openai>=1.0.0",
16-
"langchain-openai>=1.0.0,<2.0.0",
16+
"langchain-openai>=0.3.35,<2.0.0",
1717
]
1818

1919
[project.urls]
@@ -32,13 +32,13 @@ pytest-cov = "^4.1.0"
3232
syrupy = "^4.0.2"
3333
pytest-asyncio = "^0.23.2"
3434
pytest-watcher = "^0.3.4"
35-
langchain-tests = "^1.0.0"
35+
langchain-tests = ">=0.3.12,<2.0.0"
3636
pytest-socket = "^0.7.0"
3737
pytest-mock = "^3.15.0"
3838
pytest-httpx = ">=0.30.0"
3939
responses = "^0.25.8"
40-
langgraph = "^1.0.0"
41-
langchain-openai = "^1.0.0"
40+
langgraph = ">=0.2.0,<2.0.0"
41+
langchain-openai = ">=0.3.35,<2.0.0"
4242

4343

4444
[tool.poetry.group.codespell]
@@ -51,7 +51,7 @@ codespell = "^2.2.6"
5151
optional = true
5252

5353
[tool.poetry.group.test_integration.dependencies]
54-
langgraph = "^1.0.0"
54+
langgraph = ">=0.2.0,<2.0.0"
5555

5656
[tool.poetry.group.lint]
5757
optional = true

0 commit comments

Comments
 (0)