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] CI/CD - security_tests (#18305)
Alexsander Hamir4b652e19d858
diff --git a/.circleci/config.yml b/.circleci/config.ymlindex b96ca313871..0afacc1d6d7 100644--- a/.circleci/config.yml+++ b/.circleci/config.yml@@ -614,6 +614,12 @@ jobs:- run:name: Install Dependenciescommand: |+ export PATH="$HOME/miniconda/bin:$PATH"+ source $HOME/miniconda/etc/profile.d/conda.sh+ conda activate myenv+ python --version+ which python+ pip install --upgrade typing-extensions>=4.12.0pip install "pytest==7.3.1"pip install "pytest-asyncio==0.21.1"pip install aiohttp@@ -677,6 +683,9 @@ jobs:- run:name: Run prisma ./docker/entrypoint.shcommand: |+ export PATH="$HOME/miniconda/bin:$PATH"+ source $HOME/miniconda/etc/profile.d/conda.sh+ conda activate myenvset +echmod +x docker/entrypoint.sh./docker/entrypoint.sh@@ -685,6 +694,9 @@ jobs:- run:name: Run testscommand: |+ export PATH="$HOME/miniconda/bin:$PATH"+ source $HOME/miniconda/etc/profile.d/conda.sh+ conda activate myenvpwdlspython -m pytest tests/proxy_security_tests --cov=litellm --cov-report=xml -vv -x -v --junitxml=test-results/junit.xml --durations=5diff --git a/docker/Dockerfile.non_root b/docker/Dockerfile.non_rootindex d8a362680e4..7e9147a124e 100644--- a/docker/Dockerfile.non_root+++ b/docker/Dockerfile.non_root@@ -79,7 +79,7 @@ ENV PRISMA_BINARY_CACHE_DIR=/app/.cache/prisma-python/binaries \XDG_CACHE_HOME=/app/.cache \PATH="/usr/lib/python3.13/site-packages/nodejs/bin:${PATH}"-RUN pip install --no-cache-dir prisma==0.11.0 nodejs-bin==18.4.0a4 \+RUN pip install --no-cache-dir prisma==0.11.0 nodejs-wheel-binaries==24.12.0 \&& mkdir -p /app/.cache/npmRUN NPM_CONFIG_CACHE=/app/.cache/npm \diff --git a/requirements.txt b/requirements.txtindex 972414a7eba..3bc968c8cb8 100644--- a/requirements.txt+++ b/requirements.txt@@ -13,14 +13,14 @@ uvloop==0.21.0 # uvicorn dep, gives us much better performance under loadboto3==1.36.0 # aws bedrock/sagemaker callsredis==5.2.1 # redis cachingprisma==0.11.0 # for db-nodejs-bin==18.4.0a4 ## required by prisma for migrations, prevents runtime download+nodejs-wheel-binaries==24.12.0 ## required by prisma for migrations, prevents runtime download (updated from nodejs-bin for security fixes)mangum==0.17.0 # for aws lambda functionspynacl==1.5.0 # for encrypting keysgoogle-cloud-aiplatform==1.47.0 # for vertex ai callsgoogle-cloud-iam==2.19.1 # for GCP IAM Redis authenticationgoogle-genai==1.22.0anthropic[vertex]==0.54.0-mcp==1.21.2 ; python_version >= "3.10" # for MCP server+mcp==1.23.0 ; python_version >= "3.10" # for MCP servergoogle-generativeai==0.5.0 # for vertex ai callsasync_generator==1.10.0 # for async ollama callslangfuse==2.59.7 # for langfuse self-hosted logging@@ -29,7 +29,7 @@ ddtrace==2.19.0 # for advanced DD tracing / profilingorjson==3.11.2 # fast /embedding responsespolars==1.31.0 # for data processingapscheduler==3.10.4 # for resetting budget in background-fastapi-sso==0.16.0 # admin UI, SSO+fastapi-sso==0.19.0 # admin UI, SSOpyjwt[crypto]==2.10.1 ; python_version >= "3.9"python-multipart==0.0.18 # admin UIPillow==11.0.0