Repository navigation
Clean up sub module packaging and remove setup.py - #5785
Conversation
There was a problem hiding this comment.
Review Summary
This is a well-structured migration from setup.py to pyproject.toml for all 15 Isaac Lab packages. The changes follow modern Python packaging standards and simplify dependency management.
✅ What Looks Good
-
Consistent build system: All packages use
setuptools>=70.0,<82.0.0withwheel— good for reproducibility. -
tomllibmigration: Replacing the third-partytomlpackage with stdlibtomllib(Python 3.11+) removes an undeclared dependency. The binary mode file handling ("rb") is correctly implemented. -
Simplified version detection: The
importlib.metadataapproach is the modern standard and eliminates the need to parseextension.tomlat import time. -
Root
pyproject.tomlenhancement: The[tool.uv.sources]section for editable path dependencies enables cleanuv syncworkflows. -
Missing package fix: Adding
isaaclab-ppispto the root dependencies addresses a gap in the previous setup. -
Test updates: Tests correctly updated to reference
pyproject.tomlinstead ofsetup.py.
📋 Observations (Non-Blocking)
-
Python version inconsistency: Most packages require
>=3.12, butisaaclab_ovphysx/pyproject.tomlspecifiesrequires-python = ">=3.11". Is this intentional for broader ovphysx compatibility, or should it align with>=3.12? -
Removed module constants: Several packages previously exported constants like:
ISAACLAB_EXT_DIR,ISAACLAB_ASSETS_EXT_DIR, etc.ISAACLAB_METADATA,ISAACLAB_ASSETS_METADATA, etc.
These are no longer available. If any external code or user scripts depended on these constants, they'll encounter
AttributeError. Consider documenting this as a breaking change in the changelog, or adding deprecation stubs that emit warnings. -
Dependency flexibility changes: Some exact pins became ranges:
hidapi==0.14.0.post2→hidapi>=0.14.0gymnasium==1.2.1→gymnasium>=1.2.0prettytable==3.3.0→prettytable>=3.3.0h5py==3.15.1→h5py>=3.15.0- etc.
This is generally a positive change for compatibility, but worth noting for the release notes.
-
install.pybackward compatibility: The updated check at line 518:if not item.is_dir() or not ((item / "pyproject.toml").exists() or (item / "setup.py").exists()):
This maintains backward compatibility — nice touch for transitional installs.
-
Silent version fallback: The
"0.0.0"fallback onPackageNotFoundErroris fine for development, but could silently mask installation issues in production. Consider logging a warning when falling back.
⚠️ CI Note
The "Check changelog fragments" check is failing. Make sure to add a changelog fragment for this PR before merging.
Verdict
The migration is clean and follows best practices. The pending Installation Tests (conda/uv) will be important to verify the new packaging works end-to-end. Once CI is green and the changelog fragment is added, this should be good to merge.
Update (b71929a): The author has addressed the CI changelog fragment issue by adding:
-
mh-pyproject_rework.rstinsource/isaaclab/changelog.d/— Documents the key changes:- Replacing third-party
tomldependency with stdlibtomllib - Migrating package build from
setup.pytopyproject.tomlonly
- Replacing third-party
-
.skipfiles added to 11 other submodules (isaaclab_assets,isaaclab_contrib,isaaclab_experimental,isaaclab_mimic,isaaclab_newton,isaaclab_ov,isaaclab_ovphysx,isaaclab_physx,isaaclab_rl,isaaclab_tasks,isaaclab_teleop) — indicating no changelog entry needed for these packages as the changes are internal build-only.
✅ The changelog concern from my initial review is now resolved. This should unblock the CI check.
Update (f1d427e): Significant improvements in this push! The author has addressed my earlier observation about removed module constants:
✅ Module Constants Restored
The ISAACLAB_EXT_DIR and ISAACLAB_METADATA constants (and equivalents in other packages) are now restored with the new tomllib-based implementation:
| Package | Constants Restored |
|---|---|
isaaclab |
ISAACLAB_EXT_DIR, ISAACLAB_METADATA |
isaaclab_assets |
ISAACLAB_ASSETS_EXT_DIR, ISAACLAB_ASSETS_DATA_DIR, ISAACLAB_ASSETS_METADATA |
isaaclab_contrib |
ISAACLAB_CONTRIB_EXT_DIR, ISAACLAB_CONTRIB_METADATA |
isaaclab_tasks |
ISAACLAB_TASKS_EXT_DIR, ISAACLAB_TASKS_METADATA |
This addresses the backward compatibility concern from my initial review. 👍
Other Changes
-
Python version fixed:
isaaclab_ovphysxnow requires>=3.12(was>=3.11) — aligns with the rest of the packages ✅ -
Extra names normalized (Breaking): The underscore aliases for extras are removed:
rsl_rl→ usersl-rlrl_games→ userl-games
A changelog fragment (
isaaclab_rl/changelog.d/mh-pyproject_rework.rst) properly documents this PEP 685 normalization. Users will need to update their install commands. -
Test cleanup: Removed redundant test cases checking for underscore-aliased extras.
-
Version mismatch safety: The changelog CLI (
tools/changelog/cli.py) now validates thatconfig/extension.tomlandpyproject.tomlversions match before compiling — good safeguard against accidental version drift. -
Changelog updated: The main
isaaclabchangelog entry now documents thatISAACLAB_EXT_DIRandISAACLAB_METADATAare preserved usingtomllib.
Verdict
This push resolves all my previous observations. The migration is now complete with proper backward compatibility for exported constants. Ready to merge once CI passes.
Update (449f409): This push refines CI and dependency management:
Changes
-
Test dependencies moved to optional extra: Test packages (
pytest,pytest-mock,junitparser,flatdict>=4.1.0,flaky) are now in[project.optional-dependencies.test]instead of basedependencies. Install withpip install isaaclab[test]for the full test environment. -
CI workflow updated: The GitHub Actions workflow (
.github/actions/run-tests/action.yml) now explicitly installs test dependencies before running tests, ensuring CI works with the slimmer base package. -
Isaac Sim version bump:
isaacsim[all,extscache]constraint changed from==5.1.0to>=6.0.0— prepares for upcoming Isaac Sim 6.x compatibility. -
Removed
typing_extensions: Thetyping_extensions>=4.14.0dependency was removed from base requirements. -
Changelog updated: Documents the test extras change with install instructions.
✅ Good Practice
Moving test dependencies to an optional extra is the right call — it keeps the base install lean for production deployments while still making the full test suite available via pip install isaaclab[test].
Verdict
Clean incremental update. The Isaac Sim 6.x version bump is notable for downstream compatibility. Ready to merge once CI passes.
Update (b4d5c38): This push removes legacy OVRTX 0.2.x code paths from the isaaclab_ov package:
Changes
-
License metadata update:
typing_extensionslicense updated fromPSF-2.0toPython Software Foundation Licensewith corrected commentPSFL / OSRB. -
OVRTX 0.3.0+ now required: The renderer now assumes OVRTX ≥0.3.0:
- Removed
_OVRTX_VERSIONand_IS_OVRTX_0_3_0_OR_NEWERversion checks read_gpu_transforms=Trueis now unconditionalopen_usd_from_string()is the only USD loading path (removedadd_usd()file-based fallback)reset_stage()replaces manualremove_usd()handle cleanup
- Removed
-
Removed legacy kernels from
ovrtx_renderer_kernels.py:extract_all_depth_tiles_kernel_legacy(2D depth buffer)generate_random_colors_from_ids_kernel_legacy(2D ID buffer)
The 3D-buffer variants are now the only implementation.
-
Simplified
create_scene_partition_attributes(): Removedenable_scene_partition_workaroundparameter (was for OVRTX 0.2.x primvar inheritance issues). Now only setsomni:scenePartitionon Camera prims. -
Changelog fragment added:
remove-legacy-ovrtx-code-path.rstdocuments the removal. -
Test cleanup: Removed test classes
TestExtractAllDepthTilesKernelLegacyandTestRandomColorsFromIdsKernelLegacy(~160 lines).
✅ Assessment
This is a clean deprecation of legacy code paths. The version gating was adding maintenance overhead with minimal benefit since OVRTX 0.3.0+ is the supported baseline. Removing ~300 lines of compatibility code improves maintainability.
Verdict
Ready to merge once CI passes. The changes are all internal to isaaclab_ov and don't affect the public API.
Update (ee4b962): Minor CI fix:
Changes
flatdictversion pin relaxed: In.github/actions/run-tests/action.yml, the test dependencyflatdict>=4.1.0changed to justflatdict(unpinned).
Assessment
This is a trivial cleanup — the minimum version constraint was unnecessary since flatdict has been stable for years. Reduces potential pip resolver friction.
Verdict
No impact on functionality. Ready to merge once CI passes.
Greptile SummaryThis PR migrates all 15 IsaacLab sub-packages from
Confidence Score: 3/5The build-system migration is mechanically sound, but removing previously exported module-level constants from The source/isaaclab_assets/isaaclab_assets/init.py and source/isaaclab_assets/docs/README.md (removed public symbols, stale docs); source/isaaclab_rl/pyproject.toml (duplicate extras); tools/changelog/cli.py (dual version sources); source/isaaclab/pyproject.toml (missing isaaclab-ppisp in [all]). Important Files Changed
|
| rl-games = [ | ||
| "aiohttp==3.13.3", | ||
| "rl-games @ git+https://github.com/isaac-sim/rl_games.git@python3.11", | ||
| "gym", | ||
| "standard-distutils", | ||
| ] | ||
| rl_games = [ | ||
| "aiohttp==3.13.3", | ||
| "rl-games @ git+https://github.com/isaac-sim/rl_games.git@python3.11", | ||
| "gym", | ||
| "standard-distutils", | ||
| ] | ||
| rsl-rl = ["rsl-rl-lib==5.0.1", "onnxscript>=0.5"] | ||
| rsl_rl = ["rsl-rl-lib==5.0.1", "onnxscript>=0.5"] |
There was a problem hiding this comment.
Duplicate normalized extra names
Both rsl-rl / rsl_rl and rl-games / rl_games are defined as separate extras with identical content. Per PEP 685, extra names are normalized (underscores and hyphens collapse to hyphens), so these pairs refer to the same extra. Some pip/uv versions will raise an error or emit a warning when duplicate normalized extras are declared. The test in test_wheel_builder_metadata.py already works around this by iterating both names, which is a signal that this duplication is unintentional. Keeping only the hyphenated canonical forms (rsl-rl, rl-games) is sufficient.
| [project.optional-dependencies] | ||
| isaacsim = ["isaacsim[all,extscache]==5.1.0"] | ||
| all = [ | ||
| "isaacsim[all,extscache]==5.1.0", | ||
| "isaaclab_assets", | ||
| "isaaclab_contrib", | ||
| "isaaclab_experimental", | ||
| "isaaclab_mimic", | ||
| "isaaclab_newton[all]", | ||
| "isaaclab_ov", | ||
| "isaaclab_ovphysx", | ||
| "isaaclab_physx[newton]", | ||
| "isaaclab_rl[all]", | ||
| "isaaclab_tasks", | ||
| "isaaclab_tasks_experimental", | ||
| "isaaclab_teleop", | ||
| "isaaclab_visualizers[all]", | ||
| ] |
There was a problem hiding this comment.
isaaclab-ppisp absent from isaaclab[all]
isaaclab-ppisp was added to the root dev environment's dependencies (and [tool.uv.sources]) in this PR, but it is not listed in [project.optional-dependencies] all here. Users installing pip install isaaclab[all] will not receive isaaclab-ppisp, while uv sync from the repo root will. This inconsistency means the [all] extra no longer installs the full set of sub-packages.
| [project.scripts] | ||
| isaaclab = "isaaclab.cli:cli" | ||
| play = "isaaclab.cli:play" | ||
| train = "isaaclab.cli:train" |
There was a problem hiding this comment.
Would it be possible to use less generic names for these executables? In larger virtual environments, binaries like play and train could both confuse users and potentially clash with executables provided by other packages.
There was a problem hiding this comment.
We like the simple naming, what would be the alternative? isaaclab_train?
There was a problem hiding this comment.
Let's consider the extreme case where IsaacLab eventually becomes part of the official Ubuntu repositories as a python3-isaaclab deb package. In that scenario, users would end up with generic play and train executables in their PATH, which would be highly ambiguous and likely conflict-prone.
While this may sound hypothetical, it is already a practical concern in ecosystems such as conda-forge. Those environments can grow to the scale of a Linux distribution and may contain IsaacLab alongside other frameworks like mjlab and many additional ML/RL toolchains. Generic executable names do not scale well in such shared environments.
I would strongly recommend addressing this upstream rather than leaving it to downstream packagers. Otherwise, distributions will likely introduce their own ad-hoc renaming conventions, leading to fragmentation and inconsistent UX across ecosystems.
Two approaches seem reasonable here:
-
Rename the executables to something namespaced, e.g.:
isaaclab-playisaaclab-train
-
Introduce a single top-level
isaaclabCLI with subcommands:isaaclab train [...]isaaclab play [...]
Personally, I think option 2 is the cleanest long-term design, especially since implementing subcommands with argparse is straightforward and scales better as the CLI surface grows. However, even option 1 would already avoid the namespace collision problem.
The nightly changelog compile bumps both ``config/extension.toml`` and ``pyproject.toml`` (when a ``[project]`` version line is present). The workflow's commit step only staged ``extension.toml``, leaving the pyproject bumps as unstaged changes. The subsequent ``git pull --rebase`` refuses with ``cannot pull with rebase: You have unstaged changes`` and the matrix entry exits 128 before push. isaac-sim#5785 made every managed package carry a ``pyproject.toml`` with a ``[project] version`` field, so the pyproject write went from no-op to active and the missing glob became reachable. Add ``source/*/pyproject.toml`` to the git-add list so the rebase/push sequence runs on a clean working tree.
…failure tolerance (#5859) ## 1. Summary - Restores the scheduled nightly changelog cron after two failures on the develop and release/3.0.0-beta2 matrix entries this morning (https://github.com/isaac-sim/IsaacLab/actions/runs/26621920244). - Two commits, both edit ``.github/workflows/nightly-changelog.yml`` on main (the cron-host copy is the only one the schedule reads). - 1 file changed, 30 insertions, 2 deletions. ## 2. Background The cron at 06:27 UTC on 2026-05-29 short-circuited both matrix entries: 1. develop matrix exited 128 in the commit/push step with ``error: cannot pull with rebase: You have unstaged changes``. ``tools/changelog/cli.py``'s ``Package.write_version`` bumps both ``config/extension.toml`` AND ``pyproject.toml`` when a ``[project]`` block exists. #5785 added ``[project] version`` lines to every managed package's pyproject.toml — activating a write path in cli.py that the workflow's commit step never staged. The unstaged pyproject changes made ``git pull --rebase`` refuse. 2. release/3.0.0-beta2 matrix exited 1 with ``remote: error: GH013: Repository rule violations``. The isaaclab-bot App isn't on ruleset 16056339's bypass-actor list for ``refs/heads/release/*``. Orthogonal to this PR — repo-admin bypass-list edit handled separately. This PR addresses failure 1. It also bundles the workflow tolerance piece from #5831, which was previously merged onto develop's copy of the file but never reached main — so the cron has been running without the partial-success guarantees #5831 was meant to provide. ## 3. Commits ### 3.1 Tolerate per-package compile failures (cherry-pick of #5831 workflow piece) - ``id: compile`` + ``continue-on-error: true`` on the Compile step. - Commit/push gate becomes ``if: ${{ always() && !inputs.dry_run }}`` so successful packages still ship when one package raised. - Trailing ``Re-propagate compile failure`` step re-asserts the non-zero exit so the job tile stays red. #5831 wedged this on develop's copy of the workflow file, but the cron only reads main's copy, so the partial-success behavior was dead code until this commit. ### 3.2 Stage pyproject.toml in the auto-commit - Adds ``source/*/pyproject.toml`` to the existing ``git add`` glob. - Five-line comment naming the failure mode for future maintainers. The downstream ``Bumped packages`` loop explicitly filters ``source/*/config/extension.toml``, so the new staged paths don't affect commit-body composition. ## 4. Why both on main, not develop / release The scheduled cron only registers on the default branch and only reads main's copy of ``nightly-changelog.yml``. Develop and release/3.0.0-beta2 each carry their own copies of the workflow, but those copies are consumed only via manual ``workflow_dispatch`` (and even then, only if the maintainer picks that branch in the "Use workflow from" dropdown). Bug fixes to the cron behavior have to land on main to actually take effect. ## 5. Verification - ``./isaaclab.sh -f`` clean. - Logic check: with the glob fix, compile's write to pyproject.toml gets staged; the staged-diff check ``git diff --staged --quiet`` correctly reports work pending; commit composes; the existing ``git pull --rebase`` runs against a clean working tree. - Runtime confirmation deferred to the next scheduled run (2026-05-30 06:27 UTC) or a manual ``workflow_dispatch`` against a sacrificial branch (see Test plan). ## 6. Out of scope - release/3.0.0-beta2 bypass-actor on ruleset 16056339 — repo-admin UI edit, not a code change. - The auto-bump / GitRepo / AutoBumpRun refactor that would move the entire commit/push/rebase lifecycle into cli.py and make the workflow's git-add glob obsolete — sequel PR, design discussed in the iteration thread. ## 7. Test plan - [x] ``./isaaclab.sh -f`` clean. - [x] Authorship audit: both commits authored by jichuanh. - [ ] Optional pre-merge: ``workflow_dispatch`` against a throwaway target branch (cut from develop, single trivial fragment) to confirm end-to-end compile → stage → commit → rebase → push. - [ ] Post-merge: next scheduled cron green for the develop matrix entry.
The nightly changelog cron's wedge mode on 2026-05-29 (workflow's git-add glob missing pyproject.toml after isaac-sim#5785 added the pyproject write path) was a producer/consumer drift bug between cli.py and nightly-changelog.yml. The two surfaces carried duplicated knowledge of which files cli.py touches, and the YAML side never got the memo when the producer grew a new write site. Lift the entire post-compile lifecycle (stage, commit, rebase-on-conflict loop, push) out of inline shell in the workflow and into a new ``cli.py auto-bump`` subcommand. The orchestrator derives its staging set from each ``Package.compile`` return value, so the glob is an in-process list of files cli.py just wrote — drift is impossible by construction. The workflow shrinks to one ``python3 cli.py auto-bump`` call (follow-up on main once this lands on develop and release). Changes: - ``Package.write_changelog_entry`` and ``Package.write_version`` now return the list of paths they wrote (empty in dry-run). - ``Package.compile`` returns ``(compiled, touched)`` — the existing truthy/falsy semantics carry through ``cmd_compile``'s ``any_compiled`` tracking. - New ``GitRepo`` class: thin subprocess wrapper around the ``git`` CLI with one nested exception (``NonFastForward``) for the policy decision the orchestrator cares about. - New ``AutoBumpRun`` class: end-to-end lifecycle owner. Hardcoded bot identity (deterministic public values, not secrets), three-retry push loop with fetch+rebase on conflict, partial-success across packages. - New ``cmd_auto_bump`` handler + subparser. Tests in tools/changelog/test/test_auto_bump.py cover seven scenarios against a tempdir working tree + bare-repo remote with no GitHub interaction: - Happy path commits and pushes. - pyproject.toml staging regression (today's bug class). - Non-fast-forward push → rebase loop → second push succeeds. - Exhausted retries raise GitError. - Partial success: one bad package, one good; healthy commit ships, exit 1. - Dry-run skips commit/push entirely. - No fragments is a clean no-op. Workflow YAML on main consumes the new subcommand in a follow-up PR.
The nightly changelog cron's wedge mode on 2026-05-29 (workflow's git-add glob missing pyproject.toml after isaac-sim#5785 added the pyproject write path) was a producer/consumer drift bug between cli.py and nightly-changelog.yml. The two surfaces carried duplicated knowledge of which files cli.py touches, and the YAML side never got the memo when the producer grew a new write site. Lift the entire post-compile lifecycle (stage, commit, rebase-on-conflict loop, push) out of inline shell in the workflow and into a new ``cli.py auto-bump`` subcommand. The orchestrator derives its staging set from each ``Package.compile`` return value, so the glob is an in-process list of files cli.py just wrote — drift is impossible by construction. The workflow shrinks to one ``python3 cli.py auto-bump`` call (follow-up on main once this lands on develop and release). Changes: - ``Package.write_changelog_entry`` and ``Package.write_version`` now return the list of paths they wrote (empty in dry-run). - ``Package.compile`` returns ``(compiled, touched)`` — the existing truthy/falsy semantics carry through ``cmd_compile``'s ``any_compiled`` tracking. - New ``GitRepo`` class: thin subprocess wrapper around the ``git`` CLI with one nested exception (``NonFastForward``) for the policy decision the orchestrator cares about. - New ``AutoBumpRun`` class: end-to-end lifecycle owner. Hardcoded bot identity (deterministic public values, not secrets), three-retry push loop with fetch+rebase on conflict, partial-success across packages. - New ``cmd_auto_bump`` handler + subparser. Tests in tools/changelog/test/test_auto_bump.py cover seven scenarios against a tempdir working tree + bare-repo remote with no GitHub interaction: - Happy path commits and pushes. - pyproject.toml staging regression (today's bug class). - Non-fast-forward push → rebase loop → second push succeeds. - Exhausted retries raise GitError. - Partial success: one bad package, one good; healthy commit ships, exit 1. - Dry-run skips commit/push entirely. - No fragments is a clean no-op. Workflow YAML on main consumes the new subcommand in a follow-up PR.
…failure tolerance (isaac-sim#5859) ## 1. Summary - Restores the scheduled nightly changelog cron after two failures on the develop and release/3.0.0-beta2 matrix entries this morning (https://github.com/isaac-sim/IsaacLab/actions/runs/26621920244). - Two commits, both edit ``.github/workflows/nightly-changelog.yml`` on main (the cron-host copy is the only one the schedule reads). - 1 file changed, 30 insertions, 2 deletions. ## 2. Background The cron at 06:27 UTC on 2026-05-29 short-circuited both matrix entries: 1. develop matrix exited 128 in the commit/push step with ``error: cannot pull with rebase: You have unstaged changes``. ``tools/changelog/cli.py``'s ``Package.write_version`` bumps both ``config/extension.toml`` AND ``pyproject.toml`` when a ``[project]`` block exists. isaac-sim#5785 added ``[project] version`` lines to every managed package's pyproject.toml — activating a write path in cli.py that the workflow's commit step never staged. The unstaged pyproject changes made ``git pull --rebase`` refuse. 2. release/3.0.0-beta2 matrix exited 1 with ``remote: error: GH013: Repository rule violations``. The isaaclab-bot App isn't on ruleset 16056339's bypass-actor list for ``refs/heads/release/*``. Orthogonal to this PR — repo-admin bypass-list edit handled separately. This PR addresses failure 1. It also bundles the workflow tolerance piece from isaac-sim#5831, which was previously merged onto develop's copy of the file but never reached main — so the cron has been running without the partial-success guarantees isaac-sim#5831 was meant to provide. ## 3. Commits ### 3.1 Tolerate per-package compile failures (cherry-pick of isaac-sim#5831 workflow piece) - ``id: compile`` + ``continue-on-error: true`` on the Compile step. - Commit/push gate becomes ``if: ${{ always() && !inputs.dry_run }}`` so successful packages still ship when one package raised. - Trailing ``Re-propagate compile failure`` step re-asserts the non-zero exit so the job tile stays red. isaac-sim#5831 wedged this on develop's copy of the workflow file, but the cron only reads main's copy, so the partial-success behavior was dead code until this commit. ### 3.2 Stage pyproject.toml in the auto-commit - Adds ``source/*/pyproject.toml`` to the existing ``git add`` glob. - Five-line comment naming the failure mode for future maintainers. The downstream ``Bumped packages`` loop explicitly filters ``source/*/config/extension.toml``, so the new staged paths don't affect commit-body composition. ## 4. Why both on main, not develop / release The scheduled cron only registers on the default branch and only reads main's copy of ``nightly-changelog.yml``. Develop and release/3.0.0-beta2 each carry their own copies of the workflow, but those copies are consumed only via manual ``workflow_dispatch`` (and even then, only if the maintainer picks that branch in the "Use workflow from" dropdown). Bug fixes to the cron behavior have to land on main to actually take effect. ## 5. Verification - ``./isaaclab.sh -f`` clean. - Logic check: with the glob fix, compile's write to pyproject.toml gets staged; the staged-diff check ``git diff --staged --quiet`` correctly reports work pending; commit composes; the existing ``git pull --rebase`` runs against a clean working tree. - Runtime confirmation deferred to the next scheduled run (2026-05-30 06:27 UTC) or a manual ``workflow_dispatch`` against a sacrificial branch (see Test plan). ## 6. Out of scope - release/3.0.0-beta2 bypass-actor on ruleset 16056339 — repo-admin UI edit, not a code change. - The auto-bump / GitRepo / AutoBumpRun refactor that would move the entire commit/push/rebase lifecycle into cli.py and make the workflow's git-add glob obsolete — sequel PR, design discussed in the iteration thread. ## 7. Test plan - [x] ``./isaaclab.sh -f`` clean. - [x] Authorship audit: both commits authored by jichuanh. - [ ] Optional pre-merge: ``workflow_dispatch`` against a throwaway target branch (cut from develop, single trivial fragment) to confirm end-to-end compile → stage → commit → rebase → push. - [ ] Post-merge: next scheduled cron green for the develop matrix entry.
Description
Migrates all IsaacLab packages from
setup.pytopyproject.tomlas the sole build system declaration, and introducesuvas the recommended package manager for development installs.What changed:
setup.pyfrom all 15 source packages (isaaclab,isaaclab_assets,isaaclab_contrib,isaaclab_experimental,isaaclab_mimic,isaaclab_newton,isaaclab_ov,isaaclab_ovphysx,isaaclab_physx,isaaclab_ppisp,isaaclab_rl,isaaclab_tasks,isaaclab_tasks_experimental,isaaclab_teleop,isaaclab_visualizers). All metadata (dependencies, extras, entry points, classifiers) is now declared exclusively in each package'spyproject.toml.pyproject.toml(isaaclab-dev) that wires all source packages together as editable path dependencies via[tool.uv.sources], enabling a singleuv syncto install the full development environment.isaaclab-ppispis included in both the default dependencies and the[all]extra so thatpip install isaaclab[all]anduv syncinstall the same set of packages.tomlimport insimulation_context.pyand its test with stdlibtomllib(available since Python 3.11), removing an undeclared dependency. Module-level constants (ISAACLAB_EXT_DIR,ISAACLAB_METADATA,ISAACLAB_ASSETS_EXT_DIR, etc.) are preserved and continue to read fromconfig/extension.tomlviatomllib.isaaclab_rlto their PEP 685 canonical hyphenated forms — the underscore aliasesrsl_rlandrl_gamesare removed. Migration: usepip install isaaclab-rl[rsl-rl]andpip install isaaclab-rl[rl-games]going forward.isaaclab_ovphysx/pyproject.tomldeclaringrequires-python = ">=3.11"— corrected to>=3.12to match the rest of the project.tools/changelog/cli.py:current_version()now raises immediately ifconfig/extension.tomlandpyproject.tomldisagree, preventing silent version drift from corrupting future changelog bumps.__init__.pyversion detection across packages — theimportlib.metadatalookup is now a clean try/except with a"0.0.0"fallback, removing boilerplate that was previously spread across every package.pytest,pytest-mock,junitparser,flatdict,flaky) out of baseinstall_requiresand into a newtestoptional extra (pip install isaaclab[test]). Therun-testsCI action now installs these unconditionally before invoking pytest, fixing theNo module named pytestfailure that occurred when running against the Isaac Sim bundled Python.isaacsimandallextras insource/isaaclab/pyproject.tomlpinningisaacsim==5.1.0— updated to>=6.0.0to match the version targeted byisaaclab.sh -iandinstall.py.install.pyCLI command and benchmark test utilities to match the new package naming conventions.Fixes # (issue)
Type of change
Breaking changes
isaaclab_rl[rsl_rl]andisaaclab_rl[rl_games]extras no longer exist. Useisaaclab_rl[rsl-rl]andisaaclab_rl[rl-games]respectively.Screenshots
N/A — build system change only.
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there