Skip to content

Commit

Permalink
mongo[major]: upgrade pydantic (#26053)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme authored Sep 5, 2024
1 parent 79c4631 commit e5aa0f9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 79 deletions.
60 changes: 10 additions & 50 deletions libs/partners/mongodb/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion libs/partners/mongodb/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ disallow_untyped_defs = "True"
"Release Notes" = "https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain-mongodb%3D%3D0%22&expanded=true"

[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
python = ">=3.9,<4.0"
pymongo = ">=4.6.1,<5.0"
langchain-core = "^0.2.21"
pydantic = ">=2,<3"
[[tool.poetry.dependencies.numpy]]
version = "^1"
python = "<3.12"
Expand Down
27 changes: 0 additions & 27 deletions libs/partners/mongodb/scripts/check_pydantic.sh

This file was deleted.

2 changes: 1 addition & 1 deletion libs/partners/mongodb/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
BaseMessage,
)
from langchain_core.outputs import ChatGeneration, ChatResult
from langchain_core.pydantic_v1 import validator
from pydantic import validator
from pymongo.collection import Collection
from pymongo.results import DeleteResult, InsertManyResult

Expand Down

0 comments on commit e5aa0f9

Please sign in to comment.