Skip to content

Update Litellm dependencies to avoid supply chain attacks#47

Merged
myui merged 2 commits into
mainfrom
litellm_security_updates
Apr 16, 2026
Merged

Update Litellm dependencies to avoid supply chain attacks#47
myui merged 2 commits into
mainfrom
litellm_security_updates

Conversation

@myui

@myui myui commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator

This pull request updates dependency management in pyproject.toml to improve security and compatibility. The most important changes include excluding vulnerable package versions, updating a key dependency, and adding configuration for dependency resolution cooldowns.

Dependency security and compatibility:

  • Excluded litellm versions 1.82.7 and 1.82.8 from installation to avoid a known supply chain attack, while keeping the minimum version at 1.79.1.
  • Updated google-adk minimum version from 1.17.0 to v1.28.0 to address compatibility and reference a specific upstream commit.

Dependency resolution configuration:

  • Added a [tool.uv] section to configure dependency resolution cooldowns, excluding packages newer than 1 week globally and setuptools newer than 30 days, to improve stability when resolving dependencies.

Find more in
google/adk-python@77f1c41
BerriAI/litellm#24518

@myui myui merged commit 92fc381 into main Apr 16, 2026
3 checks passed
@myui myui deleted the litellm_security_updates branch April 16, 2026 05:44
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