aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-04-21 18:47:21 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-04-30 20:12:41 +0100
commita1af6a71971b5bc55d4e7d145d2ad32443112aff (patch)
tree2387574244350ec41ac890f2c3a198f7ecb2a65f
parent1d1b773d8122b82bc541e8780f9e71ad4a95212d (diff)
downloadguix-a1af6a71971b5bc55d4e7d145d2ad32443112aff.tar.gz
guix-a1af6a71971b5bc55d4e7d145d2ad32443112aff.zip
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
-rw-r--r--gnu/packages/astronomy.scm22
1 files changed, 12 insertions, 10 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index cbab2c3daf..edb380acdc 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -7241,25 +7241,26 @@ Telescope, HST}).")
(define-public python-sunkit-magex
(package
(name "python-sunkit-magex")
- (version "1.0.0")
+ (version "1.0.0rc1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "sunkit_magex" version))
(sha256
- (base32 "1jx1nvb6addnsmafq1s0wrxlcpk0p2hcp6b8ldw0q3sz2dzfpcb0"))))
+ (base32 "10lldb2q71q9gip9sx35zyzm34p9aj4xr2c7a21x176q90r3qyqq"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- #~(list "-k"
- (string-join
- ;; Some issue with presision in this test.
- (list "not test_adapt_map"
- ;; NotImplementedError: is_full_sun_synoptic_map is only
- ;; implemented for ['CEA', 'CAR'] projections and not
- "test_car_reproject")
- " and not "))
+ #~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
+ "-k" (string-join
+ ;; Some issue with presision in this test.
+ (list "not test_adapt_map"
+ ;; NotImplementedError: is_full_sun_synoptic_map is
+ ;; only implemented for ['CEA', 'CAR'] projections
+ ;; and not
+ "test_car_reproject")
+ " and not "))
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
@@ -7271,6 +7272,7 @@ Telescope, HST}).")
(list python-pytest
python-pytest-arraydiff
python-pytest-doctestplus
+ python-pytest-xdist
python-reproject
python-setuptools
python-setuptools-scm