From 8afc59defa10ddc0e56b47658c91e2b7b161131b Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 16 Jan 2026 14:07:13 +0000 Subject: [PATCH 1/4] python3Packages.distributed: 2026.1.1 -> 2026.1.2 Diff: https://github.com/dask/distributed/compare/2026.1.1...2026.1.2 Changelog: https://github.com/dask/distributed/releases/tag/2026.1.2 --- .../python-modules/distributed/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/distributed/default.nix b/pkgs/development/python-modules/distributed/default.nix index 101649f5c17e..81999062196e 100644 --- a/pkgs/development/python-modules/distributed/default.nix +++ b/pkgs/development/python-modules/distributed/default.nix @@ -25,16 +25,16 @@ zict, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "distributed"; - version = "2026.1.1"; + version = "2026.1.2"; pyproject = true; src = fetchFromGitHub { owner = "dask"; repo = "distributed"; - tag = version; - hash = "sha256-xriIsrdFNSHAO9SmdowXK9uPW06ziz9uGie3PkYncqo="; + tag = finalAttrs.version; + hash = "sha256-VkZ9rd+eVyfwfRMSAqriR8UjdlqsqHYCkCHZJnk0VOU="; }; build-system = [ @@ -70,8 +70,8 @@ buildPythonPackage rec { meta = { description = "Distributed computation in Python"; homepage = "https://distributed.readthedocs.io/"; - changelog = "https://github.com/dask/distributed/releases/tag/${src.tag}"; + changelog = "https://github.com/dask/distributed/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ teh ]; }; -} +}) From 2f1f60ed93056d8cdf6226e72968d73870485542 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 16 Jan 2026 14:03:58 +0000 Subject: [PATCH 2/4] python3Packages.dask: 2025.12.0 -> 2026.1.2 Diff: https://github.com/dask/dask/compare/2025.12.0...2026.1.2 Changelog: https://docs.dask.org/en/latest/changelog.html --- .../python-modules/dask/default.nix | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/dask/default.nix b/pkgs/development/python-modules/dask/default.nix index cb7ae00121df..0fc701ab53fb 100644 --- a/pkgs/development/python-modules/dask/default.nix +++ b/pkgs/development/python-modules/dask/default.nix @@ -1,8 +1,10 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, pythonAtLeast, + util-linux, # build-system setuptools, @@ -29,6 +31,7 @@ # tests hypothesis, + psutil, pytest-asyncio, pytest-cov-stub, pytest-mock, @@ -39,22 +42,23 @@ versionCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "dask"; - version = "2025.12.0"; + version = "2026.1.2"; pyproject = true; src = fetchFromGitHub { owner = "dask"; repo = "dask"; - tag = version; - hash = "sha256-oGBOt2ULLn0Kx1rOVNWaC3l1ECotMC2yNeCHya9Tx+s="; + tag = finalAttrs.version; + hash = "sha256-cyeAU5r8uYb7aAII9HztKY+3On44/nOC9eU9stYYWzE="; }; - # https://github.com/dask/dask/issues/12043 - postPatch = lib.optionalString (pythonAtLeast "3.14") '' - substituteInPlace dask/dataframe/dask_expr/tests/_util.py \ - --replace-fail "except AttributeError:" "except (AttributeError, pickle.PicklingError):" + postPatch = lib.optionalString stdenv.hostPlatform.isLinux '' + substituteInPlace dask/tests/test_system.py \ + --replace-fail \ + '"taskset",' \ + '"${lib.getExe' util-linux "taskset"}",' ''; build-system = [ @@ -97,6 +101,7 @@ buildPythonPackage rec { nativeCheckInputs = [ hypothesis + psutil pyarrow pytest-asyncio pytest-cov-stub @@ -107,8 +112,8 @@ buildPythonPackage rec { pytestCheckHook versionCheckHook ] - ++ optional-dependencies.array - ++ optional-dependencies.dataframe; + ++ finalAttrs.passthru.optional-dependencies.array + ++ finalAttrs.passthru.optional-dependencies.dataframe; pytestFlags = [ # Rerun failed tests up to three times @@ -149,4 +154,4 @@ buildPythonPackage rec { license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ GaetanLepage ]; }; -} +}) From 8296d97be0d0e0971f7f6bf827aec81521cec0c2 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 25 Jan 2026 23:17:09 +0000 Subject: [PATCH 3/4] python3Packages.awkward: 2.8.11 -> 2.9.0 Diff: https://github.com/scikit-hep/awkward/compare/v2.8.11...v2.9.0 Changelog: https://github.com/scikit-hep/awkward/releases/tag/v2.9.0 --- .../python-modules/awkward-cpp/default.nix | 14 +++++++++----- .../development/python-modules/awkward/default.nix | 12 ++++++------ 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/awkward-cpp/default.nix b/pkgs/development/python-modules/awkward-cpp/default.nix index 2e5393c32117..0437f48df198 100644 --- a/pkgs/development/python-modules/awkward-cpp/default.nix +++ b/pkgs/development/python-modules/awkward-cpp/default.nix @@ -2,22 +2,26 @@ lib, buildPythonPackage, fetchPypi, + + # build-system cmake, ninja, pybind11, scikit-build-core, + + # dependencies numpy, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "awkward-cpp"; - version = "51"; + version = "52"; pyproject = true; src = fetchPypi { pname = "awkward_cpp"; - inherit version; - hash = "sha256-jHTo+fslAXZtGw+fLrh3fjhEEdM1NKj6Zn1WWZIjoEs="; + inherit (finalAttrs) version; + hash = "sha256-7xQesgVE3yYblzyYbPrle+MpAiBhvoaBdQat1nZZcnU="; }; build-system = [ @@ -39,4 +43,4 @@ buildPythonPackage rec { license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ veprbl ]; }; -} +}) diff --git a/pkgs/development/python-modules/awkward/default.nix b/pkgs/development/python-modules/awkward/default.nix index 276d23220712..4287184b7408 100644 --- a/pkgs/development/python-modules/awkward/default.nix +++ b/pkgs/development/python-modules/awkward/default.nix @@ -22,16 +22,16 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "awkward"; - version = "2.8.11"; + version = "2.9.0"; pyproject = true; src = fetchFromGitHub { owner = "scikit-hep"; repo = "awkward"; - tag = "v${version}"; - hash = "sha256-76DeL/KIna8Hd9eukCzuRXKO+awkbpc4trCeKTSfGmA="; + tag = "v${finalAttrs.version}"; + hash = "sha256-ovbhCPTNxyfL7tkvBCiHF0kZt0l0oMSpdsE4E9S4JJY="; }; build-system = [ @@ -68,8 +68,8 @@ buildPythonPackage rec { meta = { description = "Manipulate JSON-like data with NumPy-like idioms"; homepage = "https://github.com/scikit-hep/awkward"; - changelog = "https://github.com/scikit-hep/awkward/releases/tag/${src.tag}"; + changelog = "https://github.com/scikit-hep/awkward/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ veprbl ]; }; -} +}) From 1525223b61ac10a5c551f0e3a75da9ed42679574 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 25 Jan 2026 23:18:03 +0000 Subject: [PATCH 4/4] python3Packages.uproot: use finalAttrs --- pkgs/development/python-modules/uproot/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/uproot/default.nix b/pkgs/development/python-modules/uproot/default.nix index 3c5b8a074377..b9b7d6f2ffd1 100644 --- a/pkgs/development/python-modules/uproot/default.nix +++ b/pkgs/development/python-modules/uproot/default.nix @@ -25,7 +25,7 @@ xxhash, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "uproot"; version = "5.7.1"; pyproject = true; @@ -33,7 +33,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "scikit-hep"; repo = "uproot5"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-06pMcL2o5hHZLEbi8vdYhAAs5BBkHAskNHUB1o48KDU="; }; @@ -103,8 +103,8 @@ buildPythonPackage rec { meta = { description = "ROOT I/O in pure Python and Numpy"; homepage = "https://github.com/scikit-hep/uproot5"; - changelog = "https://github.com/scikit-hep/uproot5/releases/tag/v${version}"; + changelog = "https://github.com/scikit-hep/uproot5/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ veprbl ]; }; -} +})