Skip to content

[Fix] Pin LEAPP to 0.6.1 - #7592

Merged
ooctipus merged 3 commits into
isaac-sim:developfrom
StafaH:fix/pin-leapp-below-0.7
Sep 5, 2026
Merged

ooctipus merged 3 commits into
isaac-sim:developfrom
StafaH:fix/pin-leapp-below-0.7

Conversation

@StafaH

@StafaH StafaH commented Sep 5, 2026 •

Copy link
Copy Markdown
Collaborator

Description

LEAPP 0.7.0 introduced two regressions in the Isaac Lab export suite after it was published on September 4:

  • Kuka-Allegro export re-enters the graph with robot_root_link_quat_w after registering the aliased tensor as robot_root_quat_w.
  • SKRL Cartpole export fails while LEAPP reconstructs Warp BuiltinCallDesc tuple subclasses during wp.rand_init interception.

The isaaclab_rl package-test job installed bare leapp, so the new release entered CI without a repository change. The same failures appeared in unrelated PRs, including #7585 and #7544.

This change pins both the public leapp extra and the package-test installation to leapp==0.6.1. The lockfile now resolves the same version, keeping project environments and CI aligned until the LEAPP 0.7 regressions are fixed upstream.

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

Screenshots

Not applicable.

Validation

  • uv lock --check passed.
  • uv run --extra leapp python -c "..." resolved and verified LEAPP 0.6.1.
  • Focused pre-commit YAML and TOML checks passed.
  • uv run isaaclab -f passed every formatting, syntax, metadata, and spelling hook except the changelog-fragment hook. That hook reports four pre-existing develop-base fragment problems in isaaclab_newton, isaaclab_tasks, isaaclab_experimental, and isaaclab_visualizers; this PR changes no source/ path.
  • git diff --check upstream/develop passed.

Checklist

  • I have read and understood the contribution guidelines.
  • I have run the pre-commit checks; the unrelated base-branch changelog failure is documented above.
  • Documentation changes are not required for this dependency pin.
  • My changes generate no new warnings.
  • No test was added; dependency resolution and repository metadata checks cover this pinning change.
  • No changelog fragment is required because no release-managed package under source/ changes.
  • My name already exists in CONTRIBUTORS.md.

@StafaH
StafaH requested a review from a team September 5, 2026 01:18
@github-actions github-actions Bot added bug Something isn't working infrastructure labels Sep 5, 2026

@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 change consistently excludes the known-broken LEAPP 0.7 release from the public optional extra and stabilizes the isaaclab_rl package-test job on the already resolved 0.6.0 release.

  • Design and architecture: The compatibility bound is placed at the dependency declaration rather than worked around in export code. The corresponding lockfile package metadata and CI installation path were checked and are aligned with that decision.
  • API: No Python, CLI, or configuration API changes. The externally visible dependency contract changes from leapp>=0.5.2 to leapp>=0.5.2,<0.7.0, preserving the existing supported range while excluding the reported incompatible release. No release-managed source package is changed.
  • Implementation: The pyproject.toml and uv.lock requirement specifiers match, while CI explicitly installs LEAPP 0.6.0. The exact CI pin provides deterministic regression coverage, although it will not automatically exercise a future compatible 0.6.x patch release allowed by the public extra.

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

Automated review; human maintainers own approval decisions.

@greptile-apps

greptile-apps Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR consistently excludes the regressed LEAPP 0.7 release while retaining LEAPP 0.6.0 as the resolved and CI-tested version.

  • Adds an upper compatibility bound to the public leapp extra.
  • Pins the package-test job to LEAPP 0.6.0.
  • Synchronizes the lockfile’s optional-dependency metadata without changing its resolved packages.

Confidence Score: 5/5

The PR appears safe to merge because its workflow pin, public dependency bound, and lockfile metadata are consistent.

No actionable failure remains: CI and the lockfile select LEAPP 0.6.0, the public extra excludes the regressed 0.7 release, and no unrelated dependency resolution changes were introduced.

Important Files Changed

Filename Overview
.github/workflows/build.yaml Pins the Isaac Lab RL package-test installation to the known-good LEAPP 0.6.0 release.
pyproject.toml Constrains the public LEAPP optional dependency to versions from 0.5.2 through the 0.6 series.
uv.lock Mirrors the new LEAPP compatibility bound in package metadata while leaving the resolved LEAPP version unchanged.

Reviews (1): Last reviewed commit: "Pin LEAPP below 0.7" | Re-trigger Greptile

@StafaH StafaH changed the title [Fix] Pin LEAPP below 0.7 [Fix] Pin LEAPP to 0.6.1 Sep 5, 2026
@StafaH

StafaH commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator Author

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 Sep 5, 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 Sep 5, 2026
@ooctipus
ooctipus merged commit 995d96c into isaac-sim:develop Sep 5, 2026
86 of 115 checks passed
@isaaclab-bot

isaaclab-bot Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.0.0 as b5741a8.

isaaclab-bot Bot pushed a commit that referenced this pull request Sep 5, 2026
# Description

LEAPP 0.7.0 introduced two regressions in the Isaac Lab export suite
after it was published on September 4:

- Kuka-Allegro export re-enters the graph with `robot_root_link_quat_w`
after registering the aliased tensor as `robot_root_quat_w`.
- SKRL Cartpole export fails while LEAPP reconstructs Warp
`BuiltinCallDesc` tuple subclasses during `wp.rand_init` interception.

