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

commit 06ccf1cb0671d016e9c0836eaecf64867b5e0e2f
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Dec 13 11:37:24 2025 +0000

    gnu: python-annoy: Add python-h5py.
    
    * gnu/packages/python-xyz.scm (python-annoy)[arguments]<test-flags>:
    Skip 3 tests requiring network access.
    [native-inputs]: Add python-h5py.
    
    Change-Id: I6cd3343d43b0f91ddf6c117844afa6ba1e662068
---
 gnu/packages/python-xyz.scm | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 77520acdcd..6f03082643 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28532,7 +28532,7 @@ and dates in \"human readable\" forms.  For example, it 
would display
     (version "1.17.3")
     (source
      (origin
-       (method git-fetch)       ;no tests in PyPI archive
+       (method git-fetch)
        (uri (git-reference
               (url "https://github.com/spotify/annoy";)
               (commit (string-append "v" version))))
@@ -28541,10 +28541,15 @@ and dates in \"human readable\" forms.  For example, 
it would display
         (base32 "1zmdp1dws3i35a0psb10k6rkh3iaiq8s9ybxibvfjihbapidd4d0"))))
     (build-system pyproject-build-system)
     (arguments
-     ;; Requires python-h5py
-     (list #:test-flags #~(list "--ignore=test/accuracy_test.py")))
+     (list
+      #:test-flags
+      ;; urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in
+      ;; name resolution>
+      #~(list "--deselect=test/accuracy_test.py::test_glove_25"
+              "--deselect=test/accuracy_test.py::test_nytimes_16"
+              "--deselect=test/accuracy_test.py::test_fashion_mnist")))
     (native-inputs
-     (list ;; python-h5py
+     (list python-h5py
            python-numpy
            python-pytest
            python-setuptools))

Reply via email to