Skip to content

Commit d3dba29

Browse files
authored
INTPYTHON-798 - Pin LangChain version < 1.0 (#236)
[INTPYTHON-798](https://jira.mongodb.org/browse/INTPYTHON-798) ## Summary Pin LangChain dependencies to < 1.0 until our refactor for 1.0 is complete.
1 parent 90424ed commit d3dba29

File tree

3 files changed

+32
-32
lines changed

3 files changed

+32
-32
lines changed

libs/langchain-mongodb/pyproject.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ description = "An integration package connecting MongoDB and LangChain"
1010
readme = "README.md"
1111
requires-python = ">=3.9"
1212
dependencies = [
13-
"langchain-core>=0.3",
14-
"langchain>=0.3",
13+
"langchain-core>=0.3,<1.0",
14+
"langchain>=0.3,<1.0",
1515
"pymongo>=4.6.1",
16-
"langchain-text-splitters>=0.3",
16+
"langchain-text-splitters>=0.3,<1.0",
1717
"numpy>=1.26",
1818
"lark<2.0.0,>=1.1.9",
1919
]
2020

2121
[dependency-groups]
2222
dev = [
2323
"freezegun>=1.2.2",
24-
"langchain>=0.3.14",
25-
"langchain-core>=0.3.29",
26-
"langchain-text-splitters>=0.3.5",
24+
"langchain>=0.3.14,<1.0",
25+
"langchain-core>=0.3.29,<1.0",
26+
"langchain-text-splitters>=0.3.5,<1.0",
2727
"pytest-mock>=3.10.0",
2828
"pytest>=7.3.0",
2929
"syrupy>=4.0.2",
@@ -33,13 +33,13 @@ dev = [
3333
"pre-commit>=4.0",
3434
"mypy>=1.10",
3535
"simsimd>=6.5.0",
36-
"langchain-ollama>=0.2.2",
37-
"langchain-openai>=0.2.14",
38-
"langchain-community>=0.3.27",
36+
"langchain-ollama>=0.2.2,<1.0",
37+
"langchain-openai>=0.2.14,<1.0",
38+
"langchain-community>=0.3.27,<1.0",
3939
"pypdf>=5.0.1",
4040
"langgraph>=0.2.72",
4141
"flaky>=3.8.1",
42-
"langchain-tests==0.3.22",
42+
"langchain-tests==0.3.22,<1.0",
4343
"pip>=25.0.1",
4444
"typing-extensions>=4.12.2",
4545
]

libs/langchain-mongodb/uv.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

uv.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)