Skip to content

Commit 78966da

Browse files
yinghsienwucopybara-github
authored andcommitted
fix: Exclude compromised LiteLLM versions from dependencies pin to 1.82.6
Versions 1.82.7 and 1.82.8 of LiteLLM were affected by a supply chain attack and are now explicitly excluded from the dependency constraints for both project and dev dependencies. PiperOrigin-RevId: 889295996
1 parent c4beca0 commit 78966da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@
181181
"jsonschema",
182182
"ruamel.yaml",
183183
"pyyaml",
184-
"litellm >= 1.72.4, != 1.77.2, != 1.77.3, != 1.77.4",
184+
"litellm>=1.75.5, <=1.82.6",
185+
# For LiteLLM tests. Upper bound pinned: versions 1.82.7+ compromised in supply chain attack.
185186
]
186187

187188
langchain_extra_require = [

0 commit comments

Comments
 (0)