From 309373b9a91f6d219f089acfa5ff3921f0daa953 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 18 Mar 2025 16:37:57 +0100 Subject: [PATCH] gnu: python-dask-image: Update to 2024.5.3. * gnu/packages/python-xyz.scm (python-dask-image): Update to 2024.5.3. [arguments]: Add phase 'set-version. [native-inputs]: Add python-coverage, python-flake8, python-pytest-cov, python-pytest-timeout, python-setuptools, python-setuptools-scm, python-twine, and python-wheel. Change-Id: I2297cb6942f7c97a330847bda8e0c33c84266322 --- gnu/packages/python-xyz.scm | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b7cf21ba4777eeb73e98c0ecf6fc22e021e27f35..fdc40a0610de4d1d0b4094dec519a7f2d8258036 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31105,13 +31105,13 @@ run on top of the dynamic task schedulers.") (define-public python-dask-image (package (name "python-dask-image") - (version "2023.8.1") + (version "2024.5.3") (source (origin (method url-fetch) - (uri (pypi-uri "dask-image" version)) + (uri (pypi-uri "dask_image" version)) (sha256 - (base32 "1dh49lvirf5fbgq5hw1c4972czg5w12fg9y689cinyjjn22qk6jy")))) + (base32 "0g4293n1vjlpyxbvd1xz3pz9an9z4rnsw1m7lynhm00m0bgiz7qc")))) (build-system pyproject-build-system) (arguments (list @@ -31127,7 +31127,15 @@ run on top of the dynamic task schedulers.") "--ignore=tests/test_dask_image/test_ndfourier/test_core.py" "--ignore=tests/test_dask_image/test_ndinterp/test_spline_filter.py" "--ignore=tests/test_dask_image/test_ndmeasure/test_core.py" - "--ignore=tests/test_dask_image/test_ndmeasure/test_find_objects.py"))) + "--ignore=tests/test_dask_image/test_ndmeasure/test_find_objects.py") + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'set-version + (lambda _ + (substitute* "pyproject.toml" + (("^version_file.*") "") + (("dynamic = \\[\"version\"\\]") + (string-append "version = \"" #$version "\"")))))))) (propagated-inputs (list python-dask python-numpy python-pandas-2 @@ -31135,7 +31143,16 @@ run on top of the dynamic task schedulers.") python-scipy python-tifffile)) (native-inputs - (list python-pytest-flake8 python-pytest)) + (list python-coverage + python-flake8 + python-pytest + python-pytest-cov + python-pytest-flake8 + python-pytest-timeout + python-setuptools + python-setuptools-scm + python-twine + python-wheel)) (home-page "https://github.com/dask/dask-image") (synopsis "Distributed image processing") (description "This is a package for image processing with Dask arrays.