fix: Fixed torch install issue in CI by ntkathole · Pull Request #5668 · feast-dev/feast
What this PR does / why we need it:
The torch release pipeline occasionally releases wheel builds to their index (https://download.pytorch.org/whl/cpu) before the PyPI release is available. This causes issues in our CI pipeline where:
pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu --force-reinstallinstalls the latest version (e.g., 2.9.0) from the torch wheel indexuv pip syncthen tries to sync with our pinned requirements, but the new version isn't on PyPI yet.- This creates a version mismatch, causing installation failures or test failures
This PR implements the two-step process with a single uv pip sync command that uses --extra-index-url.