Skip to content

[python] Support LeRobot 0.6 dataset imports and training reads - #10734

Open
XiaoHongbo-Hope wants to merge 3 commits into
apache:masterfrom
XiaoHongbo-Hope:python-lerobot-version-compatibility
Open

XiaoHongbo-Hope wants to merge 3 commits into
apache:masterfrom
XiaoHongbo-Hope:python-lerobot-version-compatibility

Conversation

@XiaoHongbo-Hope

@XiaoHongbo-Hope XiaoHongbo-Hope commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Purpose

pypaimon[lerobot] pins LeRobot below 0.5, preventing installation alongside current LeRobot. Newer LeRobot also exposes DatasetInfo instead of a dict, which breaks local and Hub imports.

Support LeRobot 0.6.x with its dataset extra on Python 3.12+, retain 0.4.x on Python 3.10–3.11, and normalize import and custom-reader metadata through to_dict() when available. Preserve original info JSON extensions for local and Hub imports. Add a versioned CI matrix for import, metadata and training reads. The LeRobot Dataset v3 storage contract is unchanged.

Tests

  • LeRobot 0.4.4 / Python 3.11: 99 passed, 1 skipped.
  • LeRobot 0.6.1 / Python 3.12: 99 passed, 1 skipped, 79 subtests passed.
  • LeRobot 0.6.0 previously passed 98 tests; the latest Hub fix has not been rerun on 0.6.0.
  • Coverage includes real dataset creation/import, Hub metadata loading (mocked download, real LeRobot objects), standard metadata in custom readers, info extension preservation, images/video, tags, pickle and DataLoader reads. New-version dependency installation and checks passed.
  • CI covers 0.4.4 on Python 3.10 and 0.6.0/0.6.1 on Python 3.12. Repository flake8, Python 3.6 syntax compilation and git diff --check passed.

@XiaoHongbo-Hope
XiaoHongbo-Hope marked this pull request as ready for review October 21, 2026 17:24
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