sharlatan pushed a commit to branch master
in repository guix.
commit 55ded0719c98a96870b86c3143c281d22de041a3
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Feb 15 16:25:25 2024 +0000
gnu: python-astroml: Ignore some failing tests.
* gnu/packages/astronomy.scm (python-astroml) [arguments]
<#:test-flags>: Disable some tests which are not compatible with Astropy
6.0.0.
Change-Id: I92f207e1e20a80de8904ee04aaba11469d9249b0
---
gnu/packages/astronomy.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index f8274e7a59..54b8e66931 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -569,7 +569,13 @@ Main features:
(arguments
(list
#:test-flags
- '(list "--ignore-glob=examples/*")
+ '(list "--ignore-glob=examples/*"
+ ;; Disable tests which are not compatible with Astropy 6.0.0, see
+ ;; <https://github.com/astroML/astroML/issues/273>.
+ "--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")
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'patch-build-system