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
This commit is contained in:
Sharlatan Hellseher 2024-02-15 16:25:25 +00:00
parent 0330bb8b68
commit 55ded0719c
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -569,7 +569,13 @@ (define-public python-astroml
(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