guix-commits
[Top][All Lists]
Advanced

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

24/46: gnu: python-rad: Enable tests.


From: guix-commits
Subject: 24/46: gnu: python-rad: Enable tests.
Date: Tue, 27 Feb 2024 17:55:17 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 95ea5594082220c87433c0f4edd94330930628e5
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Feb 14 14:32:48 2024 +0000

    gnu: python-rad: Enable tests.
    
    * gnu/packages/astronomy.scm (python-rad) [arguments] <#:test-flags>:
    Enable most of the tests, ignore the one introducing cycle.
    [native-inputs]: Add python-pytest.
    
    Change-Id: Ice4bc5eb2dcaae92c44466ea1eb932544a502927
---
 gnu/packages/astronomy.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index e1ee074ca9..bc703492f9 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4414,10 +4414,13 @@ default) to world coordinates.")
     (build-system pyproject-build-system)
     (arguments
      (list
-      ;; XXX: Tests introduce dependencies cycle, breaking it by disable them.
+      ;; Ignore tests requiring python-crds to break cycle:
       ;; python-rad -> python-roman-datamodels -> python-crds -> python-rad
-      #:tests? #f))
-    (native-inputs (list python-semantic-version python-setuptools-scm))
+      #:test-flags #~(list "--ignore=tests/test_schemas.py")))
+    (native-inputs
+     (list python-pytest
+           python-semantic-version
+           python-setuptools-scm))
     (propagated-inputs (list python-asdf python-asdf-astropy))
     (home-page "https://github.com/spacetelescope/rad";)
     (synopsis "Roman Attribute Dictionary")



reply via email to

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