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
This commit is contained in:
Sharlatan Hellseher 2025-09-22 20:35:05 +01:00
parent f563f2f834
commit f54794bdf6
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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