Repository navigation
[Fix] Pin LEAPP to 0.6.1 - #7592
Conversation
There was a problem hiding this comment.
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.2toleapp>=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.tomlanduv.lockrequirement 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 SummaryThis PR consistently excludes the regressed LEAPP 0.7 release while retaining LEAPP 0.6.0 as the resolved and CI-tested version.
Confidence Score: 5/5The 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
Reviews (1): Last reviewed commit: "Pin LEAPP below 0.7" | Re-trigger Greptile |
|
run-ci |
|
run-ci |
|
Backported to |
# 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)
# 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`
Description
LEAPP 0.7.0 introduced two regressions in the Isaac Lab export suite after it was published on September 4:
robot_root_link_quat_wafter registering the aliased tensor asrobot_root_quat_w.BuiltinCallDesctuple subclasses duringwp.rand_initinterception.The
isaaclab_rlpackage-test job installed bareleapp, 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
leappextra and the package-test installation toleapp==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
Release backport
developScreenshots
Not applicable.
Validation
uv lock --checkpassed.uv run --extra leapp python -c "..."resolved and verified LEAPP 0.6.1.uv run isaaclab -fpassed every formatting, syntax, metadata, and spelling hook except the changelog-fragment hook. That hook reports four pre-existingdevelop-base fragment problems inisaaclab_newton,isaaclab_tasks,isaaclab_experimental, andisaaclab_visualizers; this PR changes nosource/path.git diff --check upstream/developpassed.Checklist
source/changes.CONTRIBUTORS.md.