From 446e2a34f833d830a0f18c9dfb15886553d6a793 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 14 Dec 2025 23:35:41 +0000 Subject: [PATCH] gnu: python-kalepy: Skip 5 tests. * gnu/packages/statistics.scm (python-kalepy)[arguments] : Skip NumPy incompatible tests. [native-inputs]: Remove python-wheel. Change-Id: Ic9f95969f4a0dc22fae5a48e28f971d573249062 Signed-off-by: Rutherther --- gnu/packages/statistics.scm | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 80221c193e8fb3555c06a89a66d2aee3a93c5160..a8065f6ef5bed839a0c39b2cdedcb4b9e079dc4f 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -1287,16 +1287,30 @@ building design matrices.") (sha256 (base32 "1a1d98vjkjs8zwx4hdss3gv67jyf25mmsrdc5qi8hpxminkizb6w")))) (build-system pyproject-build-system) + (arguments + (list + ;; tests: 46 passed, 6 deselected, 214 warnings + #:test-flags + ;; XXX: See: . + ;; AttributeError: module 'numpy' has no attribute 'product' + #~(list #$@(map (lambda (test) (string-append "--deselect=" + "kalepy/tests/" + "test_utils.py::" + test)) + (list "Test_Midpoints::test_midpoints_lin" + "Test_Midpoints::test_midpoints_log" + "Test_Trapz::test_nd" + "Test_Trapz_Dens_To_Mass::test_ndim" + "Test_Trapz_Dens_To_Mass::test_ndim_a2"))))) (native-inputs (list python-pytest - python-setuptools - python-wheel)) + python-setuptools)) (propagated-inputs (list python-matplotlib python-numba python-numpy python-scipy - python-six)) + python-six)) ;XXX: hard dependency (home-page "https://github.com/lzkelley/kalepy") (synopsis "Kernel Density Estimation (KDE) and sampling") (description