sharlatan pushed a commit to branch master
in repository guix.

commit f791ecaf43abe324bd33f3771ae2522713f6f6d2
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Mar 16 23:28:54 2025 +0000

    gnu: python-ducc0: Update to 0.37.1.
    
    * gnu/packages/maths.scm (python-ducc0): Update to 0.37.1.
    [arguments] <test-flags>: Run tests in parallel, supported by upstream.
    [native-inputs]: Remove python-wheel; add cmake-minimal,
    python-nanobind, python-pytest-xdist, and python-scikit-build-core.
    
    Change-Id: Iedc5f5ce49c50f8b72a120f592982baad06be89f
---
 gnu/packages/maths.scm | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index db05379749..6910b32dae 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4168,7 +4168,7 @@ programming language.")
 (define-public python-ducc0
   (package
     (name "python-ducc0")
-    (version "0.36.0")
+    (version "0.37.1")
     (source
      (origin
        (method git-fetch)
@@ -4178,21 +4178,26 @@ programming language.")
                       "ducc0_" (string-replace-substring version "." "_")))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1pfj7k5s3d237r7diqrd7cgvf8p5zms6pp64nfdildx49kwggwab"))))
+        (base32 "0pckbip2ffmiwm73wrpvif3gy0a09v9b9kbyallp520l6l69n4k8"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      #:test-flags #~(list "python/test")
+      #:test-flags
+      #~(list "--numprocesses" (number->string (parallel-job-count))
+              "python/test")
       #:phases
       #~(modify-phases %standard-phases
           (add-before 'build 'set-env
             (lambda _
               (setenv "DUCC0_OPTIMIZATION" "portable-strip"))))))
     (native-inputs
-     (list pybind11
+     (list cmake-minimal
+           pybind11
+           python-nanobind
            python-pytest
-           python-setuptools
-           python-wheel))
+           python-pytest-xdist
+           python-scikit-build-core
+           python-setuptools))
     (propagated-inputs
      (list python-numpy))
     (home-page "https://gitlab.mpcdf.mpg.de/mtr/ducc";)

Reply via email to