Skip to content

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]

chore: drop stale python_version markers after floor raise

Yuneng Jiangd1e665742bd1
diff --git a/pyproject.toml b/pyproject.toml
index 280b3fb292c..14f97c00129 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -43,34 +43,34 @@ proxy = [
"orjson==3.11.5",
"apscheduler==3.11.2",
"fastapi-sso==0.19.0",
- "PyJWT==2.11.0; python_version >= '3.9'",
+ "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,19 +166,14 @@ 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'",
- "lunary==1.4.36; python_version == '3.10'",
- "lunary==1.4.37; python_version >= '3.11'",
+ "pyarrow==22.0.0",
+ "langchain==1.2.10",
+ "lunary==1.4.37",
"logfire==4.6.0",
"traceloop-sdk==0.33.12",
"detect-secrets==1.5.0",
@@ -192,17 +185,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",
diff --git a/uv.lock b/uv.lock
index f67d162b575..4329afaf8b4 100644
--- a/uv.lock
+++ b/uv.lock
@@ -8,7 +8,7 @@ resolution-markers = [
]
[options]
-exclude-newer = "2026-04-15T18:24:59.684851Z"
+exclude-newer = "2026-04-15T19:25:09.923926Z"
exclude-newer-span = "P3D"
[manifest]
@@ -2894,14 +2894,14 @@ proxy-dev = [
[package.metadata]
requires-dist = [
- { name = "a2a-sdk", marker = "python_full_version >= '3.10' and extra == 'extra-proxy'", specifier = "==0.3.24" },
+ { name = "a2a-sdk", marker = "extra == 'extra-proxy'", specifier = "==0.3.24" },
{ name = "aiohttp", specifier = "==3.13.3" },
{ name = "anthropic", extras = ["vertex"], marker = "extra == 'proxy-runtime'", specifier = "==0.84.0" },
{ name = "apscheduler", marker = "extra == 'proxy'", specifier = "==3.11.2" },
- { name = "aurelio-sdk", marker = "python_full_version >= '3.9' and python_full_version < '3.14' and extra == 'semantic-router'", specifier = "==0.0.19" },
+ { name = "aurelio-sdk", marker = "python_full_version < '3.14' and extra == 'semantic-router'", specifier = "==0.0.19" },
{ name = "azure-ai-contentsafety", marker = "extra == 'proxy-runtime'", specifier = "==1.0.0" },
- { name = "azure-identity", marker = "python_full_version >= '3.9' and extra == 'extra-proxy'", specifier = "==1.25.2" },
- { name = "azure-identity", marker = "python_full_version >= '3.9' and extra == 'proxy'", specifier = "==1.25.2" },
+ { name = "azure-identity", marker = "extra == 'extra-proxy'", specifier = "==1.25.2" },
+ { name = "azure-identity", marker = "extra == 'proxy'", specifier = "==1.25.2" },
{ name = "azure-keyvault-secrets", marker = "extra == 'extra-proxy'", specifier = "==4.10.0" },
{ name = "azure-storage-blob", marker = "extra == 'proxy'", specifier = "==12.28.0" },
{ name = "azure-storage-file-datalake", marker = "extra == 'proxy-runtime'", specifier = "==12.20.0" },
@@ -2930,33 +2930,33 @@ requires-dist = [
{ name = "langfuse", marker = "extra == 'proxy-runtime'", specifier = "==2.59.7" },
{ name = "litellm-enterprise", marker = "extra == 'proxy'", editable = "enterprise" },
{ name = "litellm-proxy-extras", marker = "extra == 'proxy'", editable = "litellm-proxy-extras" },
- { name = "llm-sandbox", marker = "python_full_version >= '3.10' and extra == 'proxy-runtime'", specifier = "==0.3.31" },
+ { name = "llm-sandbox", marker = "extra == 'proxy-runtime'", specifier = "==0.3.31" },
{ name = "mangum", marker = "extra == 'proxy-runtime'", specifier = "==0.17.0" },
- { name = "mcp", marker = "python_full_version >= '3.10' and extra == 'proxy'", specifier = "==1.26.0" },
- { name = "mlflow", marker = "python_full_version >= '3.10' and extra == 'mlflow'", specifier = "==3.9.0" },
+ { name = "mcp", marker = "extra == 'proxy'", specifier = "==1.26.0" },
+ { name = "mlflow", marker = "extra == 'mlflow'", specifier = "==3.9.0" },
{ name = "numpydoc", marker = "extra == 'utils'", specifier = "==1.8.0" },
{ name = "openai", specifier = "==2.24.0" },
{ name = "opentelemetry-api", marker = "extra == 'proxy-runtime'", specifier = "==1.28.0" },
{ name = "opentelemetry-exporter-otlp", marker = "extra == 'proxy-runtime'", specifier = "==1.28.0" },
{ name = "opentelemetry-sdk", marker = "extra == 'proxy-runtime'", specifier = "==1.28.0" },
{ name = "orjson", marker = "extra == 'proxy'", specifier = "==3.11.5" },
- { name = "polars", marker = "python_full_version >= '3.10' and extra == 'proxy'", specifier = "==1.38.1" },
+ { name = "polars", marker = "extra == 'proxy'", specifier = "==1.38.1" },
{ name = "prisma", marker = "extra == 'extra-proxy'", specifier = "==0.11.0" },
{ name = "prometheus-client", marker = "extra == 'proxy-runtime'", specifier = "==0.20.0" },
{ name = "pydantic", specifier = "==2.12.5" },
- { name = "pyjwt", marker = "python_full_version >= '3.9' and extra == 'proxy'", specifier = "==2.11.0" },
+ { name = "pyjwt", marker = "extra == 'proxy'", specifier = "==2.11.0" },
{ name = "pynacl", marker = "extra == 'proxy'", specifier = "==1.6.2" },
{ name = "pypdf", marker = "python_full_version < '3.14' and extra == 'proxy-runtime'", specifier = "==6.7.5" },
{ name = "pyroscope-io", marker = "sys_platform != 'win32' and extra == 'proxy'", specifier = "==0.8.16" },
{ name = "python-dotenv", specifier = "==1.0.1" },
{ name = "python-multipart", marker = "extra == 'proxy'", specifier = "==0.0.26" },
{ name = "pyyaml", marker = "extra == 'proxy'", specifier = "==6.0.3" },
- { name = "redisvl", marker = "python_full_version >= '3.9' and python_full_version < '3.14' and extra == 'extra-proxy'", specifier = "==0.4.1" },
+ { name = "redisvl", marker = "python_full_version < '3.14' and extra == 'extra-proxy'", specifier = "==0.4.1" },
{ name = "resend", marker = "extra == 'extra-proxy'", specifier = "==2.23.0" },
{ name = "restrictedpython", marker = "extra == 'proxy'", specifier = "==8.1" },
{ name = "rich", marker = "extra == 'proxy'", specifier = "==13.9.4" },
{ name = "rq", marker = "extra == 'proxy'", specifier = "==2.7.0" },
- { name = "semantic-router", marker = "python_full_version >= '3.9' and python_full_version < '3.14' and extra == 'semantic-router'", specifier = "==0.1.12" },
+ { name = "semantic-router", marker = "python_full_version < '3.14' and extra == 'semantic-router'", specifier = "==0.1.12" },
{ name = "sentry-sdk", marker = "extra == 'proxy-runtime'", specifier = "==2.21.0" },
{ name = "soundfile", marker = "extra == 'proxy'", specifier = "==0.12.1" },
{ name = "tiktoken", specifier = "==0.12.0" },
@@ -2975,28 +2975,22 @@ ci = [
{ name = "assemblyai", specifier = "==0.52.4" },
{ name = "beautifulsoup4", specifier = "==4.14.3" },
{ name = "blockbuster", specifier = "==1.5.26" },
- { name = "claude-agent-sdk", marker = "python_full_version >= '3.10'", specifier = "==0.1.44" },
+ { name = "claude-agent-sdk", specifier = "==0.1.44" },
{ name = "detect-secrets", specifier = "==1.5.0" },
{ name = "google-generativeai", specifier = "==0.8.6" },
{ name = "jsonlines", specifier = "==4.0.0" },
- { name = "langchain", marker = "python_full_version < '3.10'", specifier = "==0.3.27" },
- { name = "langchain", marker = "python_full_version >= '3.10'", specifier = "==1.2.10" },
- { name = "langchain-mcp-adapters", marker = "python_full_version >= '3.10'", specifier = "==0.2.1" },
- { name = "langchain-openai", marker = "python_full_version >= '3.10'", specifier = "==1.1.10" },
- { name = "langgraph", marker = "python_full_version >= '3.10'", specifier = "==1.0.10" },
- { name = "langgraph-prebuilt", marker = "python_full_version >= '3.10'", specifier = "==1.0.8" },
+ { name = "langchain", specifier = "==1.2.10" },
+ { name = "langchain-mcp-adapters", specifier = "==0.2.1" },
+ { name = "langchain-openai", specifier = "==1.1.10" },
+ { name = "langgraph", specifier = "==1.0.10" },
+ { name = "langgraph-prebuilt", specifier = "==1.0.8" },
{ name = "logfire", specifier = "==4.6.0" },
- { name = "lunary", marker = "python_full_version < '3.10'", specifier = "==1.0.36" },
- { name = "lunary", marker = "python_full_version == '3.10.*'", specifier = "==1.4.36" },
- { name = "lunary", marker = "python_full_version >= '3.11'", specifier = "==1.4.37" },
- { name = "pillow", marker = "python_full_version < '3.10'", specifier = "==11.3.0" },
- { name = "pillow", marker = "python_full_version >= '3.10'", specifier = "==12.1.1" },
+ { name = "lunary", specifier = "==1.4.37" },
+ { name = "pillow", specifier = "==12.1.1" },
{ name = "psycopg2-binary", specifier = "==2.9.11" },
- { name = "pyarrow", marker = "python_full_version < '3.10'", specifier = "==21.0.0" },
- { name = "pyarrow", marker = "python_full_version >= '3.10'", specifier = "==22.0.0" },
+ { name = "pyarrow", specifier = "==22.0.0" },
{ name = "pygithub", specifier = "==2.8.1" },
- { name = "pylint", marker = "python_full_version < '3.10'", specifier = "==3.3.9" },
- { name = "pylint", marker = "python_full_version >= '3.10'", specifier = "==4.0.5" },
+ { name = "pylint", specifier = "==4.0.5" },
{ name = "pyright", specifier = "==1.1.408" },
{ name = "pytest-codspeed", specifier = "==4.3.0" },
{ name = "pytest-retry", specifier = "==1.7.0" },
@@ -3016,10 +3010,8 @@ dev = [
{ name = "opentelemetry-exporter-otlp", specifier = "==1.28.0" },
{ name = "opentelemetry-sdk", specifier = "==1.28.0" },
{ name = "parameterized", specifier = "==0.9.0" },
- { name = "psycopg", marker = "python_full_version < '3.10'", specifier = "==3.2.13" },
- { name = "psycopg", marker = "python_full_version >= '3.10'", specifier = "==3.3.3" },
- { name = "psycopg-binary", marker = "python_full_version < '3.10'", specifier = "==3.2.13" },
- { name = "psycopg-binary", marker = "python_full_version >= '3.10'", specifier = "==3.3.3" },
+ { name = "psycopg", specifier = "==3.3.3" },
+ { name = "psycopg-binary", specifier = "==3.3.3" },
{ name = "pytest", specifier = "==8.3.5" },
{ name = "pytest-asyncio", specifier = "==1.2.0" },
{ name = "pytest-cov", specifier = "==5.0.0" },
@@ -3034,7 +3026,7 @@ dev = [
{ name = "ruff", specifier = "==0.15.3" },
{ name = "types-pyyaml", specifier = "==6.0.12.20250915" },
{ name = "types-redis", specifier = "==4.6.0.20241004" },
- { name = "types-requests", marker = "python_full_version >= '3.10'", specifier = "==2.32.4.20260107" },
+ { name = "types-requests", specifier = "==2.32.4.20260107" },
{ name = "types-setuptools", specifier = "==75.8.0.20250225" },
]
healthcheck = [
@@ -3042,8 +3034,8 @@ healthcheck = [
{ name = "pyyaml", specifier = "==6.0.3" },
]
proxy-dev = [
- { name = "a2a-sdk", marker = "python_full_version >= '3.10'", specifier = "==0.3.24" },
- { name = "azure-identity", marker = "python_full_version >= '3.9'", specifier = "==1.25.2" },
+ { name = "a2a-sdk", specifier = "==0.3.24" },
+ { name = "azure-identity", specifier = "==1.25.2" },
{ name = "hypercorn", specifier = "==0.17.3" },
{ name = "opentelemetry-api", specifier = "==1.28.0" },
{ name = "opentelemetry-exporter-otlp", specifier = "==1.28.0" },