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]

fix(ci): install enterprise package into main project venv, not enterprise's own venv

Julio Quinteros Pro24ead9b4e12b
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 09db37fb8c9..188b02c9f1c 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -21,9 +21,7 @@ commands:
- run:
name: "Install local version of litellm-enterprise"
command: |
- cd enterprise
- python -m pip install --force-reinstall --no-deps -e .
- cd ..
+ pip install --force-reinstall --no-deps -e enterprise/
setup_litellm_test_deps:
steps:
- checkout
diff --git a/.github/workflows/test-litellm-matrix.yml b/.github/workflows/test-litellm-matrix.yml
index 21e0f9d29f5..e57168dd551 100644
--- a/.github/workflows/test-litellm-matrix.yml
+++ b/.github/workflows/test-litellm-matrix.yml
@@ -100,7 +100,7 @@ jobs:
- name: Setup litellm-enterprise
run: |
- cd enterprise && poetry run pip install --force-reinstall --no-deps -e . && cd ..
+ poetry run pip install --force-reinstall --no-deps -e enterprise/
- name: Generate Prisma client
run: |
diff --git a/.github/workflows/test-litellm.yml b/.github/workflows/test-litellm.yml
index b3db62f0a9f..cf6928897be 100644
--- a/.github/workflows/test-litellm.yml
+++ b/.github/workflows/test-litellm.yml
@@ -42,9 +42,7 @@ jobs:
poetry run pip install "openapi-core"
- name: Setup litellm-enterprise as local package
run: |
- cd enterprise
- poetry run pip install --force-reinstall --no-deps -e .
- cd ..
+ poetry run pip install --force-reinstall --no-deps -e enterprise/
- name: Run tests
run: |
poetry run pytest tests/test_litellm --tb=short -vv --maxfail=10 -n 4 --durations=50
diff --git a/.github/workflows/test-mcp.yml b/.github/workflows/test-mcp.yml
index 1c1cc82cde6..2e32aae7680 100644
--- a/.github/workflows/test-mcp.yml
+++ b/.github/workflows/test-mcp.yml
@@ -40,9 +40,7 @@ jobs:
- name: Setup litellm-enterprise as local package
run: |
- cd enterprise
- python -m pip install --force-reinstall --no-deps -e .
- cd ..
+ poetry run pip install --force-reinstall --no-deps -e enterprise/
- name: Run MCP tests
run: |