diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8c98c58..af79e22 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -86,9 +86,10 @@ jobs: python -m venv test_env source test_env/bin/activate - # Install the package from TestPyPI with regular PyPI as fallback for dependencies - pip install --no-cache-dir --index-url https://test.pypi.org/simple/ \ - --extra-index-url https://pypi.org/simple/ \ + # Install the package from TestPyPI with regular PyPI as PRIMARY for dependencies + # This ensures dependencies like fastapi come from real PyPI, not broken TestPyPI versions + pip install --index-url https://pypi.org/simple/ \ + --extra-index-url https://test.pypi.org/simple/ \ gradient-adk==$VERSION # Verify the installed version @@ -118,4 +119,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: python-package-distributions - path: dist/ + path: dist/ \ No newline at end of file