diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-13 11:37:24 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:18:53 +0100 |
| commit | 02b4dc1b34f012e5aff420fd6de57856b4999d3d (patch) | |
| tree | a664aeb8c039a12029ac57287a4e4e88376d013b /gnu/packages/python-xyz.scm | |
| parent | 02ec34ddb583aa96c5f8630aab3875d9edb7d8e6 (diff) | |
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
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index fe05208be05..1fc6c83e117 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28546,7 +28546,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)))) @@ -28555,10 +28555,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)) |
