Merge pull request #26022 from BerriAI/litellm_/reverent-kirch-7cf0a6

[Infra] Bump proxy dependencies and raise minimum Python to 3.10
This commit is contained in:
shin-berri 2026-04-18 14:44:24 -07:00 committed by GitHub
commit 85b1b93661
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 485 additions and 2358 deletions

View File

@ -1707,7 +1707,7 @@ jobs:
export PATH="$HOME/miniconda/bin:$PATH"
conda init bash
source ~/.bashrc
conda create -n myenv python=3.9 -y
conda create -n myenv python=3.10 -y
conda activate myenv
python --version
- run:
@ -1822,7 +1822,7 @@ jobs:
export PATH="$HOME/miniconda/bin:$PATH"
conda init bash
source ~/.bashrc
conda create -n myenv python=3.9 -y
conda create -n myenv python=3.10 -y
conda activate myenv
python --version
- run:
@ -2057,7 +2057,7 @@ jobs:
export PATH="$HOME/miniconda/bin:$PATH"
conda init bash
source ~/.bashrc
conda create -n myenv python=3.9 -y
conda create -n myenv python=3.10 -y
conda activate myenv
python --version
- run:
@ -2208,7 +2208,7 @@ jobs:
export PATH="$HOME/miniconda/bin:$PATH"
conda init bash
source ~/.bashrc
conda create -n myenv python=3.9 -y
conda create -n myenv python=3.10 -y
conda activate myenv
python --version
- run:
@ -2319,7 +2319,7 @@ jobs:
export PATH="$HOME/miniconda/bin:$PATH"
conda init bash
source ~/.bashrc
conda create -n myenv python=3.9 -y
conda create -n myenv python=3.10 -y
conda activate myenv
python --version
- run:
@ -2444,7 +2444,7 @@ jobs:
export PATH="$HOME/miniconda/bin:$PATH"
conda init bash
source ~/.bashrc
conda create -n myenv python=3.9 -y
conda create -n myenv python=3.10 -y
conda activate myenv
python --version
- run:

View File

