Repository navigation
Add isaaclab - #34602
Add isaaclab#34602diegoferigo wants to merge 59 commits into
isaaclab#34602Conversation
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Single bundled isaaclab package plus extra-only subpackages, matching the upstream v3 wheel-builder layout. Alternative to the per-extension split in conda-forge#32698. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
c3f2146 to
24da759
Compare
Add patches/0001-conda-forge-path-adjustments.patch to resolve the vendored apps/ and scripts/ dirs from $PREFIX/share/isaaclab instead of $PREFIX/lib, and move the build cp targets to match. Fail fast in the install loop with set -euo pipefail. Skip isaaclab_ov as well (its ovstage backend is not on conda-forge). Document why pip_check is disabled. README: list isaaclab-mimic, add the torch -> pytorch name mapping, retarget the High worth-upstreaming item to the wheel builder nested source tree __path__ hack, and describe the new share/ layout. gen_recipe_deps.py: drop the dead pyopengl-accelerate identity mapping and add a timeout plus error handling to the pyproject fetch. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The exact == pins in pyproject.toml hurt conda-forge packaging more than the Low bucket suggested. Recommend >= on the lowest sufficient API version and keep the reproducible hard pins in the upstream uv.lock. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add a script test to the base isaaclab output that runs upstream's unit-marked suite against the installed package. It pip installs omniverseclient from pypi.nvidia.com (a few unit tests import omni.client) and skips the files that need the source checkout or a GPU. Document the non-device-agnostic and layout-dependent tests as worth upstreaming. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
isaaclab/app/sim_launcher.py imports isaaclab_ov at module top, so skipping it breaks the base install on a clean env (ModuleNotFoundError: isaaclab_ov), even on the Newton path. Its config classes (OvPhysxCfg, OVRTXRendererCfg) import fine without the closed-source ovphysx/ovrtx backends, so ship the module and keep skipping only isaaclab_teleop. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pin the test env to python_min so the cp310/311/312 omniverseclient wheels resolve, and request c_stdlib_version 2.39 (AlmaLinux 10, glibc 2.39) so the manylinux_2_35 omniverseclient wheel installs. The install stays best-effort and the run is device-aware: it runs the cuda tests on the cuda runners and the CPU-only subset elsewhere. The stdlib pin and per-platform build are temporary and carry TODO(before-merge) markers to restore noarch. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…cipes staged-recipes builds on the AlmaLinux 9 image (glibc 2.34) and does not switch image by c_stdlib_version, so requesting glibc 2.39 made the package require __glibc >=2.39 that the runner cannot satisfy. The manylinux_2_35 omniverseclient wheel is therefore not loadable on that image anyway, so keep the wheel install best-effort and let the import check skip the two omni.client tests on CI while they still run locally (glibc 2.35). Keep the python_min-pinned test env and the device-aware run that exercises the cuda tests on the cuda runners. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…sing A shared fixture in utils/test_assets.py imports omni.client, so more than the two functions that reference it directly fail without omniverseclient. On the alma9 CI image the wheel does not load, so drop the file entirely there (11 failures) rather than enumerate fragile test names; it still runs in full locally. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The linux_64 CPU build runs the unit suite and passes; the cuda variants fail at test-env setup with 'No space left on device' linking libtorch_cuda.so, a shared runner disk limit rather than a recipe issue. The full cuda test is deferred to the feedstock. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
pytetwild and leapp now have conda-forge feedstocks, so add the isaaclab-tetrahedralization and isaaclab-leapp outputs and pull them into isaaclab-all. pytetwild is relaxed from the upstream >=0.3.0,<0.4 to >=0.3.0 (conda-forge only ships 0.4.2 and the tetrahedralize API is unchanged), with pyvista added to mirror the [all] extra. rlinf stays commented: every dep is on conda-forge now, but decord2 pulls ffmpeg 9 -> libopenvino-onnx-frontend -> libabseil 20260526 while ray-default pins libgrpc to an older libabseil, so the stack does not co-solve until the conda-forge libabseil migration settles. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Small update: I kept |
Upstream now flattens the package layout itself in stage.py, so the conda-forge path-adjustments patch is obsolete. Drop it and add two upstreamable patches that gate the source-checkout-only unit tests. Those tests predate the upstream source_checkout_root fixture, so they now self-skip when run against the installed package.
gen_recipe_deps.py only re-derived the recipe pins from the upstream pyproject, and that job now lives inline in the recipe. Replace it with gen_extra_metadata.py, which drives the pip_check metadata instead: the base subcommand reinjects the core third-party names into the installed isaaclab metadata (stripped by the per-member installs), and the extra subcommand emits a synthetic dist-info per metapackage.
The outputs used to install the workspace once per metapackage, which repeated the clone and the per-member pip installs many times, and the base pins still had to be re-derived by an external script. Rework the recipe around a single isaaclab-build staging output that every package inherits and filters, so the install runs once. Wire the base and extra pip_check metadata through gen_extra_metadata.py, and bump the pinned rev to 76c7c60 (release/3.0.0 @ 2026-09-21) with the matching dev version. Enable the isaaclab-torchrl extra and pin the base to pytorch >=2.11,<2.12 with torchvision 0.26: pytorchrl drags libtorch to a libabseil that mujoco (via newton-sim) cannot co-solve at 2.12, and 2.11 is the highest set that installs alongside it. Also compact the recipe comments to the minimum a human reviewer needs.
The review notes still described the per-output layout and the old pin derivation, and predated the torchrl pin story. Update the pin deviation table, rework the metadata bullets around the base/extra generator, and expand the upstreaming notes with the libabseil/mujoco pin conflict and a uv.lock plus opt-in extra proposal.
The pixi smoke env assumed a CUDA host, so the cartpole and ovrtx tasks could not run on a CPU-only machine. Add a linux-64-cpu platform, restrict ovrtx to the CUDA platform, and unify the cartpole into a single hidden task that defaults to the CPU device and gets the CUDA device only on the CUDA platform.
|
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/isaaclab/recipe.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/35586237906. Examine the logs at this URL for more detail. |
The staged-recipes v1 linter flags any comment containing square brackets as a leftover selector, so the pytetwild[all] mentions failed conda-forge-linter. Reword them to name the extra in prose, no functional change.
The real selector false positive was the Azure ##vso[...] logging command in warn(), whose hash before the bracket the v1 linter reads as a comment selector, not the pytetwild comments. Build the ## prefix from a variable on its own line so the bracket no longer follows a hash, keeping the CI warning annotation intact.
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
The staging refactor dropped the top-level skip, so the noarch recipe started building on the osx and win CI agents too: osx has no git-lfs for the IsaacLab LFS assets, and the POSIX build script cannot run under cmd.exe. Skip both platforms again so the single noarch build only runs on linux.
|
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/isaaclab/recipe.yaml:
For recipes/isaaclab/recipe.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/46012329509. Examine the logs at this URL for more detail. |
The GPU test path drops the "not cuda" filter, so TestEnsureCudaTorch ran and failed with FileNotFoundError: _ensure_cuda_torch() reads the pinned torch version from the root pyproject, absent in the installed package. Gate the class with the existing source_checkout_root fixture, like the other checkout-only cli tests, so it self-skips when there is no source checkout.
The isaaclab-leapp subpackage declared only leapp, but leapp itself requires onnxruntime at runtime, so pip_check failed on a GPU host with "leapp 0.6.1 requires onnxruntime, which is not installed". The extra's pyproject does not list onnxruntime, so add it explicitly to the run requirements.
Agreed. The strict |
|
Status of the |
Both files were described as removed before merge. They stay as the way to run the extended tests on a GPU machine, so only README.pr-notes.md is dropped before merge.
|
@conda-forge/help-python, ready for review! |
|
@StafaH, would you be interested in being a co-maintainer of this recipe once the feedstock is created? You work on the upstream project, so you would help keep the recipe aligned with new Isaac Lab releases. Other Isaac Lab developers are welcome too. Being listed only means you can be pinged and can review or push recipe updates for the feedstock. @traversaro, the same question for you, if you want to be listed. Anyone interested: please comment explicitly on this PR, so I can add your handle to |
|
Sure, that's good with me! |
The comment blamed an OpenXR runtime and claimed the extension is off the core import path. The extension actually needs isaacteleop, a PyPI-only binary package that is not on conda-forge. The import path claim was not verified, so it is dropped.
StafaH works on the upstream project and accepted the invitation in the PR comments.
The recipe looped over a hardcoded list of extras, and a renamed or new upstream extra went unnoticed (a missing group yielded an empty dist-info). The list now lives in gen_extra_metadata.py next to the skipped extras, and the extras subcommand stops the build if the upstream set differs.
The drift check only compared the upstream pyproject, so a group dropped from gen_deps.toml still produced an empty dist-info. The extras command now also requires every packaged extra in gen_deps.toml. It also absorbs the single-use cmd_extra helper, and the docstring and the rlinf skip reason match the code.
The output was commented out because its dependencies did not co-solve (libabseil conflict between decord2 and ray-default). They solve now on linux-64, but the conda albumentations pins albucore 0.0.24, which imports simsimd, and simsimd 7 no longer ships that module. The output pins simsimd <7, and is registered in PACKAGED_EXTRAS so its pip_check dist-info is generated.
Not at the moment, I prefer to wear the hat of the PR reviewer for now! |
The linter rejects a noarch recipe with skip selectors. The osx and win staged-recipes jobs fail until the feedstock exists, which is expected, and the final feedstock has linux runners only. This also reverts the temporary disk-space change to .azure-pipelines/azure-pipelines-linux.yml, because the linter rejects edits outside recipes/.
|
Can you check the linter checks? |
| @@ -0,0 +1,93 @@ | |||
| # Local verification aid for the isaaclab recipe (see README.md). Removed before merge. | |||
There was a problem hiding this comment.
Can you remove if the intention is to remove before merge?
There was a problem hiding this comment.
The intention is to keep it, there is no plan to remove it before merge. It lets a maintainer with a GPU machine check in one command that the interaction with the closed-source Omniverse packages (omniverseclient, ovphysx, ovrtx) works, which CI cannot cover. Only README.pr-notes.md was meant to be removed, and it is already gone in a0abe35.
The comments still described rlinf as blocked, claimed every pin tracks upstream 1:1 and said the extras script ships the Git deps. Reword them to match the recipe.
They were temporary notes for the staged-recipes review and are not part of the feedstock.
|
@traversaro, I was just about to push :) The linter failures came from the temporary CI change and the |
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( I do have some suggestions for making it better though... For recipes/isaaclab/recipe.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/46019895019. Examine the logs at this URL for more detail. |
|
@traversaro, the PR is in its final state from my side. The linter passes (the only note is the deprecated |
The feedstock would default to micromamba as the install tool. Set pixi as the install tool and make rattler-build explicit as the build tool.
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
The recipe listed onnxscript, which upstream v3.0.0 does not declare anywhere. It was a leftover of the 2.x isaaclab_rl dependency. The leapp feedstock already depends on onnxscript for the isaaclab-leapp output.
The plain task matched linux-64-cuda13 by name while ovrtx used the *cuda* glob. Use the glob for both.
isaaclab ships isaaclab_mimic, which is Apache-2.0 upstream, but the recipe declared only BSD-3-Clause. Also fix the commented aiohttp floor of isaaclab-rl-games and wrapped comments.
Adds Isaac Lab 3.0.0 as a single package, like the upstream wheel: it bundles every Isaac Lab extension and takes its third-party pins from the upstream root
pyproject.toml.This is an alternative to #32698, which has one conda package per
source/extension and stays open in parallel.What it ships
isaaclabis the base package. Each upstream extra that adds third-party dependencies is a small subpackage on top of it, andisaaclab-allpulls them together:isaaclab-videomoviepyisaaclab-wandbwandb(left out ofisaaclab-all, as upstream)isaaclab-sb3stable-baselines3isaaclab-viserviserisaaclab-rerunrerun-sdk,pyarrowisaaclab-mimicrobomimic,ipywidgetsisaaclab-tetrahedralizationpytetwild,pyvistaisaaclab-leappleappisaaclab-torchrltorchrlisaaclab-rlinfray-default,albumentations,decord2,diffusers,timm,peftand more (left out ofisaaclab-all, as upstream)Two extras are not packaged yet:
skrlandrl-gameshave no conda-forge feedstock.Limits
noarch: python, built and tested on Linux only. The osx and win jobs of this PR are expected to fail, because the final feedstock has Linux runners only.omniverseclientandisaacsim-asset-isolated), so the base package does not install end to end from conda-forge alone yet.isaaclab_teleopis not included: it needsisaacteleop, a PyPI-only binary package that is not on conda-forge.configclasswork on Python 3.14, proposed upstream in Support Python 3.14 annotations inconfigclassisaac-sim/IsaacLab#8108.Tested
linux-64,pip checkincluded. There is no GPU, so thecudacases are skipped.recipes/isaaclab/pixi.tomlbuilds the package fromrecipe.yamland adds the Omniverse wheels, so the full suite runs with these commands. All three pass on an RTX A5000.pixi.tomlandREADME.mdstay in the feedstock for this.Related
Dependencies that had to land first:
albumentationsx#34440pytetwild#34556leapp#34559decord2#34560Checklist
recipe.yamlformat, or this PR explains the exceptional requirement for deprecated v0.url) rather than a repo (e.g.git_url) is used in your recipe (see here for more details).Note
The single
isaaclabpackage bundles theisaaclab*extensions, which is the upstream wheel layout and not third-party vendoring.