Skip to content

deps: base install drops pandas and ffmpeg (video extra) - 201.6 MB to 72.5 MB - #12

Merged
tactino merged 2 commits into
mainfrom
feat/slim-base-install
Sep 29, 2026
Merged

tactino merged 2 commits into
mainfrom
feat/slim-base-install

Conversation

@tactino

@tactino tactino commented Sep 29, 2026

Copy link
Copy Markdown
Member

E45 found that most of plugrl-env-client's 222 MB base install is weight it does not need. This removes it. Stacked on #11: merge #11 first, and the diff shrinks to this change.

  • pandas leaves the dependencies. Nothing in src/, tests/ or examples/ imports it (the README already said so).
  • imageio[ffmpeg] becomes imageio, which is all the recorder's PNG snapshots need. ffmpeg, which the mp4 videos need, moves to a new video extra (--recorder.record-video, --recorder.record-full-rollout).
  • Writing a video without the extra raises an error that names it, instead of whatever imageio says when its plugin is missing. A test covers this, and the existing video-writer test now says it has ffmpeg.
  • README. The dependency list and its correction are updated, and the extras section says what video is for.

Measured the way CI installs it, the base with no extras, from each lock, on Windows:

packages .venv
before (#11's lock) 33 201.6 MB
after 26 72.5 MB

The seven packages gone are pandas, pytz, tzdata, python-dateutil, six, imageio-ffmpeg and psutil. The env client's tests pass in the slimmed environment, without ffmpeg: 128 passed, 15 skipped.

Anyone recording videos adds --extra video. The qz103 LIBERO environments already have imageio-ffmpeg installed.

…MuJoCo 3, declared as conflicts; the lock is current

uv.lock still held robomimic 0.3.0 after the extra moved to 0.4.0, and
relocking without declared conflicts would have put MuJoCo 2.3.7 under the
`mujoco` extra as well. The `libero` extra, unpinned, resolved MuJoCo 3.6,
which robosuite 1.4.1 rejects; it now pins 2.3.7, matching E42's recorded
client environment. The README no longer gives one command for all six
extras, which could not work.
…os only, now the `video` extra) - 33 packages and 201.6 MB down to 26 and 72.5 MB
@tactino
tactino merged commit eb4860c into main Sep 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant