◐ Shell
clean mode source ↗

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:

  1. pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu --force-reinstall installs the latest version (e.g., 2.9.0) from the torch wheel index
  2. uv pip sync then tries to sync with our pinned requirements, but the new version isn't on PyPI yet.
  3. 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.