M gnu/packages/maths.scm => gnu/packages/maths.scm +11 -11
@@ 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