gnu: python-sunkit-magex: Update to 1.0.0rc1.

* gnu/packages/astronomy.scm (python-sunkit-magex): Update to 1.0.0rc1.
[arguments] <test-flags>: Run test in parallel, supported upstream.
[native-inputs]: Add python-pytest-xdist.

Change-Id: I78e6ef0a201761aa67d2cc00f5534529a374d965
This commit is contained in:
Sharlatan Hellseher 2025-04-21 18:47:21 +01:00
parent 1d1b773d81
commit a1af6a7197
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -7241,25 +7241,26 @@ Telescope, HST}).")
(define-public python-sunkit-magex (define-public python-sunkit-magex
(package (package
(name "python-sunkit-magex") (name "python-sunkit-magex")
(version "1.0.0") (version "1.0.0rc1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "sunkit_magex" version)) (uri (pypi-uri "sunkit_magex" version))
(sha256 (sha256
(base32 "1jx1nvb6addnsmafq1s0wrxlcpk0p2hcp6b8ldw0q3sz2dzfpcb0")))) (base32 "10lldb2q71q9gip9sx35zyzm34p9aj4xr2c7a21x176q90r3qyqq"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
#:test-flags #:test-flags
#~(list "-k" #~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
(string-join "-k" (string-join
;; Some issue with presision in this test. ;; Some issue with presision in this test.
(list "not test_adapt_map" (list "not test_adapt_map"
;; NotImplementedError: is_full_sun_synoptic_map is only ;; NotImplementedError: is_full_sun_synoptic_map is
;; implemented for ['CEA', 'CAR'] projections and not ;; only implemented for ['CEA', 'CAR'] projections
"test_car_reproject") ;; and not
" and not ")) "test_car_reproject")
" and not "))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-before 'check 'pre-check (add-before 'check 'pre-check
@ -7271,6 +7272,7 @@ Telescope, HST}).")
(list python-pytest (list python-pytest
python-pytest-arraydiff python-pytest-arraydiff
python-pytest-doctestplus python-pytest-doctestplus
python-pytest-xdist
python-reproject python-reproject
python-setuptools python-setuptools
python-setuptools-scm python-setuptools-scm