From bc4c4b0a88384a7ac959fdaca09a665762e3d19b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 3 Apr 2025 21:07:59 +0100 Subject: gnu: python-numdifftools: Skip some tests. * gnu/packages/python-science.scm (python-numdifftools) [arguments] : Skip 7 tests failing with a NumPy 1.26.2. Change-Id: I5dc5865d0ac1ba47e79aac57d4e1768ecdb590be --- gnu/packages/python-science.scm | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-science.scm') diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 49e46f7ff38..4de2b78af72 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 + ;; . + (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 -- cgit v1.3