Skip to content

ci: Use uv torch backend for CPU installs#6588

Merged
franciscojavierarceo merged 1 commit into
feast-dev:masterfrom
franciscojavierarceo:codex/fix-ci-torch-index
Jul 8, 2026
Merged

ci: Use uv torch backend for CPU installs#6588
franciscojavierarceo merged 1 commit into
feast-dev:masterfrom
franciscojavierarceo:codex/fix-ci-torch-index

Conversation

@franciscojavierarceo

Copy link
Copy Markdown
Member

Summary

  • replace the Linux CI PyTorch CPU extra index install with uv's targeted --torch-backend cpu option
  • keep dependency resolution on PyPI for unrelated packages like databricks-sdk

Root cause

The failing unit-test-python (3.10, ubuntu-latest) leg on master died before pytest during make install-python-dependencies-ci. The old command used --extra-index-url https://download.pytorch.org/whl/cpu --index-strategy unsafe-best-match, which caused uv to query the PyTorch CPU index for unrelated packages. In the failing run, that made CI fetch https://download.pytorch.org/whl/cpu/databricks-sdk/, which returned HTTP 503.

Validation

  • git diff --check
  • PYTHON_VERSION=3.10 uv pip sync --dry-run --torch-backend cpu sdk/python/requirements/py3.10-ci-requirements.txt

Signed-off-by: Francisco Javier Arceo <[email protected]>
@franciscojavierarceo
franciscojavierarceo marked this pull request as ready for review July 8, 2026 03:53
@franciscojavierarceo
franciscojavierarceo merged commit 66547dc into feast-dev:master Jul 8, 2026
35 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant