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

commit eab0eaccef41ef329c39dbb3c67708532523c50c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jun 28 00:05:11 2026 +0100

    gnu: python-pynndescent: Skip 3 tests.
    
    * gnu/packages/machine-learning.scm (python-pynndescent):
    [arguments] <test-flags>: Skip 3 tests.
---
 gnu/packages/machine-learning.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index e282c977a2..4636bef62f 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -2959,6 +2959,17 @@ to return meaningful clusters (if there are any).")
        (sha256
         (base32 "1x94mjdf62f2yqql50qn0qjh4bkhwdvx7xx9aph421s0bgxy1zbz"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      ;; Error from ScikitLearn: The 'metric' parameter of pairwise_distances
+      ;; must be a str among <...>. Fixed in upcomming release of pynndescent.
+      #~(list (string-append "--deselect=pynndescent/tests/test_distances.py"
+                             "::test_binary_check[sokalmichener]")
+              (string-append "--deselect=ynndescent/tests/test_distances.py"
+                             "::test_sparse_binary_check[sokalmichener]")
+              (string-append "--deselect=pynndescent/tests/test_distances.py"
+                             "::test_sparse_binary_check[sokalmichener]"))))
     (native-inputs (list python-pytest python-setuptools))
     (propagated-inputs (list python-joblib
                              python-llvmlite

Reply via email to