mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-20 19:19:56 +00:00
fix(docker): fix libero_plus deps by replacing git dep with lerobot[libero]
The libero @ git+...@main dep had empty install_requires, causing uv to skip robosuite (and other deps) during resolution — they appeared "already resolved" from a stale git dep cache even though not installed. Fix: use lerobot[libero] as the dep source (hf-libero properly declares all deps including robosuite via robomimic). The LIBERO-plus Python module is installed from the git clone with --no-deps, so hf-libero's declared deps are used but LIBERO-plus's environments override via .pth. Also remove egl_probe (broken original) duplicate alongside hf-egl-probe. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+5
-8
@@ -185,20 +185,17 @@ libero = [
|
||||
"lerobot[scipy-dep]",
|
||||
]
|
||||
libero_plus = [
|
||||
"lerobot[transformers-dep]",
|
||||
"hf-egl-probe>=1.0.1; sys_platform == 'linux'",
|
||||
"egl_probe>=1.0.1; sys_platform == 'linux'",
|
||||
"libero @ git+https://github.com/sylvestf/LIBERO-plus.git@main ; sys_platform == 'linux'",
|
||||
# LIBERO-plus setup.py has empty install_requires; declare its runtime deps here.
|
||||
"robosuite>=1.4.0,<1.5.0; sys_platform == 'linux'",
|
||||
# Inherit all of libero's deps (hf-libero → robosuite/robomimic/egl-probe/scipy/transformers).
|
||||
# LIBERO-plus extends LIBERO with extra task suites; its Python module is installed
|
||||
# from the git clone in Dockerfile.eval-libero-plus (overrides hf-libero via .pth).
|
||||
"lerobot[libero]",
|
||||
# Additional runtime deps declared by LIBERO-plus but absent from its setup.py:
|
||||
"bddl>=1.0.1,<2.0.0; sys_platform == 'linux'",
|
||||
"future; sys_platform == 'linux'", # bddl transitive dep not declared in its metadata
|
||||
"robomimic>=0.2.0,<0.3.0; sys_platform == 'linux'",
|
||||
"easydict>=1.9; sys_platform == 'linux'",
|
||||
"wand; sys_platform == 'linux'",
|
||||
"scikit-image>=0.20.0; sys_platform == 'linux'",
|
||||
"gym>=0.25.0,<0.27.0; sys_platform == 'linux'",
|
||||
"lerobot[scipy-dep]",
|
||||
]
|
||||
libero-plus = ["lerobot[libero_plus]"]
|
||||
robomme = [
|
||||
|
||||
Reference in New Issue
Block a user