gnu: python-astroml: Fix build.

* gnu/packages/astronomy.scm (python-astroml)[arguments]<test-flags>:
Skip 2 more tests.
[native-inputs]: Remove python-pytest-cov and python-wheel; add
python-pytest, python-pytest-astropy, and python-setuptools.

Change-Id: I38df8b11f652713d961d792d36efca25bfd8140b
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
This commit is contained in:
Sharlatan Hellseher
2025-12-09 21:12:01 +00:00
committed by Rutherther
parent 32109ddea4
commit d32d3fbd49

View File

@@ -2946,7 +2946,9 @@ of functions to execute the desired steps in the mock-observing process.")
"--ignore=astroML/density_estimation/tests/test_hist_binwidth.py"
;; Disalbe tests with NumPy, see
;; <https://github.com/astroML/astroML/issues/281>.
"--ignore=astroML/tests/test_resample.py")
"--ignore=astroML/tests/test_resample.py"
"-k" (string-append "not astroML.density_estimation.empirical.EmpiricalDistribution"
" and not astroML.utils.utils.log_multivariate_gaussian"))
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'patch-build-system
@@ -2973,11 +2975,12 @@ of functions to execute the desired steps in the mock-observing process.")
(lambda _
(setenv "HOME" "/tmp"))))))
(native-inputs
(list python-pytest-astropy-header
python-pytest-cov
(list python-pytest
python-pytest-astropy
python-pytest-astropy-header
python-pytest-doctestplus
python-pytest-remotedata
python-wheel))
python-setuptools))
(propagated-inputs
(list python-astropy
python-matplotlib