Skip to content

Bump Newton main dependency - #6882

Closed
kellyguo11 wants to merge 2 commits into
isaac-sim:developfrom
kellyguo11:kellyguo11/bump-newton-main
Closed

kellyguo11 wants to merge 2 commits into
isaac-sim:developfrom
kellyguo11:kellyguo11/bump-newton-main

Conversation

@kellyguo11

Copy link
Copy Markdown
Contributor

Description

Summary

  • Pin Newton to 10402ecbaf2d8afda00507123155042cbcb5c3fb, the current
    head of newton-physics/newton main.
  • Align the MuJoCo and MuJoCo Warp overrides with Newton's declared 3.11
    simulation requirements.
  • Refresh uv.lock for the updated dependency stack.

Motivation

The previous Newton pin was 37 commits behind main. The current Newton
revision declares mujoco~=3.11.0 and mujoco-warp~=3.11.0; retaining the
3.10 overrides produces a runtime dependency-mismatch warning on Newton
MJWarp startup.

This update keeps the Isaac Lab override set consistent with Newton's current
requirements and allows the latest Newton fixes to be validated in Isaac Lab.

Type of change

  • Bug fix (non-breaking dependency update)

Validation

  • uv lock --check
  • uv run python -m pytest source/isaaclab/test/cli/test_uv_run_pyproject.py
    — 8 passed
  • uv run python scripts/environments/zero_agent.py --task Isaac-Cartpole-Direct --num_envs 4 --max_steps 32 --viz newton physics=newton_mjwarp
  • uv run isaaclab -f
  • uv run python tools/changelog/cli.py check develop against the current
    upstream develop ref

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks
  • My changes generate no new dependency-mismatch warnings
  • I have added tests or run focused validation for the dependency update
  • No package changelog fragment is required for this root dependency-only change
  • My name already exists in CONTRIBUTORS.md

@kellyguo11
kellyguo11 marked this pull request as ready for review August 4, 2026 05:17
@kellyguo11
kellyguo11 requested a review from a team August 4, 2026 05:17
@kellyguo11
kellyguo11 requested a review from StafaH as a code owner August 4, 2026 05:17
@greptile-apps

greptile-apps Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR updates the pinned Newton revision and aligns MuJoCo and MuJoCo Warp with Newton’s 3.11 requirements.

  • Refreshes the resolved Newton, MuJoCo, and MuJoCo Warp dependency stack.
  • Synchronizes stale editable-workspace package metadata in uv.lock with the corresponding source manifests.

Confidence Score: 5/5

The PR appears safe to merge, with no concrete changed-code failure identified in the dependency constraints or refreshed lockfile.

The manifest and lockfile consistently select the updated Newton revision and matching MuJoCo 3.11 packages, while the lock retains compatible Python 3.12 artifacts for every supported platform.

Important Files Changed

Filename Overview
pyproject.toml Updates the Newton commit pin and consistently overrides MuJoCo and MuJoCo Warp to compatible 3.11 releases.
uv.lock Reflects the requested dependency updates, includes artifacts for all declared target platforms, and synchronizes editable package versions with source manifests.

Reviews (1): Last reviewed commit: "Bump Newton main dependency" | Re-trigger Greptile

@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

The PR consistently repins Newton to 10402ec…, aligns MuJoCo and MuJoCo Warp with Newton’s ~=3.11.0 requirements, and refreshes the lockfile to match. No actionable issue is supported by the supplied patch.

  • Design and architecture: The change remains confined to root dependency resolution and does not alter package boundaries, backend abstractions, or source modules. Keeping Isaac Lab’s global overrides aligned with the pinned Newton revision avoids a known producer/consumer version mismatch.
  • API: No public Python symbol, CLI argument, or configuration field changes. The mirrored Newton revisions in [tool.isaaclab.versions] and [tool.uv].override-dependencies remain consistent, and no source package is touched that would require a package changelog fragment.
  • Implementation: The uv.lock manifest and resolved entries consistently reflect Newton revision 10402ec…, MuJoCo 3.11.0, and MuJoCo Warp 3.11.0. The main residual risk is behavioral compatibility across the 37-commit Newton update, which is appropriately addressed through simulation-level validation rather than lockfile inspection alone.

