Skip to content

Fix uv run due to missing ppisp ref - #5791

Merged
kellyguo11 merged 2 commits into
isaac-sim:developfrom
StafaH:mh/fix_uvrun_ppisp
May 27, 2026
Merged

kellyguo11 merged 2 commits into
isaac-sim:developfrom
StafaH:mh/fix_uvrun_ppisp

Conversation

@StafaH

@StafaH StafaH commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Description

Fix missing uv source for ppisp submodule

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@github-actions github-actions Bot added bug Something isn't working infrastructure labels May 27, 2026
@greptile-apps

greptile-apps Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR fixes a missing uv source mapping for the isaaclab-ppisp submodule in pyproject.toml. Without both entries, uv could not resolve the package when running uv run, causing the environment setup to fail.

  • Adds "isaaclab-ppisp" to the [project] dependencies list so the package is declared as a required dependency.
  • Adds "isaaclab-ppisp" = { path = "source/isaaclab_ppisp", editable = true } under [tool.uv.sources] so uv knows where to find the local editable install.

Confidence Score: 5/5

Safe to merge — the change adds two missing lines to register the isaaclab-ppisp local package with uv, and the corresponding source directory already exists in the repo.

Both additions are minimal and correct: the dependency declaration matches the already-present source/isaaclab_ppisp directory and its pyproject.toml, and the pattern is consistent with every other local package registered in the same file.

No files require special attention.

Important Files Changed

Filename Overview
pyproject.toml Adds isaaclab-ppisp to the top-level dependency list and registers its local path under [tool.uv.sources], fixing the missing source reference that caused uv run to fail.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[uv run / uv sync] --> B{Resolve dependencies\nfrom pyproject.toml}
    B --> C[isaaclab-ppisp listed\nin dependencies]
    C --> D{Look up source\nin tool.uv.sources}
    D --> E[isaaclab-ppisp\npath = source/isaaclab_ppisp\neditable = true]
    E --> F[Install from local path\nas editable package]
    F --> G[Environment ready]

    style C fill:#90EE90
    style E fill:#90EE90
Loading

Reviews (1): Last reviewed commit: "Merge branch 'develop' into mh/fix_uvrun..." | 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.

Review Summary

Clean fix for a missing package reference. The isaaclab_ppisp submodule exists in source/ but was not included in the root pyproject.toml, causing uv run to fail when resolving dependencies.

Changes Reviewed

pyproject.toml (+2 lines)

  • Added isaaclab-ppisp to the dependencies list
  • Added corresponding [tool.uv.sources] entry pointing to source/isaaclab_ppisp

Assessment

✅ Correctness: The fix properly adds the missing package reference in both required locations (dependencies and sources).

✅ Alphabetical ordering: The new entries are correctly placed between isaaclab-physx and isaaclab-rl, maintaining the existing alphabetical convention.

✅ Path format: The source path source/isaaclab_ppisp follows the established pattern using underscores in directory names while the package name uses hyphens.

Minor Consideration

This appears to be a straightforward omission fix. For future similar issues, it might be worth adding a CI check that validates all source/isaaclab_* directories have corresponding entries in pyproject.toml to catch missing references early.

LGTM from a code perspective. No blocking concerns.

@kellyguo11
kellyguo11 merged commit 7a9c11d into isaac-sim:develop May 27, 2026
39 of 40 checks passed
@kellyguo11

Copy link
Copy Markdown
Contributor

pls also create a PR to cherry-pick this to the release branch

