1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-17 20:40:40 +02:00

gnu: python-astroml: Disable more tests.

* gnu/packages/astronomy.scm (python-astroml) [arguments] <test-flags>:
Disable tests requiring NumPy, reported upstream.

Change-Id: I30693e2f3550ba8aab012b54d3d838508038c762
This commit is contained in:
Sharlatan Hellseher 2025-03-26 20:12:57 +00:00 committed by Andreas Enge
commit c01033e3fa
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -2059,7 +2059,10 @@ simulated Astronomical data in Python.")
"--ignore=astroML/density_estimation/tests/test_bayesian_blocks.py"
"--ignore=astroML/density_estimation/tests/test_bayesian_blocks.py"
"--ignore=astroML/density_estimation/tests/test_hist_binwidth.py"
"--ignore=astroML/density_estimation/tests/test_hist_binwidth.py")
"--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")
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'patch-build-system
@ -2085,11 +2088,18 @@ simulated Astronomical data in Python.")
;; Some tests need this
(lambda _
(setenv "HOME" "/tmp"))))))
(propagated-inputs (list python-astropy python-matplotlib python-numpy
python-scikit-learn python-scipy))
(native-inputs (list python-pytest-astropy-header python-pytest-cov
python-pytest-doctestplus python-pytest-remotedata
(native-inputs
(list python-pytest-astropy-header
python-pytest-cov
python-pytest-doctestplus
python-pytest-remotedata
python-wheel))
(propagated-inputs
(list python-astropy
python-matplotlib
python-numpy
python-scikit-learn
python-scipy))
(home-page "https://astroml.org")
(synopsis "Tools for machine learning and data mining in astronomy")
(description "This package provides tools for machine learning and data