summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-16 11:24:42 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:13 +0100
commit73ac9f0fbef7140adc7042a7911a430f9e000d62 (patch)
treefbbb2a7b3077a5d7c35e16b26ad65634fce30a2a /gnu/packages/python-xyz.scm
parent90f5c07bc307cde304bd9d344a1f9ac8fb6c988e (diff)
gnu: python-annoy: Update to 1.17.3.
* gnu/packages/python-xyz.scm (python-annoy): Update to 1.17.3. [source]: Switch to git-fetch providing tests. [build-system]: Switch to pyproject-build-system. [native-inputs]: Remove python-nose; add python-numpy, python-pytest, and python-setuptools. Change-Id: I7d98d3f76fe1a94d392551ed833cf493c02fec40
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm22
1 files changed, 15 insertions, 7 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 07f994731f..586059ebcf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31244,17 +31244,25 @@ functions that aim to reduce boilerplate when working with data.")
(define-public python-annoy
(package
(name "python-annoy")
- (version "1.15.1")
+ (version "1.17.3")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "annoy" version))
+ (method git-fetch) ;no tests in PyPI archive
+ (uri (git-reference
+ (url "https://github.com/spotify/annoy")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "1rxn6snn0r32r07g45hdjhh8aa1xzx6fjrm8g62d8vzp46z7rzrp"))))
- (build-system python-build-system)
+ (base32 "1zmdp1dws3i35a0psb10k6rkh3iaiq8s9ybxibvfjihbapidd4d0"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; Requires python-h5py
+ (list #:test-flags #~(list "--ignore=test/accuracy_test.py")))
(native-inputs
- (list python-nose))
+ (list ;; python-h5py
+ python-numpy
+ python-pytest
+ python-setuptools))
(home-page "https://github.com/spotify/annoy/")
(synopsis "Approximate nearest neighbors library")
(description