diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-03 21:07:59 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-04-16 11:46:26 +0200 |
commit | bc4c4b0a88384a7ac959fdaca09a665762e3d19b (patch) | |
tree | ef0e85babd26eeb2b9717882b95d718b12c62c96 | |
parent | 36949b911dc17c4a96865ba522d0b3655d8ce488 (diff) |
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
-rw-r--r-- | gnu/packages/python-science.scm | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 49e46f7ff3..4de2b78af7 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -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 |