Skip to content

Remove obsolete Kit extension manifest files - #6505

Merged
mataylor-nvidia merged 33 commits into
isaac-sim:developfrom
mataylor-nvidia:mataylor/rm-old-kitextension-file
Jul 15, 2026
Merged

mataylor-nvidia merged 33 commits into
isaac-sim:developfrom
mataylor-nvidia:mataylor/rm-old-kitextension-file

Conversation

@mataylor-nvidia

@mataylor-nvidia mataylor-nvidia commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Description

Cleanup old kit manifests isaaclab sub-packages are no longer kit extensions

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Screenshots

Please attach before and after screenshots of the change if applicable.

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

@mataylor-nvidia
mataylor-nvidia requested a review from StafaH July 14, 2026 02:08
@github-actions github-actions Bot added asset New asset feature or request isaac-mimic Related to Isaac Mimic team labels Jul 14, 2026
@greptile-apps

greptile-apps Bot commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR removes the old Kit manifest layout and moves package metadata into Python project files. The main changes are:

  • Deleted source/*/config/extension.toml manifests.
  • Removed Isaac Lab extension entries from the main Kit app files.
  • Added inter-package dependencies and uv source mappings in subpackage pyproject.toml files.
  • Moved targeted install metadata into [tool.isaaclab].
  • Updated changelog tooling and tests to version packages from pyproject.toml.

Confidence Score: 5/5

This looks safe to merge from this follow-up review.

  • No new blocking issue cleared the follow-up selection bar.
  • The remaining risky behaviors found in this session match already reported review threads.

Important Files Changed

Filename Overview
apps/isaaclab.python.kit Removes Isaac Lab extension registrations and the local source extension folder from the desktop Kit app.
apps/isaaclab.python.headless.kit Removes Isaac Lab extension registrations and the local source extension folder from the headless Kit app.
source/isaaclab/isaaclab/cli/commands/install.py Reads targeted install metadata from pyproject.toml and updates submodule install ordering.
source/isaaclab_teleop/pyproject.toml Adds local Isaac Lab package metadata and the teleop targeted upgrade setting.
source/isaaclab_assets/pyproject.toml Adds local Isaac Lab package dependencies and uv source mappings.
tools/changelog/cli.py Moves changelog version reads and writes from extension manifests to [project] metadata.
.github/workflows/nightly-changelog.yml Stages and summarizes generated version changes from package pyproject.toml files.

Reviews (5): Last reviewed commit: "Remove source/ from Kit extension search..." | Re-trigger Greptile

Comment thread source/isaaclab_assets/pyproject.toml Resolved
Comment thread source/isaaclab_teleop/pyproject.toml Resolved
Comment thread source/isaaclab_assets/pyproject.toml Resolved
One fragment per touched package, documenting the removal of
config/extension.toml Kit extension manifests and migration of
inter-package dependencies to PEP 508 file: references in pyproject.toml.
Replace config/extension.toml fixture creation with pyproject.toml
containing a [project] section, matching the updated cli.py that now
reads version from pyproject.toml instead of extension.toml.
Comment thread source/isaaclab_teleop/pyproject.toml Resolved
Comment thread source/isaaclab_assets/pyproject.toml Resolved
Replace PEP 508 `file:` URL references (e.g. `isaaclab @ file:../isaaclab`)
with bare package names plus `[tool.uv.sources]` in all sub-package
pyproject.toml files.

pip resolves relative `file:` paths from its working directory, not from
the pyproject.toml's directory. When the install script runs from
`${ISAACLAB_PATH}` (the repo root), `../isaaclab` resolves to the repo root
itself — whose pyproject.toml has `name = "isaaclab-dev"` — causing the
"inconsistent name: expected 'isaaclab', but metadata has 'isaaclab-dev'"
error that broke the cuRobo Docker image build.

Bare package names work correctly because the install script installs
`isaaclab` first (ordering guaranteed by CORE_ISAACLAB_SUBMODULES), so
pip finds it already present. The `[tool.uv.sources]` sections preserve
correct local-path resolution for `uv sync`-based developer workflows.
CORE_ISAACLAB_SUBMODULES must be topologically sorted so that each
package is installed only after all its inter-package dependencies are
already present. The previous order had two violations:

- isaaclab_assets (depends on isaaclab_contrib) was installed before
  isaaclab_contrib, so pip couldn't satisfy the dep and errored.
- isaaclab_rl (depends on isaaclab_tasks) was installed before
  isaaclab_tasks.

New order: isaaclab → ppisp → contrib → assets → {experimental, newton,
ov, ovphysx, physx} → tasks → tasks_experimental → rl → visualizers.
The config/extension.toml Kit manifests were removed in this PR, so
Kit can no longer discover the isaaclab* packages as Kit extensions.
Attempting to load them as required [dependencies] caused Kit's startup
to call sys.exit(1), which crashed every test that used AppLauncher.

The packages are now plain pip installs; remove the extension directives
so Kit starts successfully without them.
@github-actions github-actions Bot added the isaac-sim Related to Isaac Sim team label Jul 14, 2026
No packages under source/ have extension.toml manifests anymore, so
Kit has nothing to find there. Drop the entry to avoid a pointless
directory scan on every startup.
@mataylor-nvidia mataylor-nvidia changed the title Remove old kit manifest files Remove obsolete Kit extension manifest files Jul 15, 2026
@pbarejko
pbarejko self-requested a review July 15, 2026 05:38
One fragment per touched package, documenting the removal of
config/extension.toml Kit extension manifests and migration of
inter-package dependencies to PEP 508 file: references in pyproject.toml.
Replace config/extension.toml fixture creation with pyproject.toml
containing a [project] section, matching the updated cli.py that now
reads version from pyproject.toml instead of extension.toml.
Replace PEP 508 `file:` URL references (e.g. `isaaclab @ file:../isaaclab`)
with bare package names plus `[tool.uv.sources]` in all sub-package
pyproject.toml files.

pip resolves relative `file:` paths from its working directory, not from
the pyproject.toml's directory. When the install script runs from
`${ISAACLAB_PATH}` (the repo root), `../isaaclab` resolves to the repo root
itself — whose pyproject.toml has `name = "isaaclab-dev"` — causing the
"inconsistent name: expected 'isaaclab', but metadata has 'isaaclab-dev'"
error that broke the cuRobo Docker image build.

Bare package names work correctly because the install script installs
`isaaclab` first (ordering guaranteed by CORE_ISAACLAB_SUBMODULES), so
pip finds it already present. The `[tool.uv.sources]` sections preserve
correct local-path resolution for `uv sync`-based developer workflows.
CORE_ISAACLAB_SUBMODULES must be topologically sorted so that each
package is installed only after all its inter-package dependencies are
already present. The previous order had two violations:

- isaaclab_assets (depends on isaaclab_contrib) was installed before
  isaaclab_contrib, so pip couldn't satisfy the dep and errored.
- isaaclab_rl (depends on isaaclab_tasks) was installed before
  isaaclab_tasks.

New order: isaaclab → ppisp → contrib → assets → {experimental, newton,
ov, ovphysx, physx} → tasks → tasks_experimental → rl → visualizers.
The config/extension.toml Kit manifests were removed in this PR, so
Kit can no longer discover the isaaclab* packages as Kit extensions.
Attempting to load them as required [dependencies] caused Kit's startup
to call sys.exit(1), which crashed every test that used AppLauncher.

The packages are now plain pip installs; remove the extension directives
so Kit starts successfully without them.
No packages under source/ have extension.toml manifests anymore, so
Kit has nothing to find there. Drop the entry to avoid a pointless
directory scan on every startup.
When AppLauncher runs at module level, the Kit startup chain transitively
imports isaaclab.utils.configclass (the submodule), which Python then sets
as isaaclab.utils.__dict__['configclass'] = <module>.  Any subsequent
'from isaaclab.utils import configclass' skips __getattr__ (because the
key is already in __dict__) and returns the module object rather than the
function, causing TypeError: 'module' object is not callable at @configclass.

Fix by importing the function directly from its defining module, bypassing
the lazy_loader ambiguity entirely.
@mataylor-nvidia
mataylor-nvidia force-pushed the mataylor/rm-old-kitextension-file branch from 271d9a1 to dec264f Compare July 15, 2026 15:56
…or-nvidia/IsaacLab into mataylor/rm-old-kitextension-file
Without Kit loading isaaclab_tasks and isaaclab_mimic as extensions
(removed in b75d419), the explicit imports in this script determined
gym registration order. isaaclab_mimic.envs must be imported after
isaaclab_tasks so its gym.register() calls can override the base task
registration with the mimic cfg that carries datagen_config.
@mataylor-nvidia
mataylor-nvidia requested a review from xyao-nv as a code owner July 15, 2026 20:11
@mataylor-nvidia
mataylor-nvidia merged commit bc4b4ba into isaac-sim:develop Jul 15, 2026
41 checks passed
AntoineRichard added a commit that referenced this pull request Jul 17, 2026
# Description

PR #6505 removed the Kit extension startup that previously re-imported
`isaaclab_physx` after Kit loaded. When task configuration imports the
PhysX package before Kit, the compatibility hook returns early and is
never retried. The original Isaac Sim `SimulationManager` STOP callback
then invalidates the tensor view shared with `PhysxManager`, causing
Franka and other PhysX articulation environments to fail during their
first reset.

This PR retries the existing idempotent compatibility takeover from
`PhysxManager.initialize()`, where Kit is available and PhysX is the
selected backend. It also updates the import-order contract and adds an
integration regression test that imports `PhysxCfg` before launching
Kit.

This fix is independent of #6337.

## Type of change

- Bug fix (non-breaking change which fixes an issue)
- Documentation update

## Screenshots

N/A

## Validation

- Regression RED on unmodified develop: module alias remained the
original Isaac Sim `SimulationManager` after `SimulationContext`
initialization.
- Regression GREEN: `1 passed`.
- `Isaac-Reach-Franka`, 16 environments, PhysX: environment creation,
reset, and first step completed with exit code 0 and without
invalidated-view errors.
- `./isaaclab.sh -p tools/changelog/cli.py check develop`
- `./isaaclab.sh -f`

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks with `./isaaclab.sh -f`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove the fix is effective
- [x] I have added a changelog fragment for every touched package
- [x] My name already exists in `CONTRIBUTORS.md`
mataylor-nvidia added a commit to mataylor-nvidia/IsaacLab that referenced this pull request Jul 21, 2026
extension.toml was removed from the repo by isaac-sim#6505. Update the unit-test
import policy test to check the root pyproject.toml [project.dependencies]
instead of per-package config/extension.toml.
hujc7 added a commit to hujc7/IsaacLab that referenced this pull request Jul 26, 2026
The rule named `config/extension.toml` as the file not to edit, but isaac-sim#6505
removed it from this branch -- so contributors were warned off a file
that no longer exists while the one the nightly actually bumps went
unnamed. Stated without a filename instead: which file holds the version
is branch-dependent, and that is itself part of why it should not be
edited by hand.

Adds the invariant this series introduces. The docs already permit
setting a version manually for a large jump; doing so now also leaves
`uv.lock` stale, and every `uv sync --locked` consumer fails until the
two agree. Points at `cli.py sync-lock`, which exists for exactly this.
hujc7 added a commit to hujc7/IsaacLab that referenced this pull request Jul 31, 2026
The rule named `config/extension.toml` as the file not to edit, but isaac-sim#6505
removed it from this branch -- so contributors were warned off a file
that no longer exists while the one the nightly actually bumps went
unnamed. Stated without a filename instead: which file holds the version
is branch-dependent, and that is itself part of why it should not be
edited by hand.

Adds the invariant this series introduces. The docs already permit
setting a version manually for a large jump; doing so now also leaves
`uv.lock` stale, and every `uv sync --locked` consumer fails until the
two agree. Points at `cli.py sync-lock`, which exists for exactly this.
@kellyguo11 kellyguo11 mentioned this pull request Aug 4, 2026
2 of 3 tasks
matthewtrepte pushed a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 4, 2026
# Description

Cleanup old kit manifests isaaclab sub-packages are no longer kit
extensions

Fixes # (issue)

<!-- As a practice, it is recommended to open an issue to have
discussions on the proposed pull request.
This makes it easier for the community to keep track of what is being
developed or added, and if a given feature
is demanded by more than one party. -->

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- Bug fix (non-breaking change which fixes an issue)

## Screenshots

Please attach before and after screenshots of the change if applicable.

<!--
Example:

| Before | After |
| ------ | ----- |
| _gif/png before_ | _gif/png after_ |

To upload images to a PR -- simply drag and drop an image while in edit
mode and it should upload the image directly. You can then paste that
source into the above before/after sections.
-->

## 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`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->
matthewtrepte pushed a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 4, 2026
# Description

PR isaac-sim#6505 removed the Kit extension startup that previously re-imported
`isaaclab_physx` after Kit loaded. When task configuration imports the
PhysX package before Kit, the compatibility hook returns early and is
never retried. The original Isaac Sim `SimulationManager` STOP callback
then invalidates the tensor view shared with `PhysxManager`, causing
Franka and other PhysX articulation environments to fail during their
first reset.

This PR retries the existing idempotent compatibility takeover from
`PhysxManager.initialize()`, where Kit is available and PhysX is the
selected backend. It also updates the import-order contract and adds an
integration regression test that imports `PhysxCfg` before launching
Kit.

This fix is independent of isaac-sim#6337.

## Type of change

- Bug fix (non-breaking change which fixes an issue)
- Documentation update

## Screenshots

N/A

## Validation

- Regression RED on unmodified develop: module alias remained the
original Isaac Sim `SimulationManager` after `SimulationContext`
initialization.
- Regression GREEN: `1 passed`.
- `Isaac-Reach-Franka`, 16 environments, PhysX: environment creation,
reset, and first step completed with exit code 0 and without
invalidated-view errors.
- `./isaaclab.sh -p tools/changelog/cli.py check develop`
- `./isaaclab.sh -f`

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks with `./isaaclab.sh -f`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove the fix is effective
- [x] I have added a changelog fragment for every touched package
- [x] My name already exists in `CONTRIBUTORS.md`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

asset New asset feature or request infrastructure isaac-mimic Related to Isaac Mimic team isaac-sim Related to Isaac Sim team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants