From d32d3fbd492436cb5a873217415cded69ed5ce6c Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 9 Dec 2025 21:12:01 +0000 Subject: [PATCH] gnu: python-astroml: Fix build. * gnu/packages/astronomy.scm (python-astroml)[arguments]: 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 --- gnu/packages/astronomy.scm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 086af6379c90849ce7d96beb17ed53b541c49c85..89e3368109ae352ca7d74a6debd1f72066ce9e02 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -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 ;; . - "--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