Skip to content

Commit 2ea3043

Browse files
patch(ci): remove pi & libero tags from PyPi release temporary due to their reliance on git dependencies (#2300)
1 parent 0f61e24 commit 2ea3043

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ jobs:
8282
exit 1
8383
fi
8484
85+
- 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.
87+
run: |
88+
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
91+
echo "::info:: Git dependencies removed. Proceeding with build."
92+
8593
- name: Install build dependencies
8694
run: python -m pip install build
8795

docs/source/installation.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ _Replace `[...]` with your desired features._
8181
For a full list of optional dependencies, see:
8282
https://pypi.org/project/lerobot/
8383

84+
> [!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"`
86+
8487
### Troubleshooting
8588

8689
If you encounter build errors, you may need to install additional dependencies: `cmake`, `build-essential`, and `ffmpeg libs`.

0 commit comments

Comments
 (0)