@ -3,7 +3,7 @@ name = "litellm"
version = "1.83.9"
description = "Library to easily interface with LLM API providers"
readme = "README.md"
requires-python = ">=3.9, <3.14"
requires-python = ">=3.10, <3.14"
license = "MIT"
license-files = ["LICENSE"]
authors = [
@ -40,37 +40,37 @@ proxy = [
"backoff==2.2.1",
"pyyaml==6.0.3",
"rq==2.7.0",
"orjson==3.10.15",
"orjson==3.11.5",
"apscheduler==3.11.2",
"fastapi-sso==0.16.0",
"PyJWT==2.11.0; python_version >= '3.9'",
"python-multipart==0.0.20",
"fastapi-sso==0.19.0",
"PyJWT==2.11.0",
"python-multipart==0.0.26",
"cryptography==46.0.7",
"pynacl==1.6.2",
"websockets==15.0.1",
"boto3==1.42.59",
"azure-identity==1.25.2; python_version >= '3.9'",
"azure-identity==1.25.2",
"azure-storage-blob==12.28.0",
"mcp==1.26.0; python_version >= '3.10'",
"mcp==1.26.0",
"litellm-proxy-extras==0.4.66",
"litellm-enterprise==0.1.37",
"RestrictedPython==8.1",
"rich==13.9.4",
"polars==1.38.1; python_version >= '3.10'",
"polars==1.38.1",
"soundfile==0.12.1",
"pyroscope-io==0.8.16; sys_platform != 'win32'",
]
extra_proxy = [
"prisma==0.11.0",
"azure-identity==1.25.2; python_version >= '3.9'",
"azure-identity==1.25.2",
"azure-keyvault-secrets==4.10.0",
# Not in PyPI proxy extra.
"google-cloud-kms==2.24.2",
"google-cloud-iam==2.19.1",
# Not in PyPI proxy extra.
"resend==2.23.0",
"redisvl==0.4.1; python_version >= '3.9' and python_version < '3.14'",
"a2a-sdk==0.3.24; python_version >= '3.10'",
"redisvl==0.4.1; python_version < '3.14'",
"a2a-sdk==0.3.24",
]
utils = [
# Not in Docker or PyPI proxy extra.
@ -78,10 +78,10 @@ utils = [
]
caching = ["diskcache==5.6.3"]
semantic-router = [
"semantic-router==0.1.12; python_version >= '3.9' and python_version < '3.14'",
"aurelio-sdk==0.0.19; python_version >= '3.9' and python_version < '3.14'",
"semantic-router==0.1.12; python_version < '3.14'",
"aurelio-sdk==0.0.19; python_version < '3.14'",
]
mlflow = ["mlflow==3.9.0; python_version >= '3.10'"]
mlflow = ["mlflow==3.9.0"]
grpc = [
# Newest non-yanked release older than the 30-day cutoff.
"grpcio==1.78.0",
@ -106,7 +106,7 @@ proxy-runtime = [
"azure-ai-contentsafety==1.0.0",
"azure-storage-file-datalake==12.20.0",
"pypdf==6.7.5; python_version < '3.14'",
"llm-sandbox==0.3.31; python_version >= '3.10'",
"llm-sandbox==0.3.31",
"detect-secrets==1.5.0",
]
@ -127,16 +127,14 @@ dev = [
# pytest-postgresql imports psycopg v3 during pytest startup. Keep the base
# package and the binary wheel in the default dev environment so local
# pytest works without requiring a system libpq install.
"psycopg==3.2.13; python_version < '3.10'",
"psycopg==3.3.3; python_version >= '3.10'",
"psycopg-binary==3.2.13; python_version < '3.10'",
"psycopg-binary==3.3.3; python_version >= '3.10'",
"psycopg==3.3.3",
"psycopg-binary==3.3.3",
"pytest-xdist==3.8.0",
"requests-mock==1.12.1",
"responses==0.26.0",
"respx==0.22.0",
"ruff==0.15.3",
"types-requests==2.32.4.20260107; python_version >= '3.10'",
"types-requests==2.32.4.20260107",
"types-setuptools==75.8.0.20250225",
"types-redis==4.6.0.20241004",
"types-PyYAML==6.0.12.20250915",
@ -159,8 +157,8 @@ proxy-dev = [
"opentelemetry-api==1.28.0",
"opentelemetry-sdk==1.28.0",
"opentelemetry-exporter-otlp==1.28.0",
"azure-identity==1.25.2; python_version >= '3.9'",
"a2a-sdk==0.3.24; python_version >= '3.10'",
"azure-identity==1.25.2",
"a2a-sdk==0.3.24",
]
ci = [
# These are lazily imported at call sites; keep them out of core deps to
@ -168,17 +166,13 @@ ci = [
# protobuf, Pillow is a compiled C extension).
"tenacity==8.5.0",
"google-generativeai==0.8.6",
"Pillow==11.3.0; python_version < '3.10'",
"Pillow==12.1.1; python_version >= '3.10'",
"Pillow==12.1.1",
# Azure batch E2E tests still import psycopg2 directly.
"psycopg2-binary==2.9.11",
"pytest-codspeed==4.3.0",
"pytest-retry==1.7.0",
"pyarrow==21.0.0; python_version < '3.10'",
"pyarrow==22.0.0; python_version >= '3.10'",
"langchain==0.3.27; python_version < '3.10'",
"langchain==1.2.10; python_version >= '3.10'",
"lunary==1.0.36; python_version < '3.10'",
"pyarrow==22.0.0",
"langchain==1.2.10",
"lunary==1.4.36; python_version == '3.10'",
"lunary==1.4.37; python_version >= '3.11'",
"logfire==4.6.0",
@ -192,17 +186,16 @@ ci = [
"anthropic==0.84.0",
"blockbuster==1.5.26",
"beautifulsoup4==4.14.3",
"pylint==3.3.9; python_version < '3.10'",
"pylint==4.0.5; python_version >= '3.10'",
"pylint==4.0.5",
"pyright==1.1.408",
"langchain-mcp-adapters==0.2.1; python_version >= '3.10'",
"langchain-openai==1.1.10; python_version >= '3.10'",
"langgraph==1.0.10; python_version >= '3.10'",
"langchain-mcp-adapters==0.2.1",
"langchain-openai==1.1.10",
"langgraph==1.0.10",
# langgraph-prebuilt 1.0.9 imports ExecutionInfo/ServerInfo from
# langgraph.runtime, which is not exported until langgraph 1.1.0.
# Pin to 1.0.8 so it pairs correctly with langgraph==1.0.10.
"langgraph-prebuilt==1.0.8; python_version >= '3.10'",
"claude-agent-sdk==0.1.44; python_version >= '3.10'",
"langgraph-prebuilt==1.0.8",
"claude-agent-sdk==0.1.44",
]
healthcheck = [
"httpx==0.28.1",

2766
uv.lock generated

File diff suppressed because it is too large Load Diff