python3Packages.dask-image: 2024.5.3 -> 2025.11.0 (#461199)

This commit is contained in:
kirillrdy
2025-11-13 21:59:55 +00:00
committed by GitHub

View File

@@ -16,30 +16,23 @@
# tests # tests
pyarrow, pyarrow,
pytest-flake8,
pytestCheckHook, pytestCheckHook,
scikit-image, scikit-image,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dask-image"; pname = "dask-image";
version = "2024.5.3"; version = "2025.11.0";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dask"; owner = "dask";
repo = "dask-image"; repo = "dask-image";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-kXCAqJ2Zgo/2Khvo2YcK+n4oGM219GyQ2Hsq9re1Lac="; hash = "sha256-+nzYthnobcemunMcAWwRpHOQy6yFtjdib/7VZqWEiqc=";
}; };
postPatch = ''
substituteInPlace dask_image/ndinterp/__init__.py \
--replace-fail "out_bounds.ptp(axis=1)" "np.ptp(out_bounds, axis=1)"
substituteInPlace tests/test_dask_image/test_imread/test_core.py \
--replace-fail "fh.save(" "fh.write("
'';
build-system = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
@@ -55,6 +48,7 @@ buildPythonPackage rec {
nativeCheckInputs = [ nativeCheckInputs = [
pyarrow pyarrow
pytest-flake8
pytestCheckHook pytestCheckHook
scikit-image scikit-image
]; ];