From 0d637b1a766696f2f31488b3ab20522ae21fabb3 Mon Sep 17 00:00:00 2001 From: Yuneng Jiang Date: Wed, 1 Apr 2026 10:06:18 -0700 Subject: [PATCH] [Fix] Align requirements.txt versions with pyproject.toml after merge After merging main, pyproject.toml had updated dependency versions but requirements.txt still had the old pins. The Dockerfile builds litellm from source (using pyproject.toml) then installs deps from requirements.txt, so version mismatches cause pip resolution failures. Updated 21 packages to match: openai, fastuuid, tiktoken, importlib-metadata, tokenizers, click, jsonschema, fastapi, pyyaml, uvicorn, boto3, mcp, orjson, polars, apscheduler, fastapi-sso, pyjwt, python-multipart, azure-identity, rich, aiohttp. Co-Authored-By: Claude Opus 4.6 (1M context) --- requirements.txt | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/requirements.txt b/requirements.txt index 27112f031fb..7629b144b00 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,16 +10,16 @@ cryptography==46.0.5 #GHSA-r6ph-v2qm-q3c2 anyio==4.8.0 # openai + http req. httpx==0.28.1 -openai==2.24.0 # openai req. -fastapi==0.120.1 # server dep +openai==2.30.0 # openai req. +fastapi==0.124.4 # server dep starlette==0.49.1 # starlette fastapi dep backoff==2.2.1 # server dep -pyyaml==6.0.2 # server dep -uvicorn==0.31.1 # server dep +pyyaml==6.0.3 # server dep +uvicorn==0.33.0 # server dep gunicorn==23.0.0 # server dep -fastuuid==0.13.5 # for uuid4 +fastuuid==0.14.0 # for uuid4 uvloop==0.21.0 # uvicorn dep, gives us much better performance under load -boto3==1.40.53 # aws bedrock/sagemaker calls (has bedrock-agentcore-control, compatible with aioboto3) +boto3==1.42.80 # aws bedrock/sagemaker calls (has bedrock-agentcore-control, compatible with aioboto3) redis==5.2.1 # redis caching redisvl==0.4.1 ## redis semantic caching prisma==0.11.0 # for db @@ -30,21 +30,21 @@ google-cloud-aiplatform==1.133.0 # for vertex ai calls google-cloud-iam==2.19.1 # for GCP IAM Redis authentication google-genai==1.37.0 anthropic[vertex]==0.54.0 -mcp==1.25.0 ; python_version >= "3.10" # for MCP server +mcp==1.26.0 ; python_version >= "3.10" # for MCP server # google-generativeai removed - deprecated, replaced by google-genai (line 21) async_generator==1.10.0 # for async ollama calls langfuse==2.59.7 # for langfuse self-hosted logging prometheus_client==0.20.0 # for /metrics endpoint on proxy ddtrace==2.19.0 # for advanced DD tracing / profiling -orjson==3.11.7 # fast /embedding responses -polars==1.31.0 # for data processing -apscheduler==3.10.4 # for resetting budget in background -fastapi-sso==0.19.0 # admin UI, SSO -pyjwt[crypto]==2.12.0 ; python_version >= "3.9" -python-multipart==0.0.22 # admin UI +orjson==3.10.15 # fast /embedding responses +polars==1.39.3 # for data processing +apscheduler==3.11.2 # for resetting budget in background +fastapi-sso==0.16.0 # admin UI, SSO +pyjwt[crypto]==2.12.1 ; python_version >= "3.9" +python-multipart==0.0.20 # admin UI jaraco.context==6.1.2 azure-ai-contentsafety==1.0.0 # for azure content safety -azure-identity==1.16.1 ; python_version >= "3.9" # for azure content safety +azure-identity==1.25.3 ; python_version >= "3.9" # for azure content safety azure-keyvault==4.2.0 # for azure KMS integration azure-storage-file-datalake==12.20.0 # for azure buck storage logging opentelemetry-api==1.28.0 @@ -61,17 +61,17 @@ litellm-proxy-extras==0.4.62 # for proxy extras - e.g. prisma migrations llm-sandbox==0.3.31 # for skill execution in sandbox ### LITELLM PACKAGE DEPENDENCIES python-dotenv==1.0.1 # for env -tiktoken==0.8.0 # for calculating usage -importlib-metadata==6.8.0 # for random utils -tokenizers==0.20.2 # for calculating usage -click==8.1.7 # for proxy cli -rich==13.7.1 # for litellm proxy cli +tiktoken==0.12.0 # for calculating usage +importlib-metadata==8.5.0 # for random utils +tokenizers==0.22.2 # for calculating usage +click==8.1.8 # for proxy cli +rich==13.9.4 # for litellm proxy cli jinja2==3.1.6 # for prompt templates aioboto3==15.5.0 # for async sagemaker calls -aiohttp==3.13.3 # for network calls +aiohttp==3.13.5 # for network calls tenacity==8.5.0 # for retrying requests, when litellm.num_retries set pydantic==2.12.5 # proxy + openai req. + mcp -jsonschema==4.26.0 # validating json schema - aligned with openapi-core + mcp +jsonschema==4.23.0 # validating json schema - aligned with openapi-core + mcp websockets==15.0.1 # for realtime API soundfile==0.12.1 # for audio file processing openapi-core==0.21.0 # for OpenAPI compliance tests