kellyguo11 added a commit that referenced this pull request May 28, 2026
… locomanip quaternion, deformable demo, IK, benchmark scripts (#5816)

# Description

Cherry pick following PRs from develop:

- #5779 
- #5760
- #5791
- #5810 
- #5811
- #5812 
- #5754 
- #5802 
- #5803 
- #5782
- #5804 
- #5744 
- #5775 
- #5784

---------

Signed-off-by: Kelly Guo <[email protected]>
Co-authored-by: John <[email protected]>
Co-authored-by: myurasov-nv <[email protected]>
Co-authored-by: Antoine RICHARD <[email protected]>
Co-authored-by: Mike Yan Michelis <[email protected]>
Co-authored-by: hujc <[email protected]>
@StafaH
StafaH deleted the mh/fix_uvrun_ppisp branch May 28, 2026 19:09
kellyguo11 added a commit that referenced this pull request Dec 3, 2026
## Summary

Update Newton to merged
[`838ddf5`](newton-physics/newton@838ddf5),
including the MuJoCo 4.1 integration and camera graph-capture fix. Use
MuJoCo/MuJoCo Warp **4.1.0**, standard indexed Warp **1.20.0** with CUDA
13, and Newton USD schemas **0.8.0**.

The released MJCF converter is temporarily patched inside Isaac Lab.
There is **no converter fork pin**, no dependency on an unmerged PR, and
no converter tests are skipped. The MuJoCo 4.0.1/Warp 1.19 rollback is
removed.

Newton owns the MuJoCo Warp requirement. Keep a single
`mujoco-warp~=4.1.0` override because Isaac Sim pins an older release.
The two Newton overrides preserve its `sim` and optional `optix` extras;
a plain override silently drops those extras. Wheel overrides are
generated from the same root requirements. No unrelated package versions
are updated.

## Temporary MJCF converter patch

MuJoCo 4.1 removed per-geom `solmix`. The existing released converter
still reads it, so MJCF-to-USD conversion fails on collision geometry.
Existing USD assets and simulation paths that do not invoke this
converter are unaffected.

During conversion only, supply the old default weight of `1.0`, which
matches MuJoCo 4.1's equal weighting. Simplified:

```python
with patch.object(mujoco.MjsGeom, "solmix", 1.0, create=True):
    generated_usd_path = MJCFImporter(import_config).import_mjcf()
```

The implementation preserves an existing field if present, restores the
original interface on exit, and serializes imports while the temporary
field is active. The existing importer test checks restoration. Remove
this local patch once a release contains [mujoco-usd-converter
#161](newton-physics/mujoco-usd-converter#161);
merging this PR does not require waiting for it.

## Why other code changes accompany the bump

**Reset buffers:** Warp 1.20 rejects a kernel argument in this
compile-time expression:

```diff
- if wp.static(len(source.shape) == 1):
+ if wp.static(ndim == 1):
```

Read the rank in Python and specialize a shared gather/scatter kernel.
Masks, strided views, and graph replay remain covered.

**Sensors:** Newton moved acceleration and joint-force outputs into
solver observables:

```diff
- state.body_qdd
+ observables.body_qdd

- state.body_parent_f
+ observables.body_parent_f
```

Request the outputs before solver initialization and bind the arrays
afterward. IMU, PVA, and joint-wrench sensors can then work when
MuJoCo's sensor stage is disabled for deterministic execution.

**Actuators:** adopt the current command-interface API and update
existing callers:

```diff
- Actuator(delay=delay, ...)
+ Actuator(command_interface=delay, ...)

- state.delay_state
+ state.command_interface_state
```

Use `CommandInterfaceDelay`, remove the deprecated `"controller"` alias,
and use `"drive"` directly. Tests use real Newton actuators instead of
maintaining a stand-in for Newton internals.

**Solver defaults and reset:** Newton synchronizes inputs on every step
and infers world separation:

```diff
- MJWarpSolverCfg(update_data_interval=2, ls_parallel=False)
+ MJWarpSolverCfg()
```

Delete ignored-option warning shims and the private synchronization
call. Reset becomes:

```python
self.native.reset(state, world_mask=world_mask, flags=0)
```

`flags=0` preserves the authored pose while clearing solver history.
Native MuJoCo CPU simulation requires one world. Remove
`KaminoPADMMCfg.compl_tolerance`, which Newton rejects; primal and dual
tolerances remain.

Other changes required by upstream behavior:

- Remove `MujocoCollisionCfg.solmix` and its USD writer; MuJoCo 4.1
removed that field. Use `priority` when one collider's parameters should
win.
- Rename `soft_contact_margin` to Newton's `soft_contact_gap`.
- Clear joint-level collision filtering for visual-only clones.
- Retain the original RGB camera references. Merged [Newton
#5791](newton-physics/newton#5791) fixes the
captured upload from freed ambient-light host memory.
- Keep only the MPM reference update: [Newton
#5021](newton-physics/newton#5021) changes the
fixture's particle contact calculation. Swapping only that solver code
reproduces the pile-shape change.
- Allow ten minutes for NIST and H1 startup; first-time kernel
compilation exceeded five minutes on CI.

One independent CI fix remains: remove an unused Omniverse documentation
inventory that returns HTTP 403.

## CUDA 13 and CI

Use standard indexed Warp 1.20 without platform wheel URLs or
application compiler overrides. The merged [LEAPP
#112](nvidia-isaac/leapp#112), commit
[`e43b364`](nvidia-isaac/leapp@e43b364),
stops changing process-wide Warp compiler settings on import. Pin that
merged `develop` commit in the LEAPP extra and RL CI job. On the
original runner, this fix passed the full RL suite: 292 passed, one
skipped.

**ARM OptiX still needs a runner driver update.** Newton now installs
OptiX on ARM64 too. The Spark runner has `580.159.03`; OptiX 9.1
requires **R590 or newer** ([NVIDIA
requirements](https://developer.nvidia.com/designworks/optix/download)).
Its eight Newton Warp rendering cases pass against the original goldens,
but OptiX fails during import with `Unsupported ABI version`. The merged
CI configuration marks this ARM-only case as an expected failure until
the runner driver is updated.

## Validation

- Updated the windowless viewer fixtures for camera revisions, the
relocated GUI module, and text-input capture. All 55 visualizer adapter
tests pass.
- Updated OVPhysX native-delay coverage to `CommandInterfaceDelay` and
`command_interface_state`. All 51 OV articulation tests pass, with 15
existing skips. Both suites failed on the old fixture APIs before the
update.

- All 11 MJCF importer tests pass with published converter 0.7.0, MuJoCo
4.1.0, Warp 1.20.0, and the local patch. The original CI run failed all
11 on the missing `solmix` field.
- All 54 actuator-collection and root/wheel packaging tests pass with
the restored dependency set.
- Full formatting/lint, changelog, LFS, and lock consistency checks
pass.
- The same Newton revision previously passed nine selected rendering
cases with the original references and 182 focused actuator, solver,
sensor, reset, and packaging cases. The final converter patch changes
only MJCF conversion.

CI validates the rebuilt images and platform coverage on the updated
head. ARM OptiX is recorded as an expected failure pending the driver
update above.

---------

Co-authored-by: Kelly Guo <[email protected]>
kellyguo11 added a commit to kellyguo11/IsaacLab-public that referenced this pull request Dec 3, 2026
## Summary

Update Newton to merged
[`838ddf5`](newton-physics/newton@838ddf5),
including the MuJoCo 4.1 integration and camera graph-capture fix. Use
MuJoCo/MuJoCo Warp **4.1.0**, standard indexed Warp **1.20.0** with CUDA
13, and Newton USD schemas **0.8.0**.

The released MJCF converter is temporarily patched inside Isaac Lab.
There is **no converter fork pin**, no dependency on an unmerged PR, and
no converter tests are skipped. The MuJoCo 4.0.1/Warp 1.19 rollback is
removed.

Newton owns the MuJoCo Warp requirement. Keep a single
`mujoco-warp~=4.1.0` override because Isaac Sim pins an older release.
The two Newton overrides preserve its `sim` and optional `optix` extras;
a plain override silently drops those extras. Wheel overrides are
generated from the same root requirements. No unrelated package versions
are updated.

## Temporary MJCF converter patch

MuJoCo 4.1 removed per-geom `solmix`. The existing released converter
still reads it, so MJCF-to-USD conversion fails on collision geometry.
Existing USD assets and simulation paths that do not invoke this
converter are unaffected.

During conversion only, supply the old default weight of `1.0`, which
matches MuJoCo 4.1's equal weighting. Simplified:

```python
with patch.object(mujoco.MjsGeom, "solmix", 1.0, create=True):
    generated_usd_path = MJCFImporter(import_config).import_mjcf()
```

The implementation preserves an existing field if present, restores the
original interface on exit, and serializes imports while the temporary
field is active. The existing importer test checks restoration. Remove
this local patch once a release contains [mujoco-usd-converter
isaac-sim#161](newton-physics/mujoco-usd-converter#161);
merging this PR does not require waiting for it.

## Why other code changes accompany the bump

**Reset buffers:** Warp 1.20 rejects a kernel argument in this
compile-time expression:

```diff
- if wp.static(len(source.shape) == 1):
+ if wp.static(ndim == 1):
```

Read the rank in Python and specialize a shared gather/scatter kernel.
Masks, strided views, and graph replay remain covered.

**Sensors:** Newton moved acceleration and joint-force outputs into
solver observables:

```diff
- state.body_qdd
+ observables.body_qdd

- state.body_parent_f
+ observables.body_parent_f
```

Request the outputs before solver initialization and bind the arrays
afterward. IMU, PVA, and joint-wrench sensors can then work when
MuJoCo's sensor stage is disabled for deterministic execution.

**Actuators:** adopt the current command-interface API and update
existing callers:

```diff
- Actuator(delay=delay, ...)
+ Actuator(command_interface=delay, ...)

- state.delay_state
+ state.command_interface_state
```

Use `CommandInterfaceDelay`, remove the deprecated `"controller"` alias,
and use `"drive"` directly. Tests use real Newton actuators instead of
maintaining a stand-in for Newton internals.

**Solver defaults and reset:** Newton synchronizes inputs on every step
and infers world separation:

```diff
- MJWarpSolverCfg(update_data_interval=2, ls_parallel=False)
+ MJWarpSolverCfg()
```

Delete ignored-option warning shims and the private synchronization
call. Reset becomes:

```python
self.native.reset(state, world_mask=world_mask, flags=0)
```

`flags=0` preserves the authored pose while clearing solver history.
Native MuJoCo CPU simulation requires one world. Remove
`KaminoPADMMCfg.compl_tolerance`, which Newton rejects; primal and dual
tolerances remain.

Other changes required by upstream behavior:

- Remove `MujocoCollisionCfg.solmix` and its USD writer; MuJoCo 4.1
removed that field. Use `priority` when one collider's parameters should
win.
- Rename `soft_contact_margin` to Newton's `soft_contact_gap`.
- Clear joint-level collision filtering for visual-only clones.
- Retain the original RGB camera references. Merged [Newton
isaac-sim#5791](newton-physics/newton#5791) fixes the
captured upload from freed ambient-light host memory.
- Keep only the MPM reference update: [Newton
isaac-sim#5021](newton-physics/newton#5021) changes the
fixture's particle contact calculation. Swapping only that solver code
reproduces the pile-shape change.
- Allow ten minutes for NIST and H1 startup; first-time kernel
compilation exceeded five minutes on CI.

One independent CI fix remains: remove an unused Omniverse documentation
inventory that returns HTTP 403.

## CUDA 13 and CI

Use standard indexed Warp 1.20 without platform wheel URLs or
application compiler overrides. The merged [LEAPP
isaac-sim#112](nvidia-isaac/leapp#112), commit
[`e43b364`](nvidia-isaac/leapp@e43b364),
stops changing process-wide Warp compiler settings on import. Pin that
merged `develop` commit in the LEAPP extra and RL CI job. On the
original runner, this fix passed the full RL suite: 292 passed, one
skipped.

**ARM OptiX still needs a runner driver update.** Newton now installs
OptiX on ARM64 too. The Spark runner has `580.159.03`; OptiX 9.1
requires **R590 or newer** ([NVIDIA
requirements](https://developer.nvidia.com/designworks/optix/download)).
Its eight Newton Warp rendering cases pass against the original goldens,
but OptiX fails during import with `Unsupported ABI version`. The merged
CI configuration marks this ARM-only case as an expected failure until
the runner driver is updated.

## Validation

- Updated the windowless viewer fixtures for camera revisions, the
relocated GUI module, and text-input capture. All 55 visualizer adapter
tests pass.
- Updated OVPhysX native-delay coverage to `CommandInterfaceDelay` and
`command_interface_state`. All 51 OV articulation tests pass, with 15
existing skips. Both suites failed on the old fixture APIs before the
update.

- All 11 MJCF importer tests pass with published converter 0.7.0, MuJoCo
4.1.0, Warp 1.20.0, and the local patch. The original CI run failed all
11 on the missing `solmix` field.
- All 54 actuator-collection and root/wheel packaging tests pass with
the restored dependency set.
- Full formatting/lint, changelog, LFS, and lock consistency checks
pass.
- The same Newton revision previously passed nine selected rendering
cases with the original references and 182 focused actuator, solver,
sensor, reset, and packaging cases. The final converter patch changes
only MJCF conversion.

CI validates the rebuilt images and platform coverage on the updated
head. ARM OptiX is recorded as an expected failure pending the driver
update above.

---------

Co-authored-by: Kelly Guo <[email protected]>
(cherry picked from commit 2578a6a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants