mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
fix(ci): force-reinstall enterprise package to override PyPI version
poetry install includes litellm-enterprise from PyPI, then the editable install step runs. When the same version is already installed, pip may skip the editable install leaving the PyPI build in place - which may lack methods added after the latest PyPI release. Adding --force-reinstall ensures the local editable version always wins. Fixes enterprise tests failing with AttributeError on methods that exist locally but not in the cached PyPI-installed package. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
45d3d1adfd
commit
262c16adf5
1 changed files with 1 additions and 1 deletions
2
.github/workflows/test-litellm-matrix.yml
vendored
2
.github/workflows/test-litellm-matrix.yml
vendored
|
|
@ -100,7 +100,7 @@ jobs:
|
|||
|
||||
- name: Setup litellm-enterprise
|
||||
run: |
|
||||
cd enterprise && poetry run pip install -e . && cd ..
|
||||
cd enterprise && poetry run pip install --force-reinstall -e . && cd ..
|
||||
|
||||
- name: Generate Prisma client
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue