guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 4514403f55788569700d9f6291fdeac95983b0aa
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Sep 22 20:35:05 2025 +0100

    gnu: python-gatspy: Disable tests.
    
    * gnu/packages/astronomy.scm (python-gatspy)[arguments] <tests?>: They
    depend on Nose test runner.
    <test-flags>: Drop them.
    <phases>: Remove 'set-HOME.
    [native-inputs]: Remove python-pytest and python-wheel.
    
    Change-Id: I9c3d17a1ede19ccaa0b2107860cfd6f48c183e9a
---
 gnu/packages/astronomy.scm | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 4dc1ce8d5a..e5a38226be 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4233,21 +4233,11 @@ CFITSIO library.  Among other things, it can
        (sha256
         (base32 "1gw2z6x8nikvnw2gkdl70gr81cwczd1pd7v8ry2kjn6k4kssrfav"))))
     (build-system pyproject-build-system)
-    (arguments
-     (list
-      #:test-flags
-      ;; These tests require internet access
-      #~(list "-k" "not test_download_data.py")
-      #:phases
-      #~(modify-phases %standard-phases
-          ;; Tests need this
-          (add-before 'check 'set-HOME
-            (lambda _ (setenv "HOME" "/tmp"))))))
+    ;;TODO: Tests depends on Nose, report upstream.
+    (arguments (list #:tests? #f))
     (native-inputs
-     (list python-pytest
-           python-setuptools
-           python-setuptools-scm
-           python-wheel))
+     (list python-setuptools
+           python-setuptools-scm))
     (propagated-inputs
      (list python-astroml
            python-numpy

Reply via email to