77Setup:
88 - (wheel supplied by runner: tools/run_install_ci.py --build-wheel or --wheel <path>)
99 - ./isaaclab.sh -u
10- - uv pip install <wheel>[all ]
10+ - uv pip install <wheel>[sb3,skrl,rsl-rl ]
1111Tests:
1212 - python -c "import isaaclab_rl" -> verify isaaclab_rl importable
1313 - python -c "import isaaclab_tasks" -> verify isaaclab_tasks importable
2424
2525@pytest .mark .install_path_uv_pip
2626class Test_Uv_Pip_Install_Isaaclab_Rl_Tasks_Imports_Rl_Tasks (UV_Mixin ):
27- """``uv pip install <wheel>[all ]``: verify RL imports without Isaac Sim."""
27+ """``uv pip install <wheel>[sb3,skrl,rsl-rl ]``: verify RL imports without Isaac Sim."""
2828
2929 _wheel : str = ""
30+ _extras : str = "[sb3,skrl,rsl-rl]"
3031
3132 @classmethod
3233 def setup_class (cls ):
@@ -38,18 +39,19 @@ def _install_wheel(self, isaaclab_root, wheel):
3839 cls = self .__class__
3940 cls ._wheel = str (wheel )
4041
41- # Create the uv env and install with the [all] extra (no isaacsim, no NVIDIA flags).
42+ # Create the uv env and install the RL extras (no isaacsim, no NVIDIA flags).
4243 self .create_uv_env (isaaclab_root )
4344 cls .env_path = self .env_path
4445 cls .python = self .python
4546 cls .cli_script = self .cli_script
4647
48+ target = f"{ cls ._wheel } { cls ._extras } "
4749 result = self .run_in_uv_env (
48- ["uv" , "pip" , "install" , f" { cls . _wheel } [all]" ],
50+ ["uv" , "pip" , "install" , target ],
4951 cwd = isaaclab_root ,
5052 timeout = 1200 ,
5153 )
52- assert result .returncode == 0 , f"uv pip install { cls . _wheel } [all] failed:\n { result .stdout } \n { result .stderr } "
54+ assert result .returncode == 0 , f"uv pip install { target } failed:\n { result .stdout } \n { result .stderr } "
5355
5456 yield
5557
@@ -60,7 +62,7 @@ def _install_wheel(self, isaaclab_root, wheel):
6062 @pytest .mark .slow
6163 @pytest .mark .timeout (1200 )
6264 def test_install_rl_tasks_makes_isaaclab_rl_importable (self ):
63- """``import isaaclab_rl`` succeeds after ``uv pip install <wheel>[all ]``."""
65+ """``import isaaclab_rl`` succeeds after ``uv pip install <wheel>[sb3,skrl,rsl-rl ]``."""
6466 result = self .run_in_uv_env (["python" , "-c" , "import isaaclab_rl" ])
6567 assert result .returncode == 0 , f"import isaaclab_rl failed:\n { result .stdout } \n { result .stderr } "
6668
@@ -69,7 +71,7 @@ def test_install_rl_tasks_makes_isaaclab_rl_importable(self):
6971 @pytest .mark .slow
7072 @pytest .mark .timeout (1200 )
7173 def test_install_rl_tasks_makes_isaaclab_tasks_importable (self ):
72- """``import isaaclab_tasks`` succeeds after ``uv pip install <wheel>[all ]``."""
74+ """``import isaaclab_tasks`` succeeds after ``uv pip install <wheel>[sb3,skrl,rsl-rl ]``."""
7375 result = self .run_in_uv_env (["python" , "-c" , "import isaaclab_tasks" ])
7476 assert result .returncode == 0 , f"import isaaclab_tasks failed:\n { result .stdout } \n { result .stderr } "
7577
@@ -78,6 +80,6 @@ def test_install_rl_tasks_makes_isaaclab_tasks_importable(self):
7880 @pytest .mark .slow
7981 @pytest .mark .timeout (1200 )
8082 def test_install_rl_tasks_omits_isaacsim (self ):
81- """``import isaacsim`` fails after ``uv pip install <wheel>[all]`` ( extra not requested)."""
83+ """``import isaacsim`` fails after installing the RL extras (isaacsim extra not requested)."""
8284 result = self .run_in_uv_env (["python" , "-c" , "import isaacsim" ])
83- assert result .returncode != 0 , "isaacsim should not be installed by [all] extra "
85+ assert result .returncode != 0 , f "isaacsim should not be installed by the { self . _extras } extras "
0 commit comments