Skip to content

Conversation

@robodev-r2d2
Copy link
Collaborator

@robodev-r2d2 robodev-r2d2 commented Nov 20, 2025

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):

  • Updated langchain, langchain-community, langchain-core, langchain-openai, langchain-qdrant, langchain-ollama, langchain-text-splitters, and langfuse to their latest major versions in multiple pyproject.toml files, ensuring compatibility with breaking changes and new features. [1] [2] [3] [4] [5]
  • Updated other dependencies such as langchain-experimental, python-dateutil, and related libraries for consistency and security. [1] [2]

Import Refactoring:

  • Refactored imports from langchain.text_splitter to langchain_text_splitters in several modules to match the new package structure. [1] [2] [3]
  • Updated imports of prompt templates from langchain.prompts to langchain_core.prompts in 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.

- 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 a-klos merged commit b6d060b into stackitcloud:main Nov 24, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants