guix-commits
[Top][All Lists]
Advanced

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

08/08: gnu: python-distributed: Update to 2021.11.2.


From: guix-commits
Subject: 08/08: gnu: python-distributed: Update to 2021.11.2.
Date: Mon, 13 Dec 2021 17:33:56 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 95447b293d52189056224076c25299fca1338018
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Dec 13 19:23:41 2021 +0100

    gnu: python-distributed: Update to 2021.11.2.
    
    * gnu/packages/python-science.scm (python-distributed): Update to 2021.11.2.
    [source](snippet): New field.
    [arguments]: Add versioneer phase.
    [native-inputs]: Add PYTHON-VERSIONEER.
---
 gnu/packages/python-science.scm | 11 ++++++++---
 gnu/packages/python-xyz.scm     |  1 +
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index d23c56d..b102549 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -890,7 +890,7 @@ and more
 (define-public python-distributed
   (package
     (name "python-distributed")
-    (version "2021.09.1")
+    (version "2021.11.2")
     (source
      (origin
        ;; The test files are not included in the archive on pypi
@@ -901,11 +901,16 @@ and more
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "05djzza3f72nw1i1c9qyamgaf93pbf6jxx0migpp1wvvfl0v2j9z"))))
+         "1p20cbyabzl7rs8y3ydzszsskh4kw088m252ghgairhs0p2f95hl"))
+       ;; Delete bundled copy of python-versioneer.
+       (snippet '(delete-file "versioneer.py"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'versioneer
+           (lambda _
+             (invoke "versioneer" "install")))
          (add-after 'unpack 'fix-references
            (lambda* (#:key outputs #:allow-other-keys)
              (substitute* '("distributed/comm/tests/test_ucx_config.py"
@@ -954,7 +959,7 @@ and more
            python-tornado-6
            python-zict))
     (native-inputs
-     (list python-pytest))
+     (list python-pytest python-versioneer))
     (home-page "https://distributed.dask.org";)
     (synopsis "Distributed scheduler for Dask")
     (description "Dask.distributed is a lightweight library for distributed
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 357aed5..f4903b8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22338,6 +22338,7 @@ behavior and not have to worry about the specific 
internal implementation
 decisions with any given backend.")
     (license license:bsd-3)))
 
+;; Note: Remember to update python-distributed when updating dask.
 (define-public python-dask
   (package
     (name "python-dask")



reply via email to

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