guix_mirror_bot pushed a commit to branch master
in repository guix.
commit ab1e36d168db9010a83d9bffc7b1acb46d88f7e1
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Oct 28 14:47:07 2025 +0000
gnu: python-blis: Update to 1.2.1.
* gnu/packages/maths.scm (python-blis): Update to 1.2.1.
[arguments] <phases>: Remove 'build-ext; add 'remove-local-blis - less
re-build is better.
[propagated-inputs]: Remove python-numpy.
[native-inputs]: Remove python-wheel; add python-numpy-2.
Change-Id: Ie82e7372653f95a387dcee81ab5f84dbf2602091
---
gnu/packages/maths.scm | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index b190b74b47..696510e3ab 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4334,29 +4334,29 @@ summation in K-fold precision.")
(define-public python-blis
(package
(name "python-blis")
- (version "0.9.1")
+ (version "1.2.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "blis" version))
(sha256
(base32
- "0vrnzk9jx7fcl56q6zpa4w4mxkr4iknxs42fngn9g78zh1kc9skw"))))
+ "0nknjrd4pp8l5n68vpmcxfpr8mp0imjl51yj5g1468fwpvnvwrhh"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
- '(modify-phases %standard-phases
- (add-after 'build 'build-ext
- (lambda _
- (invoke "python" "setup.py" "build_ext" "--inplace"
- "-j" (number->string (parallel-job-count))))))))
- (propagated-inputs
- (list python-numpy))
+ #~(modify-phases %standard-phases
+ (add-before 'check 'remove-local-blis
+ (lambda _
+ (copy-recursively "blis/tests" "tests")
+ ;; This would otherwise interfere with finding the installed
+ ;; blis when running tests.
+ (delete-file-recursively "blis"))))))
(native-inputs
(list python-cython
+ python-numpy-2
python-pytest
- python-setuptools
- python-wheel))
+ python-setuptools))
(home-page "https://github.com/explosion/cython-blis")
(synopsis "Blis as a self-contained C-extension for Python")
(description