Skip to content

[CI] Pin the nightly changelog to the repository uv and check uv pins in pre-commit - #9343

Draft
hujc7 wants to merge 2 commits into
isaac-sim:mainfrom
hujc7:jichuanh/align-uv-version-pins
Draft

hujc7 wants to merge 2 commits into
isaac-sim:mainfrom
hujc7:jichuanh/align-uv-version-pins

Conversation

@hujc7

@hujc7 hujc7 commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The nightly changelog compile has failed every night since 2026-11-20. It runs uv 0.13.1, while uv.lock and every other uv pin in the repository use uv 0.12.9. This PR pins the nightly to 0.12.9 and adds a pre-commit check that keeps every uv pin and the lockfile format on one version.

Description

Fixes NVBug 7139341

  1. Cause. After bumping package versions, tools/changelog/cli.py compile runs uv lock and rejects any lockfile change other than version lines. uv 0.13.1 rewrites a lock written by uv 0.12.9: revision = 3 becomes 5 and the open3d dependency list changes, so the compile fails. [CI] Fix nightly changelog compilation #8695 pinned the nightly to 0.13.1 while the lock was at revision 5. Since then, contributors on different uv versions have flipped the lock between revisions 3 and 5 six times, most recently back to 3 in Add RSL-RL SuperMimic motion tracking and G1 deployment #9193.
  2. Fix. Pin the nightly to 0.12.9, the version of the Docker images, the other workflows and the current uv.lock. Add a check-uv-version pre-commit hook (tools/pre_commit/check_uv_version.py): every uv image and setup-uv version must name one version, and uv.lock must carry the revision that version writes. uv lock --check accepts a lock written by either version, so it cannot catch this drift.
  3. Test. With uv 0.12.9, python3 tools/changelog/cli.py compile passes on main (6b20eac) and release/3.1.0 (31b11f2): 16 packages bump and uv.lock changes only version lines. The hook passes on this branch and fails on main (two uv versions), on a revision-5 lock, and with one Dockerfile at 0.13.1.

The scheduled nightly also compiles release/3.0.0, whose lock is still at revision 5: #9344 re-locks it with uv 0.12.9 and should merge before the next changelog fragment reaches that branch.

Suggested reviewer: kellyguo11 (#8695).

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Release backport

  • Backport this pull request to the active release branch after it merges into main

Screenshots

Not applicable.

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with uv run isaaclab --format
  • No documentation change is needed: only CI and pre-commit change
  • My changes generate no new warnings
  • I have validated the changed behavior with focused coverage and applied the test-audit criteria to any test changes: no test changes; the hook was run against passing and failing pin sets
  • No changelog fragment: no source package changes
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

hujc7 added 2 commits December 1, 2026 12:59
…re-commit

The nightly changelog compile ran uv 0.13.1 while every other pin and the
current uv.lock use uv 0.12.9. After bumping package versions, uv 0.13.1
rewrites the lock's revision and the open3d dependency list, so the
compile's lock check fails every night. Pin the nightly to 0.12.9.

Add a check-uv-version pre-commit hook: every uv image and setup-uv
version in the repository must name one version, and uv.lock must carry
the revision that version writes. uv lock --check accepts locks written
by either uv, so it cannot catch the drift.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant