summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-12-09 21:12:01 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:18:33 +0100
commitd32d3fbd492436cb5a873217415cded69ed5ce6c (patch)
tree6410ab2d7a44b59e9427e80ed82eb2d70e3252e6 /gnu
parent32109ddea4135dc389059918123552c5ddfb5738 (diff)
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/astronomy.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 086af6379c9..89e3368109a 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
;; <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