Skip to content

ci: Avoid pre-release numpy in torch nightly job#724

Merged
ValerianRey merged 2 commits into
mainfrom
fix-nightly-testing
Jun 8, 2026
Merged

ci: Avoid pre-release numpy in torch nightly job#724
ValerianRey merged 2 commits into
mainfrom
fix-nightly-testing

Conversation

@ValerianRey
Copy link
Copy Markdown
Contributor

The torch nightly install step used --pre --upgrade torch torchvision --index-url <nightly>. --index-url replaced PyPI with the pre-release-only nightly channel and --upgrade re-resolved every dependency, so numpy was pulled in as a pre-release.

Now the upgrade is scoped to torch/torchvision (-P torch -P torchvision) and --extra-index-url keeps PyPI reachable, so numpy stays on its release version.

This is the nightly failure seen in #721.

🤖 Generated with Claude Code

Bare --upgrade plus --index-url re-resolved every dependency against the
pre-release-only nightly channel, pulling in a pre-release numpy. Scope
the upgrade to torch/torchvision and use --extra-index-url so numpy stays
on its release version.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ValerianRey ValerianRey requested a review from a team as a code owner June 8, 2026 14:44
@ValerianRey ValerianRey added the cc: ci Conventional commit type for changes to the CI (Github workflows and actions). label Jun 8, 2026
@github-actions github-actions Bot changed the title Avoid pre-release numpy in torch nightly job ci: Avoid pre-release numpy in torch nightly job Jun 8, 2026
@ValerianRey ValerianRey merged commit 4cad903 into main Jun 8, 2026
16 checks passed
@ValerianRey ValerianRey deleted the fix-nightly-testing branch June 8, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cc: ci Conventional commit type for changes to the CI (Github workflows and actions).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant