guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#73915] [PATCH 41/42] gnu: python-statmorph: Skip failing tests.


From: Sharlatan Hellseher
Subject: [bug#73915] [PATCH 41/42] gnu: python-statmorph: Skip failing tests.
Date: Sun, 20 Oct 2024 20:52:43 +0100

* gnu/packages/astronomy.scm (python-statmorph)
[arguments]<#:test-flags>: Skip most of the tests after python-photutils
has been upgraded.
[native-inputs]: Add python-setuptools.
[propagated-inputs]: Add python-matplotlib.

Change-Id: I3f4e6d21d9f1effc51b81bc62cf8da46eaf74f93
---
 gnu/packages/astronomy.scm | 29 +++++++++++++++++++++++++++--
 1 file changed, 27 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index ac37c290ee..5178bc4bf7 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4837,14 +4837,39 @@ (define-public python-statmorph
        (sha256
         (base32 "06rbwrqlvdzn9innx05kjjmm4mmacd8kwwsfdf5idbwzby5ny5lw"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      ;; XXX: Skip most of the tests for now, see
+      ;; <https://github.com/vrodgom/statmorph/issues/11>.
+      #~(list "-k" (string-append "not test_asymmetric"
+                                  " and not test_bright_pixel"
+                                  " and not test_catastrophic"
+                                  " and not test_empty_gini_segmap"
+                                  " and not test_full_gini_segmap"
+                                  " and not test_full_segmap"
+                                  " and not test_insufficient_data"
+                                  " and not test_make_figure"
+                                  " and not test_masked_centroid"
+                                  " and not test_merger"
+                                  " and not test_missing_arguments"
+                                  " and not test_negative_source"
+                                  " and not test_no_psf"
+                                  " and not test_psf"
+                                  " and not test_random_noise"
+                                  " and not test_small_source"
+                                  " and not test_tiny_source"
+                                  " and not test_weightmap"))))
+    (native-inputs
+     (list python-pytest
+           python-setuptools))
     (propagated-inputs
      (list python-astropy
+           python-matplotlib
            python-numpy
            python-photutils
            python-scikit-image
            python-scipy))
-    (native-inputs
-     (list python-pytest))
     (home-page "https://github.com/vrodgom/statmorph";)
     (synopsis "Non-parametric morphological diagnostics of galaxy images")
     (description
-- 
2.46.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]