Repository navigation
fix: Exclude litellm==1.107.0 from extras - #8104
Merged
sentrivana merged 1 commit intoOct 22, 2026
Merged
Conversation
chrikrah
reviewed
Oct 22, 2026
chrikrah
left a comment
There was a problem hiding this comment.
@jonny-norwine I'd merge this at 3f28707. It follows #5876, which excluded 1.82.7 and 1.82.8 the same way, and the specifier drops only 1.107.0. The rc builds that the SafeDep write-up calls clean still resolve.
$ python3 spec_check.py # packaging SpecifierSet(...).contains(v, prereleases=True) on the litellm extra in setup.py at 3f28707
setup.py at 3f28707: litellm>=1.77.5,!=1.82.7,!=1.82.8,!=1.107.0
1.82.7 False
1.106.2 True
1.107.0rc2 True
1.107.0 False
1.107.1 True
$ curl -s https://pypi.org/pypi/litellm/json | python3 releases.py # the releases map, 2026-10-21
1.82.7 absent
1.82.8 absent
1.107.0 absent
latest 1.106.2
PyPI has already removed 1.107.0, so a fresh resolve from pypi.org cannot pick it. The exclusion still guards mirrors that cached it before the removal, and it cleans up the range a scanner reads from your poetry.lock.
@sentrivana this is one line in setup.py. Could it go out in the next patch release, so that lock files pick up the exclusion?
sentrivana
approved these changes
Oct 22, 2026
sentrivana
left a comment
Collaborator
There was a problem hiding this comment.
Thank you @jonny-norwine!
Contributor
Author
|
Thank you both |
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.
Description
That version is vulnerable so it would be great to exclude it from extras. To be honest, we don't use that extra but since we use poetry, the litellm version range shows up in our poetry.lock and it doesn't look good for our security team. Thanks!
Issues
Reminders
uv run ruff.feat:,fix:,ref:,meta:)