Skip to content

Commit fa5e707

Browse files
GWealegithub-actions[bot]
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. Co-authored-by: George Weale <[email protected]> PiperOrigin-RevId: 888818704
1 parent 44b3f72 commit fa5e707

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ test = [
126126
"kubernetes>=29.0.0", # For GkeCodeExecutor
127127
"langchain-community>=0.3.17",
128128
"langgraph>=0.2.60, <0.4.8", # For LangGraphAgent
129-
"litellm>=1.75.5, <2.0.0", # For LiteLLM tests
129+
"litellm>=1.75.5, <=1.82.6", # For LiteLLM tests. Upper bound pinned: versions 1.82.7+ compromised in supply chain attack.
130130
"llama-index-readers-file>=0.4.0", # For retrieval tests
131131
"openai>=1.100.2", # For LiteLLM
132132
"opentelemetry-instrumentation-google-genai>=0.3b0, <1.0.0",
@@ -159,7 +159,7 @@ extensions = [
159159
"kubernetes>=29.0.0", # For GkeCodeExecutor
160160
"k8s-agent-sandbox>=0.1.1.post2", # For GkeCodeExecutor sandbox mode
161161
"langgraph>=0.2.60, <0.4.8", # For LangGraphAgent
162-
"litellm>=1.75.5, <2.0.0", # For LiteLlm class. Currently has OpenAI limitations. TODO: once LiteLlm fix it
162+
"litellm>=1.75.5, <=1.82.6", # For LiteLlm class. Upper bound pinned: versions 1.82.7+ compromised in supply chain attack.
163163
"llama-index-readers-file>=0.4.0", # For retrieval using LlamaIndex.
164164
"llama-index-embeddings-google-genai>=0.3.0", # For files retrieval using LlamaIndex.
165165
"lxml>=5.3.0", # For load_web_page tool.

0 commit comments

Comments
 (0)