This is an automated email from the ASF dual-hosted git repository.
JingsongLi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new e7aa1aa071 [python] Fix LeRobot test lint and optional dependency
checks
e7aa1aa071 is described below
commit e7aa1aa071e888979a719146cf5bad8efa12554f
Author: JingsongLi <[email protected]>
AuthorDate: Fri Nov 13 08:32:29 2026 +0800
[python] Fix LeRobot test lint and optional dependency checks
---
paimon-python/pypaimon/tests/lerobot_aggregate_test.py | 2 ++
paimon-python/pypaimon/tests/multimodal_lerobot_writer_test.py | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/paimon-python/pypaimon/tests/lerobot_aggregate_test.py
b/paimon-python/pypaimon/tests/lerobot_aggregate_test.py
index f62d17828a..0e9c1eebaf 100644
--- a/paimon-python/pypaimon/tests/lerobot_aggregate_test.py
+++ b/paimon-python/pypaimon/tests/lerobot_aggregate_test.py
@@ -227,6 +227,8 @@ def test_single_source_accepts_string_episode_tasks(setup,
source_as_list):
def test_single_source_preserves_feature_quantiles(setup):
+ pytest.importorskip("datasets")
+ pytest.importorskip("torch")
conn, sources = setup
source_path = Path(sources[0][7:])
stats_path = source_path / "meta/stats.json"
diff --git a/paimon-python/pypaimon/tests/multimodal_lerobot_writer_test.py
b/paimon-python/pypaimon/tests/multimodal_lerobot_writer_test.py
index 6815dfbe8e..fee387b6bf 100644
--- a/paimon-python/pypaimon/tests/multimodal_lerobot_writer_test.py
+++ b/paimon-python/pypaimon/tests/multimodal_lerobot_writer_test.py
@@ -125,7 +125,8 @@ class PaimonLeRobotWriterTest(unittest.TestCase):
self.assertEqual([dataset_id], self.connection.get_table(
"table_group").scan().select(["dataset_id"]).to_arrow()[
"dataset_id"].to_pylist())
- self.assertEqual([dataset_id], [row["dataset_id"] for row in
+ self.assertEqual([dataset_id], [
+ row["dataset_id"] for row in
_catalog_rows(self.connection, "table_group_episodes")])
info = json.loads(_dataset_row(self.connection, "table_group")["info"])
self.assertEqual(10, info["fps"])