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
This commit is contained in:
Sharlatan Hellseher 2025-09-16 11:24:42 +01:00
parent fe28c1ea10
commit 72d85865b2
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -31268,17 +31268,25 @@ functions that aim to reduce boilerplate when working with data.")
(define-public python-annoy (define-public python-annoy
(package (package
(name "python-annoy") (name "python-annoy")
(version "1.15.1") (version "1.17.3")
(source (source
(origin (origin
(method url-fetch) (method git-fetch) ;no tests in PyPI archive
(uri (pypi-uri "annoy" version)) (uri (git-reference
(url "https://github.com/spotify/annoy")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "1zmdp1dws3i35a0psb10k6rkh3iaiq8s9ybxibvfjihbapidd4d0"))))
"1rxn6snn0r32r07g45hdjhh8aa1xzx6fjrm8g62d8vzp46z7rzrp")))) (build-system pyproject-build-system)
(build-system python-build-system) (arguments
;; Requires python-h5py
(list #:test-flags #~(list "--ignore=test/accuracy_test.py")))
(native-inputs (native-inputs
(list python-nose)) (list ;; python-h5py
python-numpy
python-pytest
python-setuptools))
(home-page "https://github.com/spotify/annoy/") (home-page "https://github.com/spotify/annoy/")
(synopsis "Approximate nearest neighbors library") (synopsis "Approximate nearest neighbors library")
(description (description