From 2ea3043b1b05c93a907da0e3188780c465ae0a70 Mon Sep 17 00:00:00 2001 From: Steven Palma Date: Thu, 23 Oct 2025 19:37:11 +0200 Subject: [PATCH] patch(ci): remove pi & libero tags from PyPi release temporary due to their reliance on git dependencies (#2300) --- .github/workflows/release.yml | 8 ++++++++ docs/source/installation.mdx | 3 +++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7339d44ed..8f0a84732 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,6 +82,14 @@ jobs: exit 1 fi + - name: Remove Tags with Git dependencies + # TODO(Steven): Temporary patch to remove libero and pi from PyPi 0.4.0 release due to its reliance on git dependencies. + run: | + echo "::info:: Checking for Git dependencies to remove from pyproject.toml..." + grep -E '@ git\+https|lerobot\[pi\]|lerobot\[libero\]' pyproject.toml | sed 's/^/::warning:: Removing line: /' || true + sed -E -i '/@ git\+https|lerobot\[pi\]|lerobot\[libero\]/d' pyproject.toml + echo "::info:: Git dependencies removed. Proceeding with build." + - name: Install build dependencies run: python -m pip install build diff --git a/docs/source/installation.mdx b/docs/source/installation.mdx index f5fc41b43..67082137e 100644 --- a/docs/source/installation.mdx +++ b/docs/source/installation.mdx @@ -81,6 +81,9 @@ _Replace `[...]` with your desired features._ For a full list of optional dependencies, see: https://pypi.org/project/lerobot/ +> [!NOTE] +> 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"` + ### Troubleshooting If you encounter build errors, you may need to install additional dependencies: `cmake`, `build-essential`, and `ffmpeg libs`.