ci: Pin uv to 0.12.7 - #6831
ci: Pin uv to 0.12.7#6831haoxu0 wants to merge 1 commit into
Conversation
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6831 +/- ##
==========================================
+ Coverage 47.08% 47.10% +0.01%
==========================================
Files 419 419
Lines 51877 51879 +2
Branches 7525 7525
==========================================
+ Hits 24428 24436 +8
+ Misses 25700 25693 -7
- Partials 1749 1750 +1
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟡 Changes recommended
Fork workflow templates still use unpinned uv and should receive the same pin.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Pins uv to 0.12.7 in active GitHub Actions workflows to prevent locked-hash dependency failures.
Changes:
- Pins 12
setup-uvsteps to uv 0.12.7. - Updates installation labels.
- Fork workflow templates remain unpinned.
File summaries
| File | Description |
|---|---|
.github/workflows/unit_tests.yml |
Pins uv in unit-test jobs |
.github/workflows/smoke_tests.yml |
Pins uv for smoke tests |
.github/workflows/registry-rest-api-tests.yml |
Pins uv for registry tests |
.github/workflows/pr_remote_rbac_integration_tests.yml |
Pins uv for remote RBAC tests |
.github/workflows/pr_local_integration_tests.yml |
Pins uv for local RBAC tests |
.github/workflows/pr_integration_tests.yml |
Pins uv in integration jobs |
.github/workflows/nightly-ci.yml |
Pins uv for nightly CI |
.github/workflows/master_only.yml |
Pins uv for master-only CI |
.github/workflows/linter.yml |
Pins uv for linting |
.github/workflows/dbt-integration-tests.yml |
Pins uv for dbt tests |
Review details
- Files reviewed: 10/10 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| - name: Install uv | ||
| uses: astral-sh/setup-uv@v5 | ||
| with: | ||
| version: "0.12.7" |
What this PR does / why we need it:
Pins uv to 0.12.7 in all GitHub Actions workflows that install it through setup-uv.
Newer uv releases reject the locked PyPI hashes when --torch-backend cpu selects the equivalent local-version torchvision wheel (0.28.0+cpu), causing dependency installation to fail across CI. uv 0.12.7 preserves the behavior under which the current lock files were generated, restoring CI without regenerating or upgrading the dependency graph.
The step label is also changed from "Install the latest version of uv" to "Install uv" so it accurately describes the pinned installation.
Which issue(s) this PR fixes:
N/A
Checks
Testing Strategy
Validated that all 12 setup-uv steps pin 0.12.7, parsed every changed workflow as YAML, and ran a successful uv 0.12.7 dry-run of the Python 3.11 x86_64 Linux dependency sync with --torch-backend cpu (449 packages resolved, including torchvision==0.28.0+cpu). Repository pre-commit checks also passed.
Misc
This is intentionally a minimal CI stabilization change. It does not modify pyproject.toml, requirement locks, Pixi configuration, or dependency versions.