guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit bb6a75465d2a134a7a7d7f3ecc9a86cc32069a44
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Dec 14 23:35:41 2025 +0000

    gnu: python-kalepy: Skip 5 tests.
    
    * gnu/packages/statistics.scm (python-kalepy)[arguments] <test-flags>:
    Skip NumPy incompatible tests.
    [native-inputs]: Remove python-wheel.
    
    Change-Id: Ic9f95969f4a0dc22fae5a48e28f971d573249062
---
 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 80221c193e..a8065f6ef5 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: <https://github.com/lzkelley/kalepy/issues/22>.
+      ;; 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

Reply via email to