From ad13c4f44d85a4a2d5d7ae6b2c4d9727508f5365 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 26 Feb 2026 17:56:43 +0000 Subject: [PATCH] python3Packages.lerobot: fix --- pkgs/development/python-modules/lerobot/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/development/python-modules/lerobot/default.nix b/pkgs/development/python-modules/lerobot/default.nix index 90730adc2769..187fac569c01 100644 --- a/pkgs/development/python-modules/lerobot/default.nix +++ b/pkgs/development/python-modules/lerobot/default.nix @@ -58,6 +58,7 @@ buildPythonPackage (finalAttrs: { pythonRelaxDeps = [ "av" "datasets" + "diffusers" "draccus" "gymnasium" "huggingface-hub" @@ -104,6 +105,17 @@ buildPythonPackage (finalAttrs: { ]; disabledTests = [ + # TypeError: only 0-dimensional arrays can be converted to Python scalars + "test_add_frame" + "test_add_frame_state_numpy" + "test_data_consistency_across_episodes" + "test_delta_timestamps_query_returns_correct_values" + "test_episode_boundary_integrity" + "test_from_lerobot_dataset" + "test_statistics_metadata_validation" + "test_task_indexing_and_validation" + "test_to_lerobot_dataset" + # RuntimeError: OpenCVCamera(/build/source/tests/artifacts/cameras/image_480x270.png) read failed "test_async_read" "test_fourcc_with_camer"