From 2185b5ad3d252774ae633a90e03d34cc24b95c38 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 17 Dec 2024 12:20:28 +0000 Subject: gnu: python-numcodecs: Fix build. * gnu/packages/python-xyz.scm (python-numcodecs) [arguments]: Skip 2 failing tests. Change-Id: Ia4c1e8af6063f53a2d3c921931c8d3b3f0674ca7 --- gnu/packages/python-xyz.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0381d8fdc1..41b135586b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29099,6 +29099,7 @@ (define-public python-numba (define-public python-numcodecs (package (name "python-numcodecs") + ;; XXX: Starting from 0.11.0 numcodecs requires NumPy 1.7 or higher. (version "0.10.2") (source (origin @@ -29127,6 +29128,12 @@ (define-public python-numcodecs (build-system pyproject-build-system) (arguments (list + #:test-flags + ;; Tests fail with error: ValueError: setting an array element with a + ;; sequence. The requested array has an inhomogeneous shape after 1 + ;; dimensions. The detected shape was (3,) + inhomogeneous part. + #~(list "--deselect=numcodecs/tests/test_json.py::test_non_numpy_inputs" + "--deselect=numcodecs/tests/test_msgpacks.py::test_non_numpy_inputs") #:phases '(modify-phases %standard-phases (add-after 'unpack 'disable-avx2 -- cgit v1.2.3