Skip to content

Commit 10814f7

Browse files
speedstorm1copybara-github
authored andcommitted
fix: Allow litellm<1.110.0 in evaluation extra, excluding 1.107.0
PiperOrigin-RevId: 1019531205
1 parent 9b3f296 commit 10814f7

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

‎pypi/google_cloud_agentplatform/pyproject.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ evaluation = [
8080
"pandas >= 1.0.0",
8181
"tqdm >= 4.23.0",
8282
"pyyaml",
83-
# Lower bound >=1.106.5 includes security advisory patches; litellm
84-
# requires Python <3.15.
85-
"litellm >= 1.106.5, < 1.107.0; python_version < '3.15'",
83+
# Lower bound >=1.106.5 includes security advisory patches; 1.107.0 was
84+
# compromised; litellm requires Python <3.15.
85+
"litellm >= 1.106.5, != 1.107.0, < 1.110.0; python_version < '3.15'",
8686
"google-cloud-storage >= 1.32.0, < 4.0.0",
8787
]
8888
bigquery = [

‎setup.py‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,10 @@
186186
"jsonschema",
187187
"ruamel.yaml",
188188
"pyyaml",
189-
# Lower bound >=1.106.5 includes security advisory patches; litellm
190-
# requires Python <3.15. Exact version is pinned in CI constraints.
191-
"litellm>=1.106.5, <1.107.0; python_version<'3.15'",
189+
# Lower bound >=1.106.5 includes security advisory patches; 1.107.0 was
190+
# compromised; litellm requires Python <3.15. Exact version is pinned in
191+
# CI constraints.
192+
"litellm>=1.106.5, !=1.107.0, <1.110.0; python_version<'3.15'",
192193
]
193194

194195
langchain_extra_require = [

0 commit comments

Comments
 (0)