Skip to content

Fix pink ik dep pinning - #5846

Merged
StafaH merged 1 commit into
isaac-sim:developfrom
StafaH:mh/fix_pink_dep_pin
May 28, 2026
Merged

StafaH merged 1 commit into
isaac-sim:developfrom
StafaH:mh/fix_pink_dep_pin

Conversation

@StafaH

@StafaH StafaH commented May 28, 2026

Copy link
Copy Markdown
Collaborator

Description

Fixes pink IK dependency

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 isaac-lab Related to Isaac Lab team labels May 28, 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

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.0 to ==3.1.0 and >=0.8.5 to ==0.8.5 is 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 .skip file in changelog.d/ correctly indicates this is a maintenance fix.

⚠️ Minor observations (not blocking)

  • 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 pin dependency (Pinocchio) remains unpinned with no version constraint. If pin-pink and daqp have compatibility issues with certain pin versions, 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-apps

greptile-apps Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR tightens the pin-pink and daqp dependency specifiers from minimum-version (>=) to exact-version (==) pins to prevent a breaking change introduced in newer releases from being silently picked up.

  • pin-pink pinned to ==3.1.0 and daqp pinned to ==0.8.5 (both Linux-only); the accompanying comment was updated to explain the rationale.
  • An empty towncrier .skip file is added, intentionally suppressing a changelog entry for this dependency fix.

Confidence Score: 5/5

Safe 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

Filename Overview
source/isaaclab/pyproject.toml Pins pin-pink and daqp to exact versions (==3.1.0 and ==0.8.5) to avoid a breaking change introduced by newer releases; comment updated accordingly.
source/isaaclab/changelog.d/mh-fix-pink-dep-pin.skip Empty towncrier .skip fragment — intentionally suppresses a changelog entry for this fix.

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]
Loading

Reviews (1): Last reviewed commit: "Fix pink ik dep pinning" | Re-trigger Greptile

@StafaH
StafaH merged commit c152b19 into isaac-sim:develop May 28, 2026
37 checks passed
@StafaH
StafaH deleted the mh/fix_pink_dep_pin branch May 28, 2026 21:05
hujc7 added a commit that referenced this pull request Jul 8, 2026
…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.
hujc7 added a commit that referenced this pull request Jul 10, 2026
…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]>
matthewtrepte pushed a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 4, 2026
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants