Repository navigation
Fix pink ik dep pinning - #5846
Conversation
There was a problem hiding this comment.
🤖 Isaac Lab Review Bot
Summary
This PR pins pin-pink to version 3.1.0 and daqp to version 0.8.5 (changing from >= to ==) to avoid a breaking change in newer versions. The change is well-scoped and includes a changelog skip file, indicating this is a maintenance fix that doesn't require a user-facing changelog entry.
Findings
✅ No issues found
- Dependency pinning rationale: The comment clearly states the reason for pinning ("requires pinning to 3.1.0 and 0.8.5 to avoid breaking change"). This is appropriate for IK controller dependencies where API stability is critical.
- Version constraints: Changing from
>=3.1.0to==3.1.0and>=0.8.5to==0.8.5is a reasonable defensive measure when upstream packages introduce breaking changes. - Platform constraints preserved: The Linux platform restrictions (
platform_system == 'Linux'and architecture checks) remain intact. - Changelog handling: The
.skipfile inchangelog.d/correctly indicates this is a maintenance fix.
- Exact version pinning (
==) can make future updates more difficult. Consider documenting why these specific versions are required (e.g., link to upstream issue/changelog) so future maintainers know when it's safe to relax the constraint. - The
pindependency (Pinocchio) remains unpinned with no version constraint. Ifpin-pinkanddaqphave compatibility issues with certainpinversions, you may want to consider pinning that as well.
Test Coverage
No new tests are needed for a dependency version pinning change. The existing CI installation tests will verify the packages install correctly.
CI Status
⏳ In Progress - Core checks (pre-commit, wheel build, changelog, labeler) have passed. Installation tests are still running, which will validate the dependency changes work correctly.
Verdict
No issues found — Clean dependency pinning fix with appropriate justification. Ship it! 🚀
Greptile SummaryThis PR tightens the
Confidence Score: 5/5Safe to merge — the change is a targeted dependency pin with a clear justification comment and no logic modifications. Both changed lines do exactly what the comment describes: switch pin-pink and daqp from open-ended minimum-version constraints to exact pins, preventing a known breaking release from being resolved. The pin package itself carries no version constraint, which is consistent with it being an implicit transitive dependency of pin-pink. No code logic, APIs, or tests are touched. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[pip install isaaclab] --> B{platform_system == Linux\nand platform_machine in\nx86_64 AMD64 aarch64 arm64}
B -- Yes --> C[install pin\nno version constraint]
B -- Yes --> D[install pin-pink==3.1.0\npreviously >=3.1.0]
B -- Yes --> E[install daqp==0.8.5\npreviously >=0.8.5]
B -- No --> F[skip IK controller deps]
C & D & E --> G[IK controller available]
Reviews (1): Last reviewed commit: "Fix pink ik dep pinning" | Re-trigger Greptile |
…undle deletion, pin-pink) (#6329) # Description Fixes the Docker-only error flood in nvbugs 6343978 (follow-up to #6288): streaming starts, but the log carries 438 `[Error]` lines and 14 Isaac Sim extensions fail to load. uv installs are unaffected. Two independent causes, both Isaac Lab's install mutating packages that Isaac Sim's extensions rely on. ## Summary - **`packaging` deleted from a shared prebundle.** The vestigial `packaging<24` bound in `isaaclab_rl` forced a downgrade; pip (which sees prebundle paths through `python.sh`'s environment) uninstalled `packaging-26.0` from the `omni.isaac.core_archive` prebundle. `omni.services.pip_archive` shares that package as per-file symlinks, so the deletion dangled the farm and cascaded into 13 extension startup failures. Fixed by relaxing the bound (no consumer requires it; now in the root `pyproject.toml` after the #6009 centralization), plus a **fail-loud invariant**: the install aborts if pip leaves a prebundled package with a dangling `__init__.py`. - **`pin-pink==3.1.0` too old for Isaac Sim 6.x.** `isaacsim.robot_motion.pink` needs `pink.exceptions.NoSolutionFound` (pink ≥ 3.3.0). Isaac Sim bundles pink 4.2.0, but the install replaces it with the kit-site-packages copy, pinned to 3.1.0 since pink 3.4+ broke the `pink_ik` task API (#5846). Bumped to **3.3.0**, which satisfies both consumers (`DampingTask.set_target_from_configuration` verified present on both wheels). The pin lives once in the root `pyproject.toml`; the install CLI now derives its force-install stack from those entries instead of a hardcoded copy. - **Impact**: an image rebuilt with this PR runs the exact reported command with **0 errors / 0 tracebacks / 0 extension failures** (broken image and the customer's attached log: 438 / 34 / 14). ## 1. Design notes 1. **Invariant scoping (empirical).** Every docker build routinely replaces prebundled dists (numpy, the cmeel/pinocchio stack, scipy, …) and leaves ~42 dangling links to files Python never imports at startup (test modules, `WHEEL`/license files, cmake hooks) — none of them `__init__.py`. The harmful class (this bug) dangles package `__init__.py` files, making the package unimportable for every extension that loads it. The install therefore fails only on a new dangling `__init__.py` and warns on other new dangling links. 2. **Considered and rejected: hiding prebundles from pip.** Routing pip to the concrete kit interpreter also prevents deletions, but changes dependency resolution build-wide: deps previously satisfied by prebundled copies get freshly resolved into kit site-packages, and the `isaacteleop` step then downgraded numpy to 2.3.5 and pin to 3.9.0 — CI measured the `rsl_rl` export flow at ~4.4× baseline (600s timeouts vs 168s). Prebundle-visible resolution is kept as-is, with the invariant as the guard. ## 2. Validation - **End-to-end on a fresh image built from this PR** (Isaac Sim base digest `99e4e4cfae17…`): `isaac-sim.streaming.sh --allow-root` reaches streaming at ~34 s, stays alive to timeout, with 0 Kit errors, 0 tracebacks, 0 extension-startup failures. Baked state: `packaging` 26.0 resolves from the prebundle, pink 3.3.0 imports from kit site-packages, 0 dangling `__init__.py` anywhere in the prebundles. - **Customer log cross-check**: the attached `isaaclab_streaming_20260702.log` has the identical 438-error class set as the local broken reproduction — both roots, no third issue. - **Invariant**: catches the packaging cascade in-container (RuntimeError naming the broken `omni.services.pip_archive` links) and passes the routine-residue case. - **Tests**: install CLI suites 148 passed / 1 skipped (invariant + derived-stack tests); `test_pink_ik_components.py` with pink 3.3.0 — 21 passed. CI fully green; the export flow runs at its 168 s baseline. Fixes nvbugs 6343978.
…etion, pin-pink) (#6436) # Description Cherry-pick of #6329 onto `release/3.0.0-beta2` — the follow-up to #6295 for NVBug 6410989 (continuation of NVBug 6343978): Docker streaming works but the log floods with 438 `[Error]` lines and 14 Isaac Sim extensions fail to load. uv installs are unaffected. ## 1. Summary - Relaxed the vestigial `packaging<24` bound in `isaaclab_rl` — it forced pip to downgrade `packaging` and delete it from the `omni.isaac.core_archive` prebundle, dangling the per-file symlink farm `omni.services.pip_archive` shares with it (13 extension startup failures). - Bumped `pin-pink` `3.1.0` → `3.3.0` at every pin site — `isaacsim.robot_motion.pink` needs `pink.exceptions.NoSolutionFound` (pink ≥ 3.3.0); pink 3.4+ stays excluded (pink_ik task-API break, #5846). The wheel spec's `pin-pink>=2.3.6` also becomes `==3.3.0` (it currently resolves to 4.x). - Added the fail-loud post-install invariant: the install aborts when pip leaves a prebundled Isaac Sim package with a dangling `__init__.py`; other new dangling links only warn. ## 2. Backport adaptations vs #6329 This branch predates the #6009 dependency centralization, so: - Pin edits land in `source/isaaclab/setup.py`, `source/isaaclab_rl/setup.py`, and `tools/wheel_builder/res/python_packages.toml` instead of the root `pyproject.toml`. - The install CLI keeps its hardcoded `_PINK_IK_STACK` (bumped to 3.3.0); the pyproject-derived stack from #6329 and its tests are not ported — the derivation would `KeyError` here since the root `pyproject.toml` has no pin entries on this branch. - `import pytest` added to `test_install_prebundle.py` (develop had it from an intermediate commit not on this branch). ## 3. Heads-up: the invariant can surface latent arm64 breakage On develop, the first nightly image build containing #6329 failed its arm64 leg because the invariant caught a real prebundle breakage (Pillow deleted from `omni.kit.pip_archive`). If this release branch's arm64 docker build has a similar latent issue, the invariant will turn a silently-broken image into a failed build — that is by design, but worth knowing before merging. ## 4. Test plan - [x] `source/isaaclab/test/cli/` — 141 passed locally (prebundle invariant tests included). - [ ] PR CI green. --------- Co-authored-by: Piotr Barejko <[email protected]>
…undle deletion, pin-pink) (isaac-sim#6329) # Description Fixes the Docker-only error flood in nvbugs 6343978 (follow-up to isaac-sim#6288): streaming starts, but the log carries 438 `[Error]` lines and 14 Isaac Sim extensions fail to load. uv installs are unaffected. Two independent causes, both Isaac Lab's install mutating packages that Isaac Sim's extensions rely on. ## Summary - **`packaging` deleted from a shared prebundle.** The vestigial `packaging<24` bound in `isaaclab_rl` forced a downgrade; pip (which sees prebundle paths through `python.sh`'s environment) uninstalled `packaging-26.0` from the `omni.isaac.core_archive` prebundle. `omni.services.pip_archive` shares that package as per-file symlinks, so the deletion dangled the farm and cascaded into 13 extension startup failures. Fixed by relaxing the bound (no consumer requires it; now in the root `pyproject.toml` after the isaac-sim#6009 centralization), plus a **fail-loud invariant**: the install aborts if pip leaves a prebundled package with a dangling `__init__.py`. - **`pin-pink==3.1.0` too old for Isaac Sim 6.x.** `isaacsim.robot_motion.pink` needs `pink.exceptions.NoSolutionFound` (pink ≥ 3.3.0). Isaac Sim bundles pink 4.2.0, but the install replaces it with the kit-site-packages copy, pinned to 3.1.0 since pink 3.4+ broke the `pink_ik` task API (isaac-sim#5846). Bumped to **3.3.0**, which satisfies both consumers (`DampingTask.set_target_from_configuration` verified present on both wheels). The pin lives once in the root `pyproject.toml`; the install CLI now derives its force-install stack from those entries instead of a hardcoded copy. - **Impact**: an image rebuilt with this PR runs the exact reported command with **0 errors / 0 tracebacks / 0 extension failures** (broken image and the customer's attached log: 438 / 34 / 14). ## 1. Design notes 1. **Invariant scoping (empirical).** Every docker build routinely replaces prebundled dists (numpy, the cmeel/pinocchio stack, scipy, …) and leaves ~42 dangling links to files Python never imports at startup (test modules, `WHEEL`/license files, cmake hooks) — none of them `__init__.py`. The harmful class (this bug) dangles package `__init__.py` files, making the package unimportable for every extension that loads it. The install therefore fails only on a new dangling `__init__.py` and warns on other new dangling links. 2. **Considered and rejected: hiding prebundles from pip.** Routing pip to the concrete kit interpreter also prevents deletions, but changes dependency resolution build-wide: deps previously satisfied by prebundled copies get freshly resolved into kit site-packages, and the `isaacteleop` step then downgraded numpy to 2.3.5 and pin to 3.9.0 — CI measured the `rsl_rl` export flow at ~4.4× baseline (600s timeouts vs 168s). Prebundle-visible resolution is kept as-is, with the invariant as the guard. ## 2. Validation - **End-to-end on a fresh image built from this PR** (Isaac Sim base digest `99e4e4cfae17…`): `isaac-sim.streaming.sh --allow-root` reaches streaming at ~34 s, stays alive to timeout, with 0 Kit errors, 0 tracebacks, 0 extension-startup failures. Baked state: `packaging` 26.0 resolves from the prebundle, pink 3.3.0 imports from kit site-packages, 0 dangling `__init__.py` anywhere in the prebundles. - **Customer log cross-check**: the attached `isaaclab_streaming_20260702.log` has the identical 438-error class set as the local broken reproduction — both roots, no third issue. - **Invariant**: catches the packaging cascade in-container (RuntimeError naming the broken `omni.services.pip_archive` links) and passes the routine-residue case. - **Tests**: install CLI suites 148 passed / 1 skipped (invariant + derived-stack tests); `test_pink_ik_components.py` with pink 3.3.0 — 21 passed. CI fully green; the export flow runs at its 168 s baseline. Fixes nvbugs 6343978.
Description
Fixes pink IK dependency
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there