mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-05 18:24:49 +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:
co-authored by
Claude Sonnet 4.6
parent
45d3d1adfd
commit
262c16adf5
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user