Skip to content

[TEST][DO-NOT-MERGE] Prove arm64 image build passes with the beta2 pillow floor - #6469

Closed
hujc7 wants to merge 3 commits into
isaac-sim:release/3.0.0-beta2from
hujc7:jichuanh/test-arm64-image-build-beta2
Closed

hujc7 wants to merge 3 commits into
isaac-sim:release/3.0.0-beta2from
hujc7:jichuanh/test-arm64-image-build-beta2

Conversation

@hujc7

@hujc7 hujc7 commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

Description

Diagnostic PR — not for merge. It exists only to run the linux/arm64 docker image build in CI and prove that #6467 fixes the Publish Docker Images arm64 failure on release/3.0.0-beta2.

1. What it contains

  • The exact changes from [Fix] Cherry-pick pillow floor to stop arm64 prebundle deletion in docker installs #6467 (pillow floors in isaaclab / isaaclab_rl / wheel spec).
  • A temporary workflow .github/workflows/test-arm64-image-build.yml that mirrors the linux/arm64 leg of publish-images.yaml — same QEMU/buildx setup, same build args, same Dockerfile — but build-only (no tags, no push). pull_request workflows run from the PR branch, so the job runs for this PR only.

2. How to read the result

  • FAIL baseline: run 29124274839 — the identical build step on this branch's parent commit (c5b042d) died in isaaclab.sh --install with RuntimeError: Installation broke 2 prebundled package(s) (dangling PIL/__init__.py in omni.kit.pip_archive).
  • The Build arm64 Base Image (no push) check passing on this PR = the same build with the pillow floor completes, i.e. pip no longer deletes the prebundled pillow (it backs moviepy off to 1.0.3 instead) and the post-install invariant passes.

3. Notes

hujc7 added 2 commits July 11, 2026 01:09
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.
Mirrors the linux/arm64 leg of publish-images.yaml as a pull_request
workflow (build only: no tags, no push) so CI can prove the pillow
floor fix repairs the arm64 image build before merging it. Not meant
to land; the branch exists only to carry this proof.
Remove the pull_request-triggered workflows so this DO-NOT-MERGE PR
only runs the arm64 image build proof, and add a concurrency group so
a new push cancels the superseded build.
kellyguo11 pushed a commit that referenced this pull request Jul 14, 2026
…cker installs (#6467)

# Description

Cherry-pick of #6437 onto `release/3.0.0-beta2`, plus the `isaaclab_rl`
pillow floor that this branch's per-package install path additionally
needs. Unblocks the `Publish Docker Images` arm64 leg, which fails since
the #6436 post-install invariant landed (run
[29124274839](https://github.com/isaac-sim/IsaacLab/actions/runs/29124274839)).

## 1. Summary

- Root cause on this branch: `moviepy` (unpinned in `isaaclab_rl`)
resolves to 2.2.1, which caps `pillow<12.0`. The standalone
`isaaclab_rl` install batches do not have `isaaclab`'s pillow pin in
their resolution set, so pip downgrades pillow to 11.3.0 and uninstalls
the prebundled pillow 12.2.0 from `omni.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](https://github.com/isaac-sim/IsaacLab/actions/runs/28493820266)
shows the same `Uninstalling pillow-12.2.0`).
- `source/isaaclab_rl/setup.py`: added a `pillow>=12.1.1` floor — pip
then backs moviepy off to 1.0.3 instead of touching pillow.
- `source/isaaclab/setup.py`: relaxed the exact `pillow==12.2.0` pin to
`>=12.1.1` (the #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.
- `moviepy` bounded to `>=1.0.3,<2.0.0.dev0` (the #6454 change adapted
to this branch): with the floor excluding stable moviepy 2.x,
prerelease-allowing resolvers (uv with `prerelease = "allow"`) otherwise
fall through to the broken `2.0.0.dev2` build; the bound makes pip and
uv both resolve stable 1.0.3.

## 2. Backport adaptations vs #6437

- This branch predates the #6009 dependency centralization, so the floor
lands in the two `setup.py` files + the wheel spec instead of the root
`pyproject.toml`.
- The extra `isaaclab_rl` floor is beta2-specific: develop resolves
`isaaclab` + RL dependencies in one pip batch where the central floor is
in scope; this branch installs per package, so `isaaclab_rl`'s own
resolution needs the floor. An exact `pillow==12.2.0` in `isaaclab`
demonstrably did not protect it — the failing run shows `Uninstalling
pillow-12.2.0` during the `isaaclab_rl` batch with only a resolver
warning for the isaaclab pin.

## 3. Test plan

- [x] Resolver regression proof (py3.12 venv with pillow 12.2.0
preinstalled — the prebundle state — then `pip install --dry-run
--report` of `source/isaaclab_rl`):
- without fix: plans `pillow 11.3.0` + `moviepy 2.2.1` (the
prebundle-deleting downgrade)
- with fix: plans `moviepy 1.0.3` + `decorator 4.4.2`; pillow untouched
- [x] `source/isaaclab/test/cli` — 140 passed, 1 skipped locally.
- [x] pre-commit clean on all files.
- [ ] Local amd64 `docker build -f docker/Dockerfile.base` with the fix
(in progress).
- [ ] PR CI green (incl. Build Base Docker Image + ARM installation
tests).
- [x] arm64 proof: diagnostic PR #6469 ran the exact publish arm64 leg
(build-only) with this fix — green (run
[29134632249](https://github.com/isaac-sim/IsaacLab/actions/runs/29134632249)):
moviepy backtracks to 1.0.3, no pillow uninstall, post-install invariant
passes.
- [ ] After merge: the next `Publish Docker Images` run on
`release/3.0.0-beta2` validates the arm64 leg — run
[29124274839](https://github.com/isaac-sim/IsaacLab/actions/runs/29124274839)
is the FAIL baseline.
@hujc7 hujc7 closed this Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant