diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-28 14:47:07 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-28 17:46:26 +0000 |
| commit | ab1e36d168db9010a83d9bffc7b1acb46d88f7e1 (patch) | |
| tree | 7f1d4c4ee35bbe36acb09c9ac539825bd5ecb07b /gnu/packages | |
| parent | 5801c62e8dfd8814ef1155562164451ef182b893 (diff) | |
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
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/maths.scm | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index b190b74b47f..696510e3abc 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 |
