From 72ef15993ddc727a7017c665654c3168b1ceaede Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 13 Jun 2026 22:25:15 +0000 Subject: [PATCH] python3Packages.dask-image: 2025.11.0 -> 2026.5.0 Diff: https://github.com/dask/dask-image/compare/v2025.11.0...v2026.5.0 Changelog: https://github.com/dask/dask-image/releases/tag/v2026.5.0 --- .../python-modules/dask-image/default.nix | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/dask-image/default.nix b/pkgs/development/python-modules/dask-image/default.nix index e17ebb975c62..7f90dcc8c18b 100644 --- a/pkgs/development/python-modules/dask-image/default.nix +++ b/pkgs/development/python-modules/dask-image/default.nix @@ -11,7 +11,6 @@ dask, numpy, scipy, - pandas, pims, # tests @@ -20,24 +19,22 @@ scikit-image, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "dask-image"; - version = "2025.11.0"; + version = "2026.5.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "dask"; repo = "dask-image"; - tag = "v${version}"; - hash = "sha256-+nzYthnobcemunMcAWwRpHOQy6yFtjdib/7VZqWEiqc="; + tag = "v${finalAttrs.version}"; + hash = "sha256-SEbabXZx4u+C4IjzfVf81Y/gopxt6m0Jp0ZCN9hx5G8="; }; postPatch = '' - sed -i "/--flake8/d" pyproject.toml - - # https://numpy.org/doc/stable//release/2.4.0-notes.html#removed-numpy-in1d - substituteInPlace tests/test_dask_image/test_ndmeasure/test_core.py \ - --replace-fail "np.in1d" "np.isin" + substituteInPlace pyproject.toml \ + --replace-fail "--flake8" "" ''; build-system = [ @@ -48,9 +45,8 @@ buildPythonPackage rec { dependencies = [ dask numpy - scipy - pandas pims + scipy ]; nativeCheckInputs = [ @@ -80,8 +76,8 @@ buildPythonPackage rec { meta = { description = "Distributed image processing"; homepage = "https://github.com/dask/dask-image"; - changelog = "https://github.com/dask/dask-image/releases/tag/v${version}"; + changelog = "https://github.com/dask/dask-image/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsdOriginal; maintainers = with lib.maintainers; [ GaetanLepage ]; }; -} +})