patch(ci): remove pi & libero tags from PyPi release temporary due to their reliance on git dependencies (#2300)

This commit is contained in:
Steven Palma
2025-10-23 19:37:11 +02:00
committed by GitHub
parent 0f61e2415f
commit 2ea3043b1b
2 changed files with 11 additions and 0 deletions

View File

@@ -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