[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
37/46: gnu: python-sunpy: Speed up tests and relax requirements.
From: |
guix-commits |
Subject: |
37/46: gnu: python-sunpy: Speed up tests and relax requirements. |
Date: |
Tue, 27 Feb 2024 17:55:21 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit 0330bb8b68bc9cf6a86ddbfdd096abef4526e77e
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Jan 28 17:38:20 2024 +0000
gnu: python-sunpy: Speed up tests and relax requirements.
* gnu/packages/astronomy.scm (python-sunpy): Enable parallel
tests to speed them up.
[arguments] <#:test-flags>: Add it with "-n" option.
<#:phases>: Add 'relax-requirements.
Change-Id: I67c3308b8c5e9b878377f2175f74f1c469a43610
---
gnu/packages/astronomy.scm | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 69b2af63d7..f8274e7a59 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2591,16 +2591,24 @@ orbits described in TLE files.")
(arguments
(list
#:test-flags
- #~(list "-k" (string-append
- ;; XXX: Failed: DID NOT RAISE <class 'ModuleNotFoundError'>
- ;; It struggles to find python-opencsv package info with
- ;; 'importlib.metadata'
- "not test_main_nonexisting_module"
- " and not test_main_stdlib_module")
- ;; Requries SpicePy not packed in Guix yet.
- "--ignore=sunpy/coordinates/tests/test_spice.py")
+ #~(list
+ "-n" "auto"
+ "-k" (string-append
+ ;; XXX: Failed: DID NOT RAISE <class 'ModuleNotFoundError'>
+ ;; It struggles to find python-opencsv package info with
+ ;; 'importlib.metadata'
+ "not test_main_nonexisting_module"
+ " and not test_main_stdlib_module")
+ ;; Requries SpicePy not packed in Guix yet.
+ "--ignore=sunpy/coordinates/tests/test_spice.py")
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "setup.cfg"
+ ;; It's already updated in master branch, but not released yet.
+ ;; drms>=0.6.1,<0.7.0
+ (("0.7.0") "0.7.2"))))
(add-before 'install 'writable-compiler
(lambda _
(make-file-writable "sunpy/_compiler.c")))
- 29/46: gnu: python-asdf: Speed up tests., (continued)
- 29/46: gnu: python-asdf: Speed up tests., guix-commits, 2024/02/27
- 35/46: gnu: python-roman-datamodels: Speed up tests., guix-commits, 2024/02/27
- 41/46: gnu: Add python-sunpy-soar., guix-commits, 2024/02/27
- 36/46: gnu: python-spectral-cube: Speed up tests., guix-commits, 2024/02/27
- 43/46: gnu: Add python-ginga., guix-commits, 2024/02/27
- 21/46: gnu: python-pysynphot: Improve package style., guix-commits, 2024/02/27
- 45/46: gnu: python-stcal: Update to 1.6.0., guix-commits, 2024/02/27
- 25/46: gnu: python-skyfield: Update to 1.48., guix-commits, 2024/02/27
- 42/46: gnu: Add python-radiospectra., guix-commits, 2024/02/27
- 38/46: gnu: python-astroml: Ignore some failing tests., guix-commits, 2024/02/27
- 37/46: gnu: python-sunpy: Speed up tests and relax requirements.,
guix-commits <=
- 24/46: gnu: python-rad: Enable tests., guix-commits, 2024/02/27
- 31/46: gnu: python-asdf-coordinates-schemas: Speed up tests., guix-commits, 2024/02/27
- 34/46: gnu: python-regions: Speed up tests., guix-commits, 2024/02/27
- 44/46: gnu: python-drizzle: Update to 1.15.0., guix-commits, 2024/02/27
- 28/46: gnu: python-aplpy: Disable tests., guix-commits, 2024/02/27
- 17/46: gnu: python-crds: Update to 11.17.16., guix-commits, 2024/02/27
- 22/46: gnu: python-roman-datamodels: Update to 0.19.0., guix-commits, 2024/02/27
- 30/46: gnu: python-asdf-astropy: Speed up tests., guix-commits, 2024/02/27
- 23/46: gnu: python-rad: Update to 0.19.0., guix-commits, 2024/02/27
- 27/46: gnu: libpasastro: Remove system constrains., guix-commits, 2024/02/27