From 78182a9418c362b864ded74e48a448673e5a77a3 Mon Sep 17 00:00:00 2001 From: user <70670632+stuxf@users.noreply.github.com> Date: Fri, 3 Apr 2026 03:48:48 +0000 Subject: [PATCH] fix: restore proxy runtime build parity --- .../build_from_pip/Dockerfile.build_from_pip | 22 ++++++++++++++++--- pyproject.toml | 12 +++++++++- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/docker/build_from_pip/Dockerfile.build_from_pip b/docker/build_from_pip/Dockerfile.build_from_pip index 819ef492f3a..bda742c71a9 100644 --- a/docker/build_from_pip/Dockerfile.build_from_pip +++ b/docker/build_from_pip/Dockerfile.build_from_pip @@ -22,14 +22,30 @@ COPY schema.prisma . # This image is specifically for validating/installing the published PyPI # artifact, not the checked-out source tree. +# Keep the moved proxy-runtime packages explicit until the published PyPI +# artifact includes that extra; newer releases will simply dedupe these. RUN uv venv --python python && \ uv pip install --python /app/.venv/bin/python \ - "litellm[proxy]==${LITELLM_VERSION}" \ + "litellm[proxy,proxy-runtime]==${LITELLM_VERSION}" \ + "google-cloud-aiplatform==1.133.0" \ + "google-genai==1.37.0" \ + "anthropic[vertex]==0.84.0" \ + "grpcio==1.78.0" \ "prometheus-client==0.20.0" \ "langfuse==2.59.7" \ + "opentelemetry-api==1.28.0" \ + "opentelemetry-sdk==1.28.0" \ + "opentelemetry-exporter-otlp==1.28.0" \ + "ddtrace==2.19.0" \ + "sentry-sdk==2.21.0" \ + "mangum==0.17.0" \ + "azure-ai-contentsafety==1.0.0" \ + "azure-storage-file-datalake==12.20.0" \ + "pypdf==6.7.5" \ + "llm-sandbox==0.3.31" \ + "detect-secrets==1.5.0" \ "prisma==0.11.0" \ - "openai==2.24.0" \ - "ddtrace==2.19.0" + "openai==2.24.0" RUN prisma generate --schema=./schema.prisma diff --git a/pyproject.toml b/pyproject.toml index 65e10e71089..f24fcca9f51 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -222,7 +222,17 @@ members = ["enterprise", "litellm-proxy-extras"] [tool.uv.build-backend] module-root = "" -source-exclude = ["litellm/proxy/enterprise"] +source-exclude = [ + "litellm/proxy/enterprise", + "**/__pycache__", + "**/__pycache__/**", + "**/.mypy_cache", + "**/.mypy_cache/**", + "**/.pytest_cache", + "**/.pytest_cache/**", + "**/.ruff_cache", + "**/.ruff_cache/**", +] [tool.isort] profile = "black"