summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-12-09 23:52:37 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:18:27 +0100
commit5de81642cf072385fa0932a1dfa03d6925099622 (patch)
tree8d06a769509febda34684a19282a5e2338e2b4cd /gnu
parentb052a8626edb003dd9f17d2085b8a54989f1d448 (diff)
gnu: python-astropy-6: Skip some tests.
* gnu/packages/astronomy.scm (python-astropy-6)[arguments]: Substitute from python-astropy and skip 4 more tests. Change-Id: I14cd880c8428fd6ca90fb6f322e0fea08e8b5457 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/astronomy.scm23
1 files changed, 19 insertions, 4 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 8d58421f87d..a43185db4fb 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3222,10 +3222,25 @@ astronomy and astrophysics.")
(modules '((guix build utils)))
(snippet
#~(begin
- (with-directory-excursion "astropy/extern"
- (for-each delete-file-recursively '("ply" "configobj")))
- (with-directory-excursion "cextern"
- (for-each delete-file-recursively '("expat" "wcslib")))))))
+ (with-directory-excursion "astropy/extern"
+ (for-each delete-file-recursively '("ply" "configobj")))
+ (with-directory-excursion "cextern"
+ (for-each delete-file-recursively '("expat" "wcslib")))))))
+ ;; tests: 28419 passed, 316 skipped, 233 xfailed, 25 warnings
+ (arguments
+ (substitute-keyword-arguments
+ (package-arguments python-astropy)
+ ((#:test-flags test-flags #~(list))
+ #~(list "--pyargs" "astropy"
+ "--numprocesses" (number->string (min 8 (parallel-job-count)))
+ "-k" (string-join
+ (list "not test_skip_meta"
+ "test_all_included"
+ "test_basic_testing_completeness"
+ "test_ephemeris_local_file_not_ephemeris"
+ "test_non_linear_lsq_fitter_with_weights[LMLSQFitter]"
+ "test_testing_completeness")
+ " and not ")))))
(propagated-inputs
(modify-inputs (package-propagated-inputs python-astropy)
(replace "python-jplephem" python-jplephem-2.22)))))