Skip to content

Update PyJWT and virtualenv dependencies - #8584

Merged
kellyguo11 merged 3 commits into
isaac-sim:developfrom
sheikh-nv:security/update-pyjwt-virtualenv
Oct 15, 2026
Merged

kellyguo11 merged 3 commits into
isaac-sim:developfrom
sheikh-nv:security/update-pyjwt-virtualenv

Conversation

@sheikh-nv

@sheikh-nv sheikh-nv commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
List any dependencies that are required for this change.

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (existing functionality will not work without user modification)
  • Documentation update

Release backport

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

Screenshots

Please attach before and after screenshots of the change if applicable.

Checklist

Docker and GPU tests run on demand. Push the commits you want tested, then
comment run-ci on the pull request.

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with uv run isaaclab --format
  • I have made corresponding changes to the documentation
  • 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
  • I have added a changelog fragment under source/<pkg>/changelog.d/ for every touched package (do not edit CHANGELOG.rst or bump package versions — CI handles that)
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

Proposed change

Follow-up to #8510 updating the PyJWT and virtualenv dependency minimums in the optional Isaac Sim and RLInf integrations.

  • Require PyJWT[crypto]>=2.15.1,<3 in the isaacsim extra and virtualenv>=21.7.13 in rlinf, so the minimums also reach generated wheel metadata.
  • Regenerate uv.lock: PyJWT 2.13.0 -> 2.15.1, virtualenv 21.7.0 -> 21.7.13, and its required python-discovery dependency 1.5.0 -> 1.6.2. The resolver also refreshes the lock format and an existing Open3D dependency edge; no other package versions change.
  • Extend the existing dependency-selection, generated-wheel metadata and locked-version tests, and add a changelog fragment.

Upstream releases: PyJWT 2.15.1 and virtualenv 21.7.13. Existing Sim/Kit prebundles are outside this change.

Validation completed

  • Regression checks failed against the original dependency floors and locked versions, then passed with the fix.
  • Focused pytest: 5 passed, 9 subtests passed.
  • uv lock --check --offline.
  • Full repository pre-commit suite, Ruff checks and changelog gate.
  • Generated wheel metadata preserves both dependency minimums.

Full Sim/RLInf runtime integration tests and public CI remain pending. No backport is requested by this PR.

@github-actions github-actions Bot added isaac-lab Related to Isaac Lab team infrastructure labels Oct 14, 2026
@sheikh-nv sheikh-nv changed the title Update PyJWT and virtualenv security dependencies Update PyJWT and virtualenv dependencies Oct 14, 2026
@sheikh-nv
sheikh-nv marked this pull request as ready for review October 14, 2026 22:31
@sheikh-nv
sheikh-nv requested a review from a team October 14, 2026 22:31

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

All reviewed code categories look good.

  • PR description: The body matches the dependency, lock, test, and changelog changes, but remove untouched prompts, empty sections, contradictory type options, and placeholder issue text; include the focused pytest command.
  • Design and architecture: Architecture looks good.
  • Scope and over-engineering: No over-engineering issues.
  • API: API changes look good.
  • Compatibility and deprecation: No breaking changes identified.
  • Implementation: Implementation looks good.
  • Style consistency: Style consistency looks good.
  • Test quality: Test quality looks good.

No blocking issues. No inline findings.

Automated review; human maintainers own approval decisions.

@greptile-apps

greptile-apps Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[High impact] The PR appears safe to merge; no actionable issue was found.

Summary

Raises the optional integration dependency minimums and updates their locked versions.

  • Isaac Sim and RLInf extras now select newer security dependencies.

No actionable issue was found. The review checked the dependency declarations, lock changes, and wheel-generation code. Runtime integration tests were not run.

Reviews (1) · Last reviewed commit: "Update PyJWT and virtualenv security dep..." · Reviewed by Greptile

@kellyguo11

Copy link
Copy Markdown
Contributor

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Oct 14, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Oct 15, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor

