Skip to content

Align Docker's Newton packages with the Arena lock - #1763

Draft
qianl-nv wants to merge 2 commits into
isaac-sim:mainfrom
qianl-nv:qianl/fix/docker-newton-runtime
Draft

qianl-nv wants to merge 2 commits into
isaac-sim:mainfrom
qianl-nv:qianl/fix/docker-newton-runtime

Conversation

@qianl-nv

@qianl-nv qianl-nv commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Select the Newton runtime explicitly during Docker's Arena dependency sync so it follows the same lock as native uv. Remove Arena's unnecessary USD-schema override so both runtimes retain Isaac Sim's 0.5.0 pin.

Why this change?

Docker installs Lab from Lab's frozen lock, then syncs Arena with default groups disabled and --inexact. Newton, MuJoCo, MuJoCo Warp, and Newton USD schemas are absent from that second install selection, so Arena's overrides do not replace the inherited packages. The separate locks previously selected schemas 0.5.0 in Docker and 0.6.0 in native uv; an intentional Newton update could similarly leave Docker on Lab's version.

What changes?

  • Add a newton-runtime group containing newton[sim] and newton-usd-schemas. The schema package needs an explicit dependency because Newton's sim extra only adds MuJoCo and MuJoCo Warp.
  • Include the group in the native source group and select it explicitly in Docker's existing frozen sync. Keep Lab's editable installation inherited from the preceding image stage.
  • Add a regression check that exports the installer's actual group/extra selection and native defaults with uv export --frozen --offline. Compare the five Newton runtime package records and ensure Docker does not select the Lab packages again.

Remove the schema override and update its dependency guard. The only locked package version change is newton-usd-schemas 0.6.0 → 0.5.0, matching Isaac Sim and Lab. Newton stays at 1.6.1; this fix is independent of the Newton 1.8 upgrade.

Validation

Executed the modified Docker dependency-sync command in a disposable container based on the existing Arena image, using the pyproject and lock in the same /tmp/arena-project layout as the build. After removing the schema override, rechecked the final Docker/native package selections and confirmed that the installed schema version matches both Arena's and Lab's locks.

Package Existing Docker image Final Arena lock
Newton 1.6.1 1.6.1
MuJoCo / MuJoCo Warp 3.12.0 3.12.0
Newton USD schemas 0.5.0 0.5.0
Warp 1.17.0 1.17.0

Verified the installed versions against the lock and confirmed Lab remains editable. The new selection check reproduces the omission on main before the fix. A full image rebuild and physics rollouts were not run; validation exercised the dependency-sync command directly in Docker.

Select the Newton runtime explicitly in Docker's Arena sync so inherited
Lab packages use the same locked versions as native uv installations.
Check the exported Docker selection against native defaults to catch
packages that silently remain governed by Lab's separate lock.

Signed-off-by: Qian Lin <[email protected]>

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