gnu: python-numdifftools: Skip some tests.

* gnu/packages/python-science.scm (python-numdifftools) [arguments]
<test-flags>: Skip 7 tests failing with a NumPy 1.26.2.

Change-Id: I5dc5865d0ac1ba47e79aac57d4e1768ecdb590be
This commit is contained in:
Sharlatan Hellseher 2025-04-03 21:07:59 +01:00 committed by Andreas Enge
parent 36949b911d
commit bc4c4b0a88
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -372,7 +372,21 @@ Features:
(build-system pyproject-build-system)
(arguments
(list
#:test-flags #~(list "--pyargs" "numdifftools")
#:test-flags
#~(list "--pyargs" "numdifftools"
"-k" (string-join
;; Tests failing with error: TypeError: a must be an array
;; of real numbers, see
;; <https://github.com/pbrod/numdifftools/issues/72>.
(list "not test_high_order_derivative"
"test_low_order_derivative_on_example_functions"
"test_sinx_div_x"
"test_complex_hessian_issue_35"
"numdifftools.fornberg.Taylor"
"numdifftools.fornberg.derivative"
"numdifftools.fornberg.taylor")
" and not "))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements