The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
[Fix] Remove unused aioboto3 dependency and botocore conflict workarounds
Yuneng Jiang85f72c9d2457
diff --git a/.circleci/config.yml b/.circleci/config.ymlindex 739da356a7d..5bbabad9107 100644--- a/.circleci/config.yml+++ b/.circleci/config.yml@@ -34,8 +34,7 @@ commands:command: |python -m pip install --upgrade pip uv# Use uv for the heavy requirements.txt (10-100x faster than pip)- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txt# Use pip for test deps (small set, avoids uv strict-resolution# conflicts with transitive dep pins like openai<2 and pydantic>=2.11.5)pip install "pytest-mock==3.12.0" "pytest==7.3.1" "pytest-retry==1.6.3" \@@ -96,8 +95,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip uninstall fastuuid -ypip install "mypy==1.18.2"- run:@@ -162,7 +160,6 @@ jobs:python-multipart prometheus-client==0.20.0 "pydantic==2.12.5" \"diskcache==5.6.1" "Pillow==12.1.1" "jsonschema==4.23.0" \"pytest-xdist==3.6.1" "pytest-timeout==2.2.0" "websockets==15.0.1"- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"pip install semantic_router --no-depspip install aurelio_sdk --no-depspip uninstall posthog -y@@ -258,7 +255,6 @@ jobs:python-multipart prometheus-client==0.20.0 "pydantic==2.12.5" \"diskcache==5.6.1" "Pillow==12.1.1" "jsonschema==4.23.0" \"pytest-xdist==3.6.1" "pytest-timeout==2.2.0" "websockets==15.0.1"- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"pip install semantic_router --no-depspip install aurelio_sdk --no-depspip uninstall posthog -y@@ -353,7 +349,6 @@ jobs:pip install "google-cloud-aiplatform==1.133.0"pip install pyarrowpip install "boto3==1.42.80"- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"pip install langchainpip install lunary==0.2.5pip install "azure-identity==1.25.3"@@ -425,8 +420,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1"pip install "pytest-retry==1.6.3"pip install "pytest-asyncio==0.21.1"@@ -474,8 +468,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1"pip install "respx==0.22.0"pip install "pytest-retry==1.6.3"@@ -532,8 +525,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1"pip install "respx==0.22.0"pip install "pytest-retry==1.6.3"@@ -575,8 +567,7 @@ jobs:command: |python -m pip install --upgrade pip uvpip install wheel setuptools- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1"pip install "respx==0.22.0"pip install "pytest-retry==1.6.3"@@ -612,8 +603,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1"pip install "pytest-retry==1.6.3"pip install "pytest-asyncio==0.21.1"@@ -662,8 +652,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1" "pytest-retry==1.6.3" "pytest-cov==5.0.0" "pytest-asyncio==0.21.1" "respx==0.22.0" "pytest-xdist==3.6.1" "pytest-timeout==2.2.0" "websockets"# Run pytest and generate JUnit XML report- run:@@ -704,8 +693,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1"pip install "pytest-retry==1.6.3"pip install "pytest-cov==5.0.0"@@ -751,8 +739,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1"pip install "pytest-retry==1.6.3"pip install "pytest-cov==5.0.0"@@ -797,8 +784,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1"pip install "pytest-retry==1.6.3"pip install "pytest-cov==5.0.0"@@ -848,8 +834,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1"pip install "pytest-retry==1.6.3"pip install "pytest-cov==5.0.0"@@ -898,8 +883,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1"pip install "pytest-retry==1.6.3"pip install "pytest-asyncio==0.21.1"@@ -937,8 +921,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1" "pytest-retry==1.6.3" "pytest-cov==5.0.0" "pytest-asyncio==0.21.1" "respx==0.22.0" "pytest-xdist==3.6.1"# Run pytest and generate JUnit XML report- run:@@ -977,8 +960,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1" "pytest-retry==1.6.3" "pytest-cov==5.0.0" "pytest-asyncio==0.21.1" "respx==0.22.0" "pytest-xdist==3.6.1"# Run pytest and generate JUnit XML report- run:@@ -1057,8 +1039,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest-mock==3.12.0"pip install "pytest==7.3.1"pip install "pytest-retry==1.6.3"@@ -1101,8 +1082,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "respx==0.22.0"pip install "pytest==7.3.1"pip install "pytest-retry==1.6.3"@@ -1148,8 +1128,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install numpydocpip install "respx==0.22.0"pip install "pytest==7.3.1"@@ -1198,8 +1177,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1" "pytest-retry==1.6.3" "pytest-cov==5.0.0" "pytest-asyncio==0.21.1" "respx==0.22.0" "pytest-xdist==3.6.1"# Run pytest and generate JUnit XML report- run:@@ -1239,8 +1217,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1"pip install "pytest-retry==1.6.3"pip install "pytest-cov==5.0.0"@@ -1273,8 +1250,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1"pip install "pytest-retry==1.6.3"pip install "pytest-cov==5.0.0"@@ -1326,8 +1302,7 @@ jobs:name: Install Dependenciescommand: |python -m pip install --upgrade pip uv- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1"pip install "pytest-retry==1.6.3"pip install "pytest-cov==5.0.0"@@ -1407,8 +1382,7 @@ jobs:command: |python -m pip install --upgrade pip uvpip install wheel setuptools- grep -v '^aioboto3' requirements.txt | uv pip install --system -r -- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ uv pip install --system -r requirements.txtpip install "pytest==7.3.1"pip install "pytest-retry==1.6.3"pip install "pytest-asyncio==0.21.1"@@ -1707,7 +1681,6 @@ jobs:pip install "google-cloud-aiplatform==1.133.0"pip install pyarrowpip install "boto3==1.42.80"- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"pip install langchainpip install "langfuse>=2.0.0"pip install "logfire==0.29.0"@@ -1851,7 +1824,6 @@ jobs:pip install "google-cloud-aiplatform==1.133.0"pip install pyarrowpip install "boto3==1.42.80"- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"pip install langchainpip install "langchain_mcp_adapters==0.0.5"pip install "langfuse>=2.0.0"@@ -1997,7 +1969,6 @@ jobs:pip install "google-cloud-aiplatform==1.133.0"pip install pyarrowpip install "boto3==1.42.80"- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"pip install langchainpip install "langfuse>=2.0.0"pip install "logfire==0.29.0"@@ -2171,8 +2142,7 @@ jobs:pip install "pytest-asyncio==0.21.1"pip install aiohttppython -m pip install --upgrade pip- grep -v '^aioboto3' requirements.txt | python -m pip install -r /dev/stdin- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ python -m pip install -r requirements.txt- run:name: Install dockerizecommand: |@@ -2284,8 +2254,7 @@ jobs:pip install "pytest-asyncio==0.21.1"pip install aiohttppython -m pip install --upgrade pip- grep -v '^aioboto3' requirements.txt | python -m pip install -r /dev/stdin- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ python -m pip install -r requirements.txtpip install "pytest==7.3.1"pip install "pytest-retry==1.6.3"pip install "pytest-mock==3.12.0"@@ -2423,8 +2392,7 @@ jobs:pip install "pytest-asyncio==0.21.1"pip install aiohttppython -m pip install --upgrade pip- grep -v '^aioboto3' requirements.txt | python -m pip install -r /dev/stdin- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ python -m pip install -r requirements.txtpip install "pytest==7.3.1"pip install "pytest-retry==1.6.3"pip install "pytest-mock==3.12.0"@@ -2665,8 +2633,7 @@ jobs:pip install "langchain_openai==0.2.1"pip install "langgraph==0.3.18"pip install "fastuuid==0.13.5"- grep -v '^aioboto3' requirements.txt | pip install -r /dev/stdin- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ pip install -r requirements.txt- run:name: Install dockerizecommand: |@@ -2831,8 +2798,7 @@ jobs:pip install "boto3==1.42.80"pip install "httpx==0.27.0"pip install "claude-agent-sdk"- grep -v '^aioboto3' requirements.txt | pip install -r /dev/stdin- pip install --no-deps "aioboto3==15.5.0" "aiobotocore==2.25.1"+ pip install -r requirements.txt- run:name: Install dockerizecommand: |diff --git a/Dockerfile b/Dockerfileindex e6b3334a122..f4cb501ad8b 100644--- a/Dockerfile+++ b/Dockerfile@@ -34,10 +34,7 @@ RUN ls -1 dist/*.whl | head -1RUN pip install dist/*.whl# install dependencies as wheels-# aioboto3/aiobotocore have an unresolvable botocore conflict with boto3 1.42.x-# Install them separately with --no-deps to bypass resolution-RUN grep -v '^aioboto3' requirements.txt | pip wheel --no-cache-dir --wheel-dir=/wheels/ -r /dev/stdin \- && pip wheel --no-cache-dir --no-deps --wheel-dir=/wheels/ "aioboto3==15.5.0" "aiobotocore==2.25.1"+RUN pip wheel --no-cache-dir --wheel-dir=/wheels/ -r requirements.txt# ensure pyjwt is used, not jwtRUN pip uninstall jwt -y@@ -93,8 +90,6 @@ COPY --from=builder /app/dist/*.whl .COPY --from=builder /wheels/ /wheels/# Install the built wheel using pip; again using a wildcard if it's the only file-# --no-deps: all wheels are pre-built in /wheels/, skip resolution to avoid-# the boto3/aiobotocore botocore version conflict (no compatible aioboto3 exists yet)RUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ --no-deps && rm -f *.whl && rm -rf /wheels# Replace the nodejs-wheel-binaries bundled node with the system node (fixes CVE-2025-55130)diff --git a/docker/Dockerfile.alpine b/docker/Dockerfile.alpineindex 256530a09fe..bbc1ef4562b 100644--- a/docker/Dockerfile.alpine+++ b/docker/Dockerfile.alpine@@ -29,10 +29,7 @@ RUN ls -1 dist/*.whl | head -1RUN pip install dist/*.whl# install dependencies as wheels-# aioboto3/aiobotocore have an unresolvable botocore conflict with boto3 1.42.x-# Install them separately with --no-deps to bypass resolution-RUN grep -v '^aioboto3' requirements.txt | pip wheel --no-cache-dir --wheel-dir=/wheels/ -r /dev/stdin \- && pip wheel --no-cache-dir --no-deps --wheel-dir=/wheels/ "aioboto3==15.5.0" "aiobotocore==2.25.1"+RUN pip wheel --no-cache-dir --wheel-dir=/wheels/ -r requirements.txt# Runtime stageFROM $LITELLM_RUNTIME_IMAGE AS runtime@@ -47,8 +44,6 @@ COPY --from=builder /app/dist/*.whl .COPY --from=builder /wheels/ /wheels/# Install the built wheel using pip; again using a wildcard if it's the only file-# --no-deps: all wheels are pre-built in /wheels/, skip resolution to avoid-# the boto3/aiobotocore botocore version conflict (no compatible aioboto3 exists yet)RUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ --no-deps && rm -f *.whl && rm -rf /wheels# Convert Windows line endings to Unix for entrypoint scriptsdiff --git a/docker/Dockerfile.database b/docker/Dockerfile.databaseindex 1ac9ea61c74..36dd5a78741 100644--- a/docker/Dockerfile.database+++ b/docker/Dockerfile.database@@ -40,10 +40,7 @@ RUN ls -1 dist/*.whl | head -1RUN pip install dist/*.whl# install dependencies as wheels-# aioboto3/aiobotocore have an unresolvable botocore conflict with boto3 1.42.x-# Install them separately with --no-deps to bypass resolution-RUN grep -v '^aioboto3' requirements.txt | pip wheel --no-cache-dir --wheel-dir=/wheels/ -r /dev/stdin \- && pip wheel --no-cache-dir --no-deps --wheel-dir=/wheels/ "aioboto3==15.5.0" "aiobotocore==2.25.1"+RUN pip wheel --no-cache-dir --wheel-dir=/wheels/ -r requirements.txt# Runtime stageFROM $LITELLM_RUNTIME_IMAGE AS runtime@@ -85,8 +82,6 @@ COPY --from=builder /app/dist/*.whl .COPY --from=builder /wheels/ /wheels/# Install the built wheel using pip; again using a wildcard if it's the only file-# --no-deps: all wheels are pre-built in /wheels/, skip resolution to avoid-# the boto3/aiobotocore botocore version conflict (no compatible aioboto3 exists yet)RUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ --no-deps && rm -f *.whl && rm -rf /wheels# SECURITY FIX: nodejs-wheel-binaries (pip package used by Prisma) bundles a completediff --git a/docker/Dockerfile.dev b/docker/Dockerfile.devindex 846de3d9623..e0ecff31ca4 100644--- a/docker/Dockerfile.dev+++ b/docker/Dockerfile.dev@@ -25,11 +25,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \COPY requirements.txt .# Install Python dependencies with cache mount for faster rebuilds-# aioboto3/aiobotocore have an unresolvable botocore conflict with boto3 1.42.x-# Install them separately with --no-deps to bypass resolutionRUN --mount=type=cache,target=/root/.cache/pip \- grep -v '^aioboto3' requirements.txt | pip wheel --no-cache-dir --wheel-dir=/wheels/ -r /dev/stdin \- && pip wheel --no-cache-dir --no-deps --wheel-dir=/wheels/ "aioboto3==15.5.0" "aiobotocore==2.25.1"+ pip wheel --no-cache-dir --wheel-dir=/wheels/ -r requirements.txt# Fix JWT dependency conflicts earlyRUN pip uninstall jwt -y || true && \@@ -112,8 +109,6 @@ COPY --from=builder /wheels/ /wheels/COPY --from=builder /app/dist/*.whl .# Install all dependencies in one step with no-cache for smaller image-# --no-deps: all wheels are pre-built in /wheels/, skip resolution to avoid-# the boto3/aiobotocore botocore version conflict (no compatible aioboto3 exists yet)RUN pip install --no-cache-dir *.whl /wheels/* --no-index --find-links=/wheels/ --no-deps && \rm -f *.whl && \rm -rf /wheelsdiff --git a/docker/Dockerfile.non_root b/docker/Dockerfile.non_rootindex 2c704e09690..1cf6c0dfd15 100644--- a/docker/Dockerfile.non_root+++ b/docker/Dockerfile.non_root@@ -31,10 +31,7 @@ RUN for i in 1 2 3; do \# Cache Python dependenciesCOPY requirements.txt .-# aioboto3/aiobotocore have an unresolvable botocore conflict with boto3 1.42.x-# Install them separately with --no-deps to bypass resolution-RUN grep -v '^aioboto3' requirements.txt | pip wheel --no-cache-dir --wheel-dir=/wheels/ -r /dev/stdin \- && pip wheel --no-cache-dir --no-deps --wheel-dir=/wheels/ "aioboto3==15.5.0" "aiobotocore==2.25.1" \+RUN pip wheel --no-cache-dir --wheel-dir=/wheels/ -r requirements.txt \&& pip wheel --no-cache-dir --wheel-dir=/wheels/ "semantic_router==0.1.11" "aurelio-sdk==0.0.19" "PyJWT==2.12.0"# Copy source after dependency layers@@ -44,8 +41,8 @@ COPY . .ENV LITELLM_NON_ROOT=true# Build Admin UI using the upstream command order while keeping a single RUN layer-# NOTE: --userconfig /dev/null bypasses .npmrc (which has ignore-scripts=true and-# min-release-age=3d) for this step only. This is safe because npm ci installs from+# NOTE: .npmrc (which has ignore-scripts=true and min-release-age=3d) is temporarily+# renamed during npm install/ci. This is safe because npm ci installs from# package-lock.json with pinned versions + integrity hashes.RUN mkdir -p /var/lib/litellm/ui && \mv /app/.npmrc /app/.npmrc.bak && \@@ -165,8 +162,7 @@ ENV PRISMA_BINARY_CACHE_DIR=/app/.cache/prisma-python/binaries \XDG_CACHE_HOME=/app/.cache# Install packages from wheels and optional extras without network-RUN grep -v '^aioboto3' requirements.txt | pip install --no-index --find-links=/wheels/ -r /dev/stdin && \- pip install --no-index --no-deps --find-links=/wheels/ "aioboto3==15.5.0" "aiobotocore==2.25.1" && \+RUN pip install --no-index --find-links=/wheels/ -r requirements.txt && \pip install --no-index --find-links=/wheels/ /wheels/litellm-*-py3-none-any.whl && \pip install --no-index --find-links=/wheels/ --no-deps semantic_router==0.1.11 && \pip install --no-index --find-links=/wheels/ aurelio-sdk==0.0.19 && \diff --git a/pyproject.toml b/pyproject.tomlindex bba7cb4aa7c..dab869b3434 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -48,7 +48,7 @@ apscheduler = {version = "3.11.2", optional = true}fastapi-sso = { version = "0.16.0", optional = true }PyJWT = { version = "2.12.1", optional = true, python = ">=3.9" }python-multipart = { version = "0.0.20", optional = true}-cryptography = {version = "43.0.3", optional = true} # Docker uses 46.0.5; pyproject uses 43.0.3 for Poetry Python 3.9.0/3.9.1 compat+cryptography = {version = "46.0.5", optional = true} # GHSA-r6ph-v2qm-q3c2prisma = {version = "0.11.0", optional = true}azure-identity = {version = "1.25.3", optional = true, python = ">=3.9"}azure-keyvault-secrets = {version = "4.10.0", optional = true}@@ -73,10 +73,7 @@ mlflow = {version = "3.9.0", optional = true, python = ">=3.10"} # not in PyPI psoundfile = {version = "0.12.1", optional = true}pyroscope-io = {version = "0.8.16", optional = true, markers = "sys_platform != 'win32'"}# grpcio: pinned to 1.80.0 (past reconnect bug #38290 in 1.68.x, has Python 3.14 wheels)-grpcio = [- {version = "1.80.0", python = "<3.14", optional = true},- {version = "1.80.0", python = ">=3.14", optional = true},-]+grpcio = {version = "1.80.0", optional = true}[tool.poetry.extras]proxy = [diff --git a/requirements.txt b/requirements.txtindex abac8966129..ab8d6bcd918 100644--- a/requirements.txt+++ b/requirements.txt@@ -19,7 +19,7 @@ uvicorn==0.33.0 # server depgunicorn==23.0.0 # server depfastuuid==0.14.0 # for uuid4uvloop==0.21.0 # uvicorn dep, gives us much better performance under load-boto3==1.42.80 # aws bedrock/sagemaker calls (has bedrock-agentcore-control, compatible with aioboto3)+boto3==1.42.80 # aws bedrock/sagemaker callsredis==5.2.1 # redis cachingredisvl==0.4.1 ## redis semantic cachingprisma==0.11.0 # for db@@ -52,8 +52,7 @@ opentelemetry-sdk==1.28.0opentelemetry-exporter-otlp==1.28.0a2a-sdk==0.3.25 ; python_version >= "3.10"# grpcio: pinned to 1.80.0 (past reconnect bug #38290 in 1.68.x, has Python 3.14 wheels)-grpcio==1.80.0; python_version < "3.14"-grpcio==1.80.0; python_version >= "3.14"+grpcio==1.80.0sentry_sdk==2.21.0 # for sentry error handlingdetect-secrets==1.5.0 # Enterprise - secret detection / masking in LLM requeststzdata==2025.1 # IANA time zone database@@ -67,7 +66,6 @@ tokenizers==0.22.2 # for calculating usageclick==8.1.8 # for proxy clirich==13.9.4 # for litellm proxy clijinja2==3.1.6 # for prompt templates-aioboto3==15.5.0 # for async sagemaker callsaiohttp==3.13.5 # for network callstenacity==8.5.0 # for retrying requests, when litellm.num_retries setpydantic==2.12.5 # proxy + openai req. + mcp@@ -79,12 +77,10 @@ pypdf==6.9.2 # for PDF text extraction in RAG ingestion (CVE-2026-27888)# Transitive deps pinned to prevent floating between buildsaiofiles==24.1.0 # transitive dep (langfuse)-aioitertools==0.12.0 # transitive dep (aiobotocore)colorlog==6.10.1 # transitive dep (ddtrace)grpc-google-iam-v1==0.14.3 # transitive dep (google-cloud-iam)hf-xet==1.4.2 # transitive dep (huggingface_hub)requests-toolbelt==1.0.0 # transitive dep (langfuse)-wrapt==1.17.2 # transitive dep (aiobotocore)######################### LITELLM ENTERPRISE DEPENDENCIESdiff --git a/tests/code_coverage_tests/liccheck.ini b/tests/code_coverage_tests/liccheck.iniindex f371db6a29c..7657219f034 100644--- a/tests/code_coverage_tests/liccheck.ini+++ b/tests/code_coverage_tests/liccheck.ini@@ -131,7 +131,6 @@ tiktoken: >=0.8.0 # Unknown licenseclick: >=8.1.7 # Unknown licenserich: >=13.7.1 # Unknown licenseaiohttp: >=3.10.2 # Unknown license-aioboto3: >=12.3.0 # Unknown licensetenacity: >=8.2.3 # Unknown licensepydantic: >=2.10.2 # Unknown licensejsonschema: >=4.22.0 # Unknown license@@ -146,5 +145,3 @@ grpcio: >=1.69.0 # Apache License 2.0jaraco.context: >=6.1.0 # Unknown licensepypdf: >=6.6.2 # BSD-3-Clause license - https://github.com/py-pdf/pypdf/blob/main/LICENSEhf-xet: >=1.4.2 # Apache 2.0 License - https://github.com/huggingface/xet-tools/blob/main/LICENSE-aioitertools: >=0.12.0 # MIT License - https://github.com/omnilib/aioitertools/blob/main/LICENSE-wrapt: >=1.17.0 # BSD License - https://github.com/GrahamDumpleton/wrapt/blob/develop/LICENSE