Repository navigation
[Fix] Cherry-pick pillow floor to stop arm64 prebundle deletion in docker installs - #6467
Conversation
Cherry-pick of isaac-sim#6437 onto release/3.0.0-beta2, plus the isaaclab_rl floor the per-package install path on this branch needs. The publish-images arm64 leg fails since the isaac-sim#6436 invariant landed: moviepy 2.2.1 caps pillow<12.0, so the isaaclab_rl install batches downgrade pillow to 11.3.0 and delete the prebundled pillow 12.2.0 from omni.kit.pip_archive, dangling its per-file symlink farm on aarch64 (nvbugs 6410989). isaaclab's own pillow==12.2.0 pin is not in scope of those batches, so it only produces a resolver warning. - Relax isaaclab's exact pillow==12.2.0 pin to >=12.1.1 so a future base-image bump cannot force the same downgrade (mirrors isaac-sim#6437). - Add pillow>=12.1.1 to isaaclab_rl so its standalone batches back moviepy off to 1.0.3 instead of downgrading pillow. - Mirror both changes in tools/wheel_builder/res/python_packages.toml.
Mirror of isaac-sim#6454 adapted to this branch: with the pillow floor in place, stable moviepy 2.x (pillow<12.0 cap) is excluded, and prerelease-allowing resolvers (uv with prerelease=allow) fall through to the broken 2.0.0.dev2 build whose write_videofile drops the clip fps and crashes video recording. The explicit >=1.0.3,<2.0.0.dev0 bound makes pip and uv both resolve stable 1.0.3.
Greptile SummaryThis PR updates packaging constraints to avoid deleting Isaac Sim's prebundled Pillow copy.
Confidence Score: 5/5This looks safe to merge after considering the dependency-boundary cleanup.
Important Files Changed
Reviews (1): Last reviewed commit: "Bound moviepy to the 1.x line" | Re-trigger Greptile |
| "pillow==12.2.0", | ||
| # pillow: floor, not exact — an exact pin below Isaac Sim's prebundled version forces a | ||
| # downgrade that deletes the prebundled copy other extensions symlink into (nvbugs 6410989). | ||
| "pillow>=12.1.1", |
There was a problem hiding this comment.
With only pillow>=12.1.1, a fresh install can resolve to the next compatible Pillow major as soon as it is published, instead of staying on the Isaac Sim prebundle line this package is trying to protect. If Isaac Sim extensions still ship and test against Pillow 12.x, this can put the active environment and the prebundle on different major versions and break extension startup or image handling without another dependency change.
| "pillow==12.2.0", | ||
| # pillow: floor, not exact — an exact pin below Isaac Sim's prebundled version forces a | ||
| # downgrade that deletes the prebundled copy other extensions symlink into (nvbugs 6410989). | ||
| "pillow>=12.1.1", |
There was a problem hiding this comment.
The generated wheel receives the same open-ended pillow>=12.1.1 dependency. A standalone wheel install can therefore pick a future Pillow major automatically, even though this dependency is meant to stay compatible with the Isaac Sim prebundled Pillow line, so users can get a different major version at install time without changing IsaacLab.
763cb1c
into
isaac-sim:release/3.0.0-beta2
Description
Cherry-pick of #6437 onto
release/3.0.0-beta2, plus theisaaclab_rlpillow floor that this branch's per-package install path additionally needs. Unblocks thePublish Docker Imagesarm64 leg, which fails since the #6436 post-install invariant landed (run 29124274839).1. Summary
moviepy(unpinned inisaaclab_rl) resolves to 2.2.1, which capspillow<12.0. The standaloneisaaclab_rlinstall batches do not haveisaaclab's pillow pin in their resolution set, so pip downgrades pillow to 11.3.0 and uninstalls the prebundled pillow 12.2.0 fromomni.kit.pip_archive— on aarch64 that dangles the per-file symlink farm (228 links incl.PIL/__init__.py) and breaks extension startup at runtime (nvbugs 6410989). Green builds before the invariant were already doing this silently (run 28493820266 shows the sameUninstalling pillow-12.2.0).source/isaaclab_rl/setup.py: added apillow>=12.1.1floor — pip then backs moviepy off to 1.0.3 instead of touching pillow.source/isaaclab/setup.py: relaxed the exactpillow==12.2.0pin to>=12.1.1(the [Fix] Stop docker installs downgrading pillow and breaking arm64 prebundles #6437 change), so a future Isaac Sim base-image bump past the pinned version cannot force the same downgrade.tools/wheel_builder/res/python_packages.toml: mirrored both changes.moviepybounded to>=1.0.3,<2.0.0.dev0(the Fixes video recording crashing on installs that resolve moviepy 2.0.0.dev2 #6454 change adapted to this branch): with the floor excluding stable moviepy 2.x, prerelease-allowing resolvers (uv withprerelease = "allow") otherwise fall through to the broken2.0.0.dev2build; the bound makes pip and uv both resolve stable 1.0.3.2. Backport adaptations vs #6437
setup.pyfiles + the wheel spec instead of the rootpyproject.toml.isaaclab_rlfloor is beta2-specific: develop resolvesisaaclab+ RL dependencies in one pip batch where the central floor is in scope; this branch installs per package, soisaaclab_rl's own resolution needs the floor. An exactpillow==12.2.0inisaaclabdemonstrably did not protect it — the failing run showsUninstalling pillow-12.2.0during theisaaclab_rlbatch with only a resolver warning for the isaaclab pin.3. Test plan
pip install --dry-run --reportofsource/isaaclab_rl):pillow 11.3.0+moviepy 2.2.1(the prebundle-deleting downgrade)moviepy 1.0.3+decorator 4.4.2; pillow untouchedsource/isaaclab/test/cli— 140 passed, 1 skipped locally.docker build -f docker/Dockerfile.basewith the fix (in progress).Publish Docker Imagesrun onrelease/3.0.0-beta2validates the arm64 leg — run 29124274839 is the FAIL baseline.