rekado pushed a commit to branch python-team in repository guix. commit 7244ef67c289d955c3c150a8e3a7738a20e0fe17 Author: Ricardo Wurmus <rek...@elephly.net> AuthorDate: Tue Dec 17 10:33:36 2024 +0100
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 3461ca13b5..9454bc9079 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29281,14 +29281,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 @@ -29300,6 +29300,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") @@ -29308,16 +29314,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")