~ruther/guix-local

4ace0faf470a30335a29a6c70edc9b442c330b59 — Sharlatan Hellseher 1 year, 3 months ago 9f0ca15
gnu: python-ndcube: Update to 2.3.0.

* gnu/packages/astronomy.scm (python-ndcube): Update to 2.3.0.
[arguments] <test-flags>: Run tests in parallel, it's supported by
upstream.
[native-inputs]: Add python-pytest-xdist.

Change-Id: I92cfb35e22434226711de80b923ca02f865afaf1
1 files changed, 6 insertions(+), 3 deletions(-)

M gnu/packages/astronomy.scm
M gnu/packages/astronomy.scm => gnu/packages/astronomy.scm +6 -3
@@ 4157,18 4157,19 @@ Carlo.")
(define-public python-ndcube
  (package
    (name "python-ndcube")
    (version "2.2.4")
    (version "2.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "ndcube" version))
       (sha256
        (base32 "08l4nq43igpic6v3zjnyjq3yy44czg79798rmv5la52hbzbz1kj3"))))
        (base32 "1pza5g38gn941dwy8yahkd37lb7z80czs1yj38xhn2cf0s69779h"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:test-flags
      #~(list "-k" (string-append
      #~(list "--numprocesses" (number->string (parallel-job-count))
              "-k" (string-append
                    ;; Break cycle: python-ndcube -> python-specutils ->
                    ;; python-ndcube, see
                    ;; <https://github.com/sunpy/ndcube/issues/733>.


@@ 4200,6 4201,8 @@ Carlo.")
           python-pytest
           python-pytest-astropy
           python-pytest-mpl
           ;; python-pytest-memray ; not packaged yet
           python-pytest-xdist
           python-scipy
           python-setuptools
           python-setuptools-scm