From 4db10e8223ee3e26e1336c3029f33e9ef92c6a15 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 20 Jan 2026 23:26:41 +0000 Subject: [PATCH 1/2] python3Packages.wandb: 0.21.4 -> 0.24.0 Diff: https://github.com/wandb/wandb/compare/v0.21.4...v0.24.0 Changelog: https://github.com/wandb/wandb/raw/v0.24.0/CHANGELOG.md --- .../python-modules/wandb/default.nix | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/wandb/default.nix b/pkgs/development/python-modules/wandb/default.nix index e7b2ef517b11..56aa5a429995 100644 --- a/pkgs/development/python-modules/wandb/default.nix +++ b/pkgs/development/python-modules/wandb/default.nix @@ -2,10 +2,12 @@ lib, stdenv, fetchFromGitHub, + pythonAtLeast, ## wandb-core - buildGo125Module, + buildGoModule, gitMinimal, + writableTmpDirAsHomeHook, versionCheckHook, ## gpu-stats @@ -20,11 +22,9 @@ # dependencies click, - docker-pycreds, gitpython, platformdirs, protobuf, - psutil, pydantic, pyyaml, requests, @@ -72,16 +72,15 @@ torch, torchvision, tqdm, - writableTmpDirAsHomeHook, }: let - version = "0.21.4"; + version = "0.24.0"; src = fetchFromGitHub { owner = "wandb"; repo = "wandb"; tag = "v${version}"; - hash = "sha256-1l68nU/rmYg/Npg1EVraGr2tu/lkNAo9M7Q0IyckEoc="; + hash = "sha256-dICa/sIFEHI59gJxrvWyI9Uc3rbwXi+Xh60O/hElZh0="; }; gpu-stats = rustPlatform.buildRustPackage { @@ -108,7 +107,7 @@ let }; }; - wandb-core = buildGo125Module rec { + wandb-core = buildGoModule rec { pname = "wandb-core"; inherit src version; @@ -126,6 +125,7 @@ let nativeBuildInputs = [ gitMinimal + writableTmpDirAsHomeHook ]; nativeInstallCheckInputs = [ @@ -151,7 +151,7 @@ let }; in -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "wandb"; pyproject = true; @@ -193,11 +193,9 @@ buildPythonPackage rec { dependencies = [ click - docker-pycreds gitpython platformdirs protobuf - psutil pydantic pyyaml requests @@ -382,16 +380,19 @@ buildPythonPackage rec { # Breaks in sandbox: "Timed out waiting for wandb service to start" "test_setup_offline" + ] + ++ lib.optionals (pythonAtLeast "3.14") [ + # AttributeError: '...' object has no attribute '__annotations__' + "test_watch_graph_torch_jit" + "test_watch_parameters_torch_jit" ]; - pythonImportsCheck = [ "wandb" ]; - meta = { description = "CLI and library for interacting with the Weights and Biases API"; homepage = "https://github.com/wandb/wandb"; - changelog = "https://github.com/wandb/wandb/raw/v${version}/CHANGELOG.md"; + changelog = "https://github.com/wandb/wandb/raw/${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ samuela ]; broken = gpu-stats.meta.broken || wandb-core.meta.broken; }; -} +}) From b95c92c96c823c8f8f9cb1bd11515a967d0307d1 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 21 Jan 2026 00:07:45 +0000 Subject: [PATCH 2/2] python3Packages.lerobot: 0.4.0 -> 0.4.2 Diff: https://github.com/huggingface/lerobot/compare/v0.4.0...v0.4.2 Changelog: https://github.com/huggingface/lerobot/releases/tag/v0.4.2 --- .../python-modules/lerobot/default.nix | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/lerobot/default.nix b/pkgs/development/python-modules/lerobot/default.nix index a49cb26b1ec1..4a3783819b24 100644 --- a/pkgs/development/python-modules/lerobot/default.nix +++ b/pkgs/development/python-modules/lerobot/default.nix @@ -34,18 +34,19 @@ # tests pytestCheckHook, writableTmpDirAsHomeHook, + pytest-timeout, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "lerobot"; - version = "0.4.0"; + version = "0.4.2"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "lerobot"; - tag = "v${version}"; - hash = "sha256-RVe1X0qBPm+okO3Gi/UdkuvuX0m4RlbhIs+NJLlC9wU="; + tag = "v${finalAttrs.version}"; + hash = "sha256-qBbXFvVQ+cESBrNy8NIoT6GR6dqzeLbRNe3JmcpiiTw="; }; # ValueError: mutable default for field value is not allowed: use default_factory @@ -67,12 +68,12 @@ buildPythonPackage rec { pythonRelaxDeps = [ "av" - "datasets" "draccus" "gymnasium" "rerun-sdk" "torch" "torchvision" + "wandb" ]; dependencies = [ @@ -109,6 +110,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook writableTmpDirAsHomeHook + pytest-timeout ]; disabledTests = [ @@ -124,6 +126,9 @@ buildPythonPackage rec { "test_dataset_initialization" "test_factory" "test_from_pretrained_nonexistent_path" + "test_load_config_nonexistent_path_tries_hub" + "test_make_env_from_hub_async" + "test_make_env_from_hub_with_trust" "test_policy_defaults" "test_save_and_load_pretrained" @@ -149,18 +154,24 @@ buildPythonPackage rec { # Regex: "Can't instantiate abstract class NonCallableStep with abstract method __call_" # Input: "Can't instantiate abstract class NonCallableStep without an implementation for abstract method '__call__'" "test_construction_rejects_step_without_call" + + # TypeError: 'NoneType' object is not subscriptable + "test_pi0_rtc_inference_with_prev_chunk" ]; disabledTestPaths = [ # Sometimes hang forever on some CPU models "tests/policies/test_sac_policy.py" + + # Sometimes hang forever + "tests/policies/rtc/test_modeling_rtc.py" ]; meta = { description = "Making AI for Robotics more accessible with end-to-end learning"; homepage = "https://github.com/huggingface/lerobot"; - changelog = "https://github.com/huggingface/lerobot/releases/tag/v${version}"; + changelog = "https://github.com/huggingface/lerobot/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; }; -} +})