From c3b26382e7921a5673ae0a87f6abe6e1332757ee Mon Sep 17 00:00:00 2001 From: Pepijn Date: Sun, 22 Mar 2026 21:28:34 -0700 Subject: [PATCH] fix(docker): override gymnasium==0.29.1 for robomme image mani-skill==3.0.0b21 (robomme dep) pins gymnasium==0.29.1, conflicting with lerobot's gymnasium>=1.1.1. Use uv --override to force 0.29.1. Both 0.29.x and 1.x use the same 5-tuple step() API (introduced in gymnasium 0.26), so the eval worker and RoboMMEGymEnv wrapper are fully compatible with the downgraded version. Co-Authored-By: Claude Sonnet 4.6 --- docker/Dockerfile.eval-robomme | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile.eval-robomme b/docker/Dockerfile.eval-robomme index 0991d2b49..ed63990dd 100644 --- a/docker/Dockerfile.eval-robomme +++ b/docker/Dockerfile.eval-robomme @@ -14,7 +14,12 @@ FROM lerobot-eval-base:latest -RUN uv pip install --no-cache ".[robomme]" \ +# robomme → mani-skill==3.0.0b21 → gymnasium==0.29.1, conflicting with +# lerobot's gymnasium>=1.1.1 requirement. Override allows the install. +# Both gymnasium 0.29.x and 1.x use the same 5-tuple step() API (since +# gym 0.26), so the eval worker is compatible with the downgraded version. +RUN printf 'gymnasium==0.29.1\n' > /tmp/gym_override.txt \ + && uv pip install --no-cache --override /tmp/gym_override.txt ".[robomme]" \ && python -c "import robomme" CMD ["/bin/bash"]