The `isaaclab_rl` package-test job installed bare `leapp`, so the new
release entered CI without a repository change. The same failures
appeared in unrelated PRs, including #7585 and #7544.

This change pins both the public `leapp` extra and the package-test
installation to `leapp==0.6.1`. The lockfile now resolves the same
version, keeping project environments and CI aligned until the LEAPP 0.7
regressions are fixed upstream.

## Type of change

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

## Release backport

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

## Screenshots

Not applicable.

## Validation

- `uv lock --check` passed.
- `uv run --extra leapp python -c "..."` resolved and verified LEAPP
0.6.1.
- Focused pre-commit YAML and TOML checks passed.
- `uv run isaaclab -f` passed every formatting, syntax, metadata, and
spelling hook except the changelog-fragment hook. That hook reports four
pre-existing `develop`-base fragment problems in `isaaclab_newton`,
`isaaclab_tasks`, `isaaclab_experimental`, and `isaaclab_visualizers`;
this PR changes no `source/` path.
- `git diff --check upstream/develop` passed.

## Checklist

- [x] I have read and understood the contribution guidelines.
- [x] I have run the pre-commit checks; the unrelated base-branch
changelog failure is documented above.
- [x] Documentation changes are not required for this dependency pin.
- [x] My changes generate no new warnings.
- [x] No test was added; dependency resolution and repository metadata
checks cover this pinning change.
- [x] No changelog fragment is required because no release-managed
package under `source/` changes.
- [x] My name already exists in `CONTRIBUTORS.md`.

(cherry picked from commit 995d96c)
ooctipus added a commit that referenced this pull request Sep 6, 2026
# Description

This follows #7462 by making the simulation's `ClonePlan` available
before cfg-owned scene construction.

`ReplicateSession` now builds and publishes the plan on entry,
constructs every participant at its planned source path, and dispatches
that same object on exit. `SimulationContext` remains the canonical
owner of the plan pointer; no secondary lifecycle state, constructor
ownership heuristic, stage discovery, fallback context, or second clone
mapping is introduced.

`InteractiveScene` owns this lifecycle for cfg-declared scenes. An empty
`InteractiveScene` authors only the env-0 prototype and leaves
replication to direct task setup. That removes redundant
environment-root authoring while preserving direct workflows with custom
clone positions. Plan positions remain NumPy during scene construction
and become a cached device tensor only when the public `env_origins`
property is read.

Kitless shadow visualization now takes its environment count and world
positions from the same plan instead of rediscovering destination env
transforms on USD. This lets OVPhysX feed Newton Renderer or OVRTX
without requiring redundant destination prims.

## Migration

Custom cfg-owned composition roots should use the session around cfg
construction:

```python
with cloner.ReplicateSession(asset_cfgs, num_clones=num_envs, env_spacing=env_spacing):
    for cfg in asset_cfgs:
        cfg.class_type(cfg)
```

Homogeneous direct workflows construct env 0 first, then finish their
one clone lifecycle explicitly:

```python
plan = cloner.clone_plan_from_env_0(src, dest, num_envs, positions, global_paths=global_paths)
cloner.replicate(plan)
```

## Size

| Scope | Added | Deleted | Net |
| --- | ---: | ---: | ---: |
| This PR | 180 | 143 | +37 |
| Production | 79 | 79 | 0 |
| #7462 + this PR | 1,413 | 1,813 | -400 |

## Performance

The earlier functional 3B head was performance-neutral in one matched
warm sample on physical GPU 0 using `Isaac-Lift-KukaAllegro`, 4,096
environments, Newton MJWarp physics, and no visualizer:

| Metric | This PR | merged develop |
| --- | ---: | ---: |
| Total startup | 42.58 s | 43.11 s |
| Environment creation | 39.76 s | 39.24 s |
| First step | 0.658 s | 0.637 s |

The cleanup commits remove redundant empty-scene root authoring and
eager environment-origin tensor creation. A current-head Kuka sample
will replace this table when the shared physical GPU 0 is idle.

## Type of change

- Breaking change
- Bug fix
- Documentation update

## Release backport

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

## Screenshots

Not applicable.

## Validation

- 92 clone-plan and `ReplicateSession` tests passed
- 3 focused `InteractiveScene` origin/lifecycle tests passed on CPU and
CUDA
- 16 Newton clone/visualization-builder tests passed
- 22 Newton shadow-model lifecycle tests passed
- The missing-destination regression test fails with `KeyError` before
the fix and passes after it
- OVPhysX → Newton Renderer completed creation, reset, and first
rendered step with only the env-0 USD prototype
- Former CI failures passed: visual-material scene (1), multi-mesh
ray-caster camera (21), ray-caster integration (7), and Newton
duplicate-body frame transforms (4)
- PhysX and Newton visual-color-randomization demos reached setup and
continued through repeated resets
- Warning-free current documentation build passed
- Repository formatting, lint, changelog, and LFS checks passed
- `git diff --check` passed

The prior `isaaclab_rl` failure is the independent LEAPP 0.7 regression
fixed by #7592; this PR does not duplicate that dependency pin.

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks
- [x] I have made corresponding documentation changes
- [x] My changes generate no new warnings
- [x] I have added focused lifecycle and regression tests
- [x] I have added the required changelog fragments
- [x] My name already exists in `CONTRIBUTORS.md`
@StafaH
StafaH deleted the fix/pin-leapp-below-0.7 branch September 13, 2026 12:10
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.

3 participants