-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove dependencies on Pydantic v1 (#3526)
# Description By moving to LangChain > 0.3, we can remove any dependency on Pydantic V1, thus avoiding the conflicts originating from mixing Pydantic V1 with Pydantic V2 Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate):
- Loading branch information
1 parent
09b4811
commit ebc4eb8
Showing
23 changed files
with
559 additions
and
3,430 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,23 +5,24 @@ description = "Quivr core RAG package" | |
authors = [{ name = "Stan Girard", email = "[email protected]" }] | ||
dependencies = [ | ||
"pydantic>=2.8.2", | ||
"langchain-core>=0.2.38", | ||
"langchain>=0.2.14,<0.3.0", | ||
"langgraph>=0.2.38", | ||
"langchain-core>=0.3,<0.4", | ||
"langchain>=0.3,<0.4", | ||
"langgraph>=0.2.38,<0.3", | ||
"httpx>=0.27.0", | ||
"rich>=13.7.1", | ||
"tiktoken>=0.7.0", | ||
"aiofiles>=23.1.0", | ||
"langchain-openai>=0.1.0", | ||
"langchain-cohere>=0.1.0", | ||
"langchain-community>=0.2.12", | ||
"langchain-community>=0.3,<0.4", | ||
"langchain-anthropic>=0.1.23", | ||
"types-pyyaml>=6.0.12.20240808", | ||
"transformers[sentencepiece]>=4.44.2", | ||
"faiss-cpu>=1.8.0.post1", | ||
"rapidfuzz>=3.10.1", | ||
"markupsafe>=2.1.5", | ||
"megaparse-sdk>=0.1.9", | ||
"langchain-mistralai>=0.2.3", | ||
] | ||
readme = "README.md" | ||
requires-python = ">= 3.11" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.