Skip to content

Update vulnerable dependencies in the lock - #108

Open
bokalnv wants to merge 3 commits into
mainfrom
bokal/bug/v02-vulnerabilities
Open

bokalnv wants to merge 3 commits into
mainfrom
bokal/bug/v02-vulnerabilities

Conversation

@bokalnv

@bokalnv bokalnv commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Update vulnerable dependencies in the lock

Detailed description

  • Reason: 122 published advisories affect 19 locked packages; 7 are CRITICAL, in certifi, Pillow and PyJWT. Isaac Sim 6.1 pins 11 of these packages exactly, and the Arena parity test holds the others. Arena does not change in this PR.
  • Changes:
    • pyproject.toml: 11 exact overrides past the Isaac Sim pins.
    • uv.lock: relocked with uv 0.12.21 and a refresh of 7 packages. 18 versions change, and nothing is added or removed. Relock only with uv 0.12.21: newer uv adds onnxruntime-gpu.
    • test_uv_lock.py: AHEAD_OF_ARENA lists the 18 packages at exact versions. The parity tests skip them, and a new test requires those versions and fails when Arena's lock reaches one. This changes the parity policy, so it needs code-owner approval.
    • conda_installer.sh: exports this repository's lock instead of Arena's, so conda installs get the same versions as Docker and native uv.
    • Docs: installation, support matrix and release notes.
  • Impact: an OSV match of the lock goes from 122 advisories to 3 (setuptools and torch; torch 2.11.0 needs setuptools<82, and Isaac Sim pins torch 2.11.0). pip check now also reports the overridden Isaac Sim pins.
  • Pillow 13 is deliberate: 13.0.0 is the first release that fixes Pillow's CRITICAL advisories. It stops Isaac Sim 6.1's Replicator writers from saving 16-bit depth PNGs (KittiWriter) and segmentation that is not colorized (BasicWriter). AutoData's workflows do not use these writers, and the installation guide documents the limit.
  • Checks: uv lock --locked; test_uv_lock.py, test_native_ci.py and test_conda_installer.py (40 passed); pre-commit run --all-files; Sphinx with -W. Not run yet: a real conda install.

Pin 11 packages past Isaac Sim 6.1's exact requirements and refresh 7
more, relocked with uv 0.12.21. An OSV match of the lock goes from 122
published advisories in 19 packages to 3 in 2: setuptools and torch,
which Isaac Sim's torch 2.11.0 holds.

Arena's lock does not change, so the Arena parity test lists the 18
packages that AutoData locks ahead of Arena, at exact versions, and
fails when Arena's lock reaches one. The conda installer now exports
this repository's lock, so conda installs get the same versions as
Docker and native uv.

Signed-off-by: Billy Okal <bokal@nvidia.com>
@bokalnv

bokalnv commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The project adds security-update package pins and updates lock tests to check them. The conda installer now exports the repository’s lock and runtime constraints. Installation tests and documentation reflect the repository lock and package-version differences.

Changes: Locked Environment

Layer / File(s) Summary
Package pins and lock checks
pyproject.toml, autodata_tests/utils/test_uv_lock.py
The project adds package overrides. Lock tests check the specified versions, exclude the listed packages from shared-package drift comparisons, and filter matching resolver settings.
Conda export and installation
conda_installer.sh, autodata_tests/utils/test_conda_installer.py
The installer requires and exports the repository’s uv.lock and runtime constraints. Tests check that exports target the checkout and that the first export uses --frozen and pylock.toml.
Installation documentation
docs/pages/quickstart/installation.rst, docs/pages/quickstart/support_matrix.rst, docs/pages/references/release_notes.rst
The documentation describes the repository lock as the source for conda installation, lists package-version differences, and explains reported pip check discrepancies and Pillow 13 incompatibilities. It also documents packages that may remain in environments created by earlier installer versions.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Other

Possibly related PRs

  • isaac-sim/AutoData#89: This PR introduced the repository-root lockfile used by the conda exports and lock checks.
Merge Risk: Minimal · up to 6ee04 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Update vulnerable dependencies in the lock" matches the main change: relocking uv.lock and adding overrides in pyproject.toml to address 122 published advisories. It is short, specific, and…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description follows the required template. It has a Summary section and a Detailed description section that covers the reason, the changes, and the impact. The Summary line ("Update vulnerable dep…
Full details: Title check

Explanation

The title "Update vulnerable dependencies in the lock" matches the main change: relocking uv.lock and adding overrides in pyproject.toml to address 122 published advisories. It is short, specific, and states the primary intent. The title does not mention the test-policy change or the conda installer change, which is expected for a title.

Full details: Description check

Explanation

The description follows the required template. It has a Summary section and a Detailed description section that covers the reason, the changes, and the impact. The Summary line ("Update vulnerable dependencies in the lock") is 41 characters, which is within the 50-character limit. The Reason, Changes, and Impact bullets answer the three template questions with specific figures (122 advisories, 19 packages, 18 version changes, 11 overrides). It also lists the checks run and the one check not yet run (a real conda install), and it flags the Pillow 13 trade-off and the code-owner approval needed for the parity-policy change. The description is complete for a dependency-update PR.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 829b4ce and 6ee0425.

Files selected for processing: 1

  • autodata_tests/utils/test_uv_lock.py

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor
Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

- The conda installer checks for the repository's uv.lock before it
  creates an environment.
- The Arena mirror test still compares Arena's entries for a listed
  package when AutoData has no entry that replaces them.
- The caught-up message names the pyproject.toml entries to change.
- The docs describe the Pillow 13 limit of Isaac Sim's Replicator
  writers, the copies that Isaac Sim bundles, and the dm-tree cleanup.

Signed-off-by: Billy Okal <bokal@nvidia.com>
- A listed package that AutoData no longer locks gets its own failure
  that says to delete its entry and pin, because the restore command
  cannot bring it back.
- The exact-version failure says to put a lost override pin back before
  the restore command, and the messages name the file that pins uv.

Signed-off-by: Billy Okal <bokal@nvidia.com>
@bokalnv
bokalnv marked this pull request as ready for review December 1, 2026 19:22

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant