guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

29/65: gnu: python-zarr: Update to 2.18.4.


From: guix-commits
Subject: 29/65: gnu: python-zarr: Update to 2.18.4.
Date: Fri, 20 Dec 2024 16:41:41 -0500 (EST)

rekado pushed a commit to branch python-team
in repository guix.

commit 7000673b5aaa16892004f6ee5f1f255864d2cf51
Author: Ricardo Wurmus <rekado@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 593f109468..593b4e6654 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29322,14 +29322,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
@@ -29341,6 +29341,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")
@@ -29349,16 +29355,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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]