From 87ea6c1e1984a62b28ae46697f9d12bac485466e Mon Sep 17 00:00:00 2001 From: Matthew Tang Date: Tue, 20 Oct 2026 11:37:57 -0700 Subject: [PATCH] chore: Relax litellm upper bound to <1.97.0 for Python < 3.14. Fixes #7201 PiperOrigin-RevId: 1003266425 --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index d040dc068d..ee6c974276 100644 --- a/setup.py +++ b/setup.py @@ -185,10 +185,10 @@ "jsonschema", "ruamel.yaml", "pyyaml", - "litellm>=1.83.7, <1.86.0; python_version<'3.14'", + "litellm>=1.83.7, <1.97.0; python_version<'3.14'", "litellm>=1.93.0, <1.97.0; python_version>='3.14'", # For LiteLLM tests. Lower bound: CVE-2026-35030 plus 4 follow-on - # advisories patched in 1.83.7. Upper bound <1.86.0 for stable interface only. + # advisories patched in 1.83.7. Upper bound <1.97.0 for stable interface only. ] langchain_extra_require = [