No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.

The full PR diff was reviewed; some supplemental surrounding file context was omitted.

Automated review; human maintainers own approval decisions.

Pin Newton to commit 10402ecb and align the MuJoCo and MuJoCo Warp overrides with Newton's 3.11 requirements. Refresh the uv lockfile for the updated dependency stack.
Synchronize workspace package versions after rebasing the Newton dependency update onto the latest develop branch.
@kellyguo11
kellyguo11 force-pushed the kellyguo11/bump-newton-main branch from 13e726e to 5ce35c0 Compare August 4, 2026 06:46
@kellyguo11 kellyguo11 closed this Aug 4, 2026
kellyguo11 added a commit that referenced this pull request Aug 5, 2026
## Summary

This PR completes the latest Newton `main` dependency update by aligning
Isaac Lab with Newton global-world contracts.

- synchronize wheel-builder and installation-test overrides with the
root Newton, MuJoCo, MJWarp, and USD-schema pins
- expose the zero-copy local-world slice of `model.gravity` through
per-environment asset data
- use the canonical `world_count + 1` solver reset mask while leaving
the global entry unselected
- import Newton USD schema resolvers from the public `newton.usd` API
- give the Kamino internal-contact fixture the collidable geometry
required by the current pipeline
- align shared asset-interface and benchmark mocks with the
local-plus-global world layout

This is stacked on #6882. If #6882 merges first, its dependency commits
become part of `develop` and this PR narrows to the compatibility fixes.

## Scope and compatibility

This PR changes only latest-Newton compatibility. It contains no MPM
task, coupling, visualizer, RSL-RL, camera, teleoperation, or
golden-image change.

No Isaac Lab API is renamed or removed. Existing per-environment gravity
views remain live zero-copy bindings, ordinary resets select only local
environments, and the new global Newton entry remains untouched by
environment reset masks.

## Regression evidence

- the dependency bump alone reproduces gravity/compensation failures
because `model.gravity` is now shaped `(world_count + 1, 3)`
- the old N-entry reset mask uses Newton legacy behavior rather than the
current global-world contract
- the former Kamino internal-contact fixture has no collision pipeline
- wheel override files otherwise retain stale Newton-stack metadata
- the shared Newton benchmark model otherwise lacks the world layout
needed by real asset-data construction

The focused fixes make each of these regressions pass.

## Validation

- full isolated `isaaclab_newton` package suite passed
- shared articulation, rigid-object, and collection interface matrices
passed
- Newton manager abstraction coverage passed for every solver
configuration, including Kamino internal contacts
- articulation, rigid-object, and collection gravity coverage passed on
CPU and CUDA
- canonical reset-mask regression passed without Newton legacy-mask
warnings
- wheel metadata, packaging, benchmark, and shared mock coverage passed
- full pre-commit passed before commit and push

The compatibility work remains one focused commit,
`1f7511c55c23f4534e2dc9fe399d82e274edc327`, on top of Kelly Guo exact
#6882 commits and current `develop`. The pushed branch head is
`ca6dd9f1b914ca4e393daf1f2acfaaa717e365de`.

## Current CI triage

The branch-specific Newton, core, task, PhysX, RL, installation,
documentation, packaging, and lint suites pass. Three image/demo jobs
currently fail for reasons outside this diff:

- rendering correctness reproduces on current upstream `develop`,
including the same PhysX and registered Cartpole camera comparisons
- visualizer failures are image-golden and pause-frame drift; this PR
has no visualizer or golden diff
- the standalone demo failure is PhysX `bin_packing.py` clone planning;
this PR does not touch that demo or clone planner

Per scope, this PR does not modify goldens or unrelated shared code to
mask those failures.

---------

Co-authored-by: Kelly Guo <kellyg@nvidia.com>
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