chore: update dependencies for langchain and related packages#165
Merged
a-klos merged 2 commits intostackitcloud:mainfrom Nov 24, 2025
Merged
chore: update dependencies for langchain and related packages#165a-klos merged 2 commits intostackitcloud:mainfrom
a-klos merged 2 commits intostackitcloud:mainfrom
Conversation
- Upgraded langchain to version 1.0.8 in both document-extractor and rag-backend services. - Updated langchain-community to version 0.4.1 across both services. - Changed langchain-core version to 1.0.7 in both services. - Introduced langchain-classic version 1.0.0 in rag-backend. - Updated langchain-text-splitters to version 1.0.0 in both services. - Adjusted Python version compatibility to >=3.10.0 for several packages. - Updated various dependencies including requests, sqlalchemy, and openai to their latest compatible versions. - Removed deprecated versions and ensured compatibility with the latest langchain ecosystem.
a-klos
approved these changes
Nov 20, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates dependencies across several modules to their latest major versions, particularly for the LangChain ecosystem, and refactors imports to match new package structures. These changes ensure compatibility with the latest APIs and improve maintainability. The most important changes are grouped below:
Dependency Upgrades (LangChain Ecosystem & Related Libraries):
langchain,langchain-community,langchain-core,langchain-openai,langchain-qdrant,langchain-ollama,langchain-text-splitters, andlangfuseto their latest major versions in multiplepyproject.tomlfiles, ensuring compatibility with breaking changes and new features. [1] [2] [3] [4] [5]langchain-experimental,python-dateutil, and related libraries for consistency and security. [1] [2]Import Refactoring:
langchain.text_splittertolangchain_text_splittersin several modules to match the new package structure. [1] [2] [3]langchain.promptstolangchain_core.promptsin prompt template modules and tests, ensuring proper usage of the latest API. [1] [2] [3] [4] [5]These changes are necessary to keep the codebase up to date and compatible with the latest versions of the LangChain ecosystem and its dependencies.