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