Skip to content

Commit 0ec26bc

Browse files
committed
fix: install unitree-sdk2py directly in lerobot-g1-native-example CI job
The [unitree] extra was removed from pyproject.toml (PyPI rejects git-based direct refs). The lerobot-g1-native CI job was still installing .[demo,unitree], so unitree-sdk2py was silently skipped and the example failed at runtime. Follows the same pattern already applied in Dockerfile and pages.yml. https://claude.ai/code/session_01Uk4QudK4yPViXkixQVnwUh
1 parent fcf596f commit 0ec26bc

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,14 @@ jobs:
137137
- name: Install system dependencies (OSMesa for headless rendering)
138138
run: sudo apt-get update && sudo apt-get install -y libosmesa6-dev
139139

140-
- name: Install package with demo + unitree dependencies
141-
run: uv pip install --system -e ".[demo,unitree]"
140+
- name: Install package with demo dependencies
141+
run: uv pip install --system -e ".[demo]"
142+
143+
- name: Install unitree SDK directly from fork
144+
run: |
145+
# unitree-sdk2py is installed directly (not via a pyproject extra —
146+
# PyPI rejects packages with git-based direct references on upload)
147+
uv pip install --system "unitree-sdk2py @ git+https://github.com/MiaoDX-fork-and-pruning/unitree_sdk2_python_uv.git"
142148
143149
- name: Install CPU PyTorch and lerobot
144150
run: |

0 commit comments

Comments
 (0)