From 44e7540663688fb4de77054beac4d743e790644b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 17 Dec 2024 10:33:36 +0100 Subject: [PATCH] gnu: python-zarr: Update to 2.18.4. * gnu/packages/python-xyz.scm (python-zarr): Update to 2.18.4. [arguments]: Add phase 'set-version. [propagated-inputs]: Add python-ipywidgets, python-notebook, python-numpydoc, and python-pydata-sphinx-theme. [native-inputs]: Remove python-fsspec, python-h5py, python-pytest-timeout, and python-setuptools-scm; add python-sphinx, python-sphinx-copybutton, python-sphinx-design, python-sphinx-issues, and python-setuptools. Change-Id: I707da0087b8aa6cf57be4e5dd9019b24620f101f --- gnu/packages/python-xyz.scm | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 154cf169a68863809436ca74dfda66df097902b2..97d3c8141bd8946191fd0402d8f76c3f822e9e9e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29254,14 +29254,14 @@ codecs for use in data storage and communication applications.") (define-public python-zarr (package (name "python-zarr") - (version "2.17.2") + (version "2.18.4") (source (origin (method url-fetch) (uri (pypi-uri "zarr" version)) (sha256 (base32 - "1kjj0pk0s6306ljrig77m39zqdy32ch4nyja5lalab9l9v5sdfic")))) + "1fr41j8mxhbj7psn00416qs3nm12djhhmybgpqdax0q6vpg0wy9p")))) (build-system pyproject-build-system) (arguments (list @@ -29273,6 +29273,12 @@ codecs for use in data storage and communication applications.") "-k not test_lazy_loader and not open_array") #:phases #~(modify-phases %standard-phases + (add-before 'build 'set-version + (lambda _ + (substitute* "pyproject.toml" + (("^version_file.*") "") + (("dynamic = \\[\"version\"\\]") + (string-append "version = \"" #$version "\""))))) (add-after 'unpack 'disable-service-tests (lambda _ (setenv "ZARR_TEST_ABS" "0") @@ -29281,16 +29287,21 @@ codecs for use in data storage and communication applications.") (propagated-inputs (list python-asciitree python-fasteners + python-ipywidgets + python-notebook python-numcodecs - python-numpy)) + python-numpy + python-numpydoc + python-pydata-sphinx-theme)) (native-inputs - (list python-fsspec - python-pytest - python-h5py - python-pytest-doctestplus - python-pytest-timeout + (list python-pytest python-pytest-xdist - python-setuptools-scm + python-pytest-doctestplus + python-sphinx + python-sphinx-copybutton + python-sphinx-design + python-sphinx-issues + python-setuptools python-wheel)) (home-page "https://github.com/zarr-developers/zarr-python") (synopsis "Chunked, compressed, N-dimensional arrays for Python")