Repository navigation
Fixes video recording crashing on installs that resolve moviepy 2.0.0.dev2 - #6454
Merged
Merged
Conversation
myurasov-nv
force-pushed
the
my-moviepy-bound
branch
from
July 11, 2026 05:29
6d4bbab to
2897021
Compare
myurasov-nv
marked this pull request as ready for review
July 11, 2026 05:30
Contributor
Greptile SummaryThis PR updates the video-recording dependency path. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (1): Last reviewed commit: "Bound moviepy to the 1.x line: stable 2...." | Re-trigger Greptile |
hujc7
added a commit
to hujc7/IsaacLab
that referenced
this pull request
Jul 11, 2026
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.
4 of 7 tasks
myurasov-nv
force-pushed
the
my-moviepy-bound
branch
from
July 11, 2026 23:53
2897021 to
88a1499
Compare
Member
Author
|
The ARM CI failures are a runner network outage (PyPI unreachable during pip install), unrelated to this change. |
ooctipus
approved these changes
Jul 13, 2026
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.
matthewtrepte
pushed a commit
to matthewtrepte/IsaacLab
that referenced
this pull request
Aug 4, 2026
….dev2 (isaac-sim#6454) # Description Installs that allow pre-releases (as the documented Isaac Sim pip install does) resolve the unbounded `moviepy` dependency to the broken `2.0.0.dev2` build, whose `write_videofile` drops the clip fps. Every RecordVideo write then fails with `TypeError: must be real number, not NoneType`, and `--video` runs exit 1. Bounding to `moviepy>=1.0.3,<2.0.0.dev0` pins the 1.x line (stable 2.x cannot be used: it caps pillow below the version Isaac Lab requires, which is also what pushed prerelease resolvers down to dev2). Verified on a fresh source install: the cartpole smoke with `--video` crashed before and writes a playable mp4 with moviepy 1.0.3 after. | Before | After | | ------ | ----- | | `TypeError: must be real number, not NoneType` at every RecordVideo write; run exits with code 1 | mp4 written and playable; run exits with code 0 | ## Reproduction 1. On develop, install per the pip installation guide (its resolver flags allow pre-releases; `moviepy` resolves to `2.0.0.dev2`). 2. Run: ```bash ./isaaclab.sh -p scripts/reinforcement_learning/rsl_rl/train.py --task Isaac-Cartpole-Direct \ --num_envs 16 presets=newton_mjwarp --max_iterations 5 --video --video_length 100 ``` 3. Every video write fails with `TypeError: must be real number, not NoneType` in the ffmpeg writer, and the run exits with code 1. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (do **not** edit `CHANGELOG.rst` or bump `extension.toml` — CI handles that) - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there --------- Co-authored-by: Mikhail Yuraaov <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Installs that allow pre-releases (as the documented Isaac Sim pip install does) resolve the unbounded
moviepydependency to the broken2.0.0.dev2build, whosewrite_videofiledrops the clip fps. Every RecordVideo write then fails withTypeError: must be real number, not NoneType, and--videoruns exit 1. Bounding tomoviepy>=1.0.3,<2.0.0.dev0pins the 1.x line (stable 2.x cannot be used: it caps pillow below the version Isaac Lab requires, which is also what pushed prerelease resolvers down to dev2). Verified on a fresh source install: the cartpole smoke with--videocrashed before and writes a playable mp4 with moviepy 1.0.3 after.TypeError: must be real number, not NoneTypeat every RecordVideo write; run exits with code 1Reproduction
On develop, install per the pip installation guide (its resolver flags allow pre-releases;
moviepyresolves to2.0.0.dev2).Run:
Every video write fails with
TypeError: must be real number, not NoneTypein the ffmpeg writer, and the run exits with code 1.Type of change
Checklist
pre-commitchecks with./isaaclab.sh --formatsource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bumpextension.toml— CI handles that)CONTRIBUTORS.mdor my name already exists there