From 262c16adf5fd0cc38afd2c8ce86567419757287d Mon Sep 17 00:00:00 2001 From: Julio Quinteros Pro Date: Wed, 18 Feb 2026 12:02:11 -0300 Subject: [PATCH] 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 --- .github/workflows/test-litellm-matrix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-litellm-matrix.yml b/.github/workflows/test-litellm-matrix.yml index ab5c278409..8ea61ecc8e 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 -e . && cd .. + cd enterprise && poetry run pip install --force-reinstall -e . && cd .. - name: Generate Prisma client run: |