From c01033e3fa42551ca453b37738a77c277dae81c8 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 26 Mar 2025 20:12:57 +0000 Subject: [PATCH] gnu: python-astroml: Disable more tests. * gnu/packages/astronomy.scm (python-astroml) [arguments] : Disable tests requiring NumPy, reported upstream. Change-Id: I30693e2f3550ba8aab012b54d3d838508038c762 --- gnu/packages/astronomy.scm | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 6aa6d3b9271..69a0d5a5836 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -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 + ;; . + "--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 - python-wheel)) + (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