run-ci

1 similar comment
@kellyguo11

Copy link
Copy Markdown
Contributor

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Oct 15, 2026
@isaaclab-bot isaaclab-bot Bot removed the ci:run-docker Trigger the on-demand Docker and GPU CI workflow label Oct 15, 2026
@kellyguo11
kellyguo11 merged commit 5400822 into isaac-sim:develop Oct 15, 2026
92 of 125 checks passed
kellyguo11 added a commit that referenced this pull request Oct 15, 2026
## Description

Backports #8584 to `release/3.0.0`.

- Raised the PyJWT minimum for the Isaac Sim extra.
- Raised the virtualenv minimum for the RLInf extra.
- Kept the Isaac Sim version-pin test scoped to the pinned requirement
while allowing security constraints in the same extra.

## 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 `develop`

## Validation

- `python -m pytest source/isaaclab/test/cli/test_uv_run_pyproject.py
docker/test/test_security_dependencies.py -q` — 18 passed, 9 subtests
passed
- Version-drift mutation check — failed for the intended missing-pin
reason
- Changelog fragment gate — passed
- Pre-commit hooks for all changed files — passed
- `git diff --check` — passed

---------

Co-authored-by: Sheikh Dawood <[email protected]>
kellyguo11 pushed a commit that referenced this pull request Dec 3, 2026
…9344)

## Summary

`release/3.0.0` pins uv 0.12.9 in its Docker images and workflows, but
its `uv.lock` was last written by uv 0.13.1. The nightly changelog
compile re-locks after a version bump and rejects any other lockfile
change, so the next version bump on this branch fails once #9343 pins
the nightly to 0.12.9. This PR re-locks the branch with uv 0.12.9; no
package version changes.

# Description

Part of NVBug 7139341, together with #9343 (`main`).

1. **Cause.** The backport of #8584 (#8592) wrote `uv.lock` with uv
0.13.1, so the lock is at `revision = 5`, while the branch's other uv
pins are 0.12.9, which writes revision 3. The scheduled nightly compiles
`main`, `release/3.1.0` and `release/3.0.0` with one uv from `main`'s
workflow. That uv is now 0.12.9 (#9343), and with it the compile on this
branch rewrites the lock format and refuses the result.
2. **Fix.** Re-lock with uv 0.12.9 (`uv lock --upgrade-package
isaaclab`). Only the lock revision changes, and open3d's dependency list
drops `ipywidgets`, as uv 0.12.9 writes it on `main` and
`release/3.1.0`: a default `uv sync` then installs 191 instead of 207
packages, without `ipywidgets` and its dependencies, which only the
`mimic` extra requires. Open3D's Jupyter web visualizer needs it; Isaac
Lab code does not import it outside `isaaclab_mimic`. Also pin this
branch's own nightly workflow to 0.12.9.
3. **Test.** On this branch plus one changelog fragment, with uv 0.12.9:
`python3 tools/changelog/cli.py compile` fails before this change (`uv
lock changed more than package versions`) and passes after it, with only
version lines moving in `uv.lock`. `uv lock --check` passes.

Merge order: before the next backport that brings a changelog fragment
to `release/3.0.0`; the branch has none pending today.

Suggested reviewer: kellyguo11 (#8592, #8696).

## Type of change

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

## Release backport

- [ ] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `main`

Not applicable: this PR targets `release/3.0.0`.

## Screenshots

Not applicable.

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`uv run isaaclab --format`
- [x] No documentation change is needed: only the lockfile and a CI pin
change
- [x] My changes generate no new warnings
- [x] I have validated the changed behavior with focused coverage and
applied the [test-audit
criteria](https://github.com/isaac-sim/IsaacLab/blob/HEAD/skills/developer/test-audit/SKILL.md)
to any test changes: no test changes; the nightly compile was run before
and after
- [x] No changelog fragment: no source package changes
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants