Skip to content

Update Python dependencies in pyproject.toml#1232

Closed
chakravarthik27 wants to merge 26 commits intorelease/2.8.0from
fix/vulnerabilities-and-security-issues
Closed

Update Python dependencies in pyproject.toml#1232
chakravarthik27 wants to merge 26 commits intorelease/2.8.0from
fix/vulnerabilities-and-security-issues

Conversation

@chakravarthik27
Copy link
Copy Markdown
Collaborator

This pull request makes several important updates to modernize the codebase and dependencies, primarily by upgrading Python version support, updating key dependencies, and refactoring the OpenAI embeddings integration to use the latest API patterns and models.

Python version and dependency updates:

  • Updated the supported Python versions to 3.12 and 3.13 in all GitHub Actions workflows (.github/workflows/build_and_test.yml, .github/workflows/llm_tests_build.yml, .github/workflows/release.yaml) and in the pyproject.toml configuration file. Dropped support for earlier Python versions. [1] [2] [3] [4]
  • Upgraded the minimum required version of the mlflow dependency to >=3.10.1 in pyproject.toml.

- Bump Python version requirement from >=3.9,<4.0 to >=3.12,<4.0
- Update mlflow version requirement from 3.1.1 to >=3.10.1
@chakravarthik27 chakravarthik27 self-assigned this Mar 21, 2026
@chakravarthik27 chakravarthik27 changed the title Update Python and mlflow dependencies in pyproject.toml Update Python dependencies in pyproject.toml Mar 21, 2026
…toml

- Restrict Python version to <3.15
- Upgrade transformers to >=5.3.0
- Update openai to >=2.29.0
- Change accelerate version to >=1.13.0
- Update langchain to >=1.2.13
- Update langchain-community to >=0.4.1
- Update langchain-openai to >=1.1.11
- Update databricks-langchain to >=0.17.0 with Python version restriction
- Update langchain-ollama to >=1.0.1
- Remove deprecated package versions
- Changed transformers dependency to include sentencepiece as an extra.
- Added pytest-xdist as a new testing dependency.
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.

1 participant