Skip to content

Commit a5b29d4

Browse files
chore(installation): remove libero installation patch (#2416)
* chore(installation): remove libero installation patch * fix(ci): exclude groot for unbound deps test
1 parent a4aa316 commit a5b29d4

File tree

5 files changed

+6
-11
lines changed

5 files changed

+6
-11
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ jobs:
8383
fi
8484
8585
- name: Remove Tags with Git dependencies
86-
# TODO(Steven): Temporary patch to remove libero and pi from PyPi 0.4.0 release due to its reliance on git dependencies.
86+
# TODO(Steven): Temporary patch to remove pi from PyPi 0.4.0 release due to its reliance on git dependencies.
8787
run: |
8888
echo "::info:: Checking for Git dependencies to remove from pyproject.toml..."
89-
grep -E '@ git\+https|lerobot\[pi\]|lerobot\[libero\]' pyproject.toml | sed 's/^/::warning:: Removing line: /' || true
90-
sed -E -i '/@ git\+https|lerobot\[pi\]|lerobot\[libero\]/d' pyproject.toml
89+
grep -E '@ git\+https|lerobot\[pi\]' pyproject.toml | sed 's/^/::warning:: Removing line: /' || true
90+
sed -E -i '/@ git\+https|lerobot\[pi\]/d' pyproject.toml
9191
echo "::info:: Git dependencies removed. Proceeding with build."
9292
9393
- name: Install build dependencies

.github/workflows/unbound_deps_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
echo "Dependencies unbound:" && cat pyproject.toml
7171
7272
- name: Install lerobot with all extras
73-
run: uv sync --all-extras
73+
run: uv sync --all-extras --no-extra groot # TODO(Steven): Make flash-attn optional
7474

7575
- name: Run pytest (all extras)
7676
run: uv run pytest tests -vv

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ For a full list of optional dependencies, see:
186186
https://pypi.org/project/lerobot/
187187

188188
> [!NOTE]
189-
> For lerobot 0.4.0, if you want to install libero or pi tags, you will have to do: `pip install "lerobot[pi,libero]@git+https://github.com/huggingface/lerobot.git"`.
189+
> For lerobot 0.4.0, if you want to install pi tags, you will have to do: `pip install "lerobot[pi]@git+https://github.com/huggingface/lerobot.git"`.
190190
>
191191
> This will be solved in the next patch release
192192

docs/source/installation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ For a full list of optional dependencies, see:
8282
https://pypi.org/project/lerobot/
8383

8484
> [!NOTE]
85-
> For lerobot 0.4.0, if you want to install libero or pi, you will have to do: `pip install "lerobot[pi,libero]@git+https://github.com/huggingface/lerobot.git"`
85+
> For lerobot 0.4.0, if you want to install pi, you will have to do: `pip install "lerobot[pi]@git+https://github.com/huggingface/lerobot.git"`
8686
8787
### Troubleshooting
8888

docs/source/libero.mdx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ LIBERO is now part of our **multi-eval supported simulation**, meaning you can b
2828
To Install LIBERO, after following LeRobot official instructions, just do:
2929
`pip install -e ".[libero]"`
3030

31-
> [!NOTE]
32-
> For lerobot 0.4.0, if you want to install libero tag, you will have to do: `pip install "lerobot[libero]@git+https://github.com/huggingface/lerobot.git"`.
33-
>
34-
> This will be solved in the next patch release
35-
3631
### Single-suite evaluation
3732

3833
Evaluate a policy on one LIBERO suite:

0 commit comments

Comments
 (0)