mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-numexpr: Update to 2.12.1.
* gnu/packages/python-xyz.scm (python-numexpr): Update to 2.12.1. [propagated-inputs]: Remove python-numpy; add python-numpy-2. [native-inputs]: Remove python-wheel. Change-Id: I3eedd2eca2917db09432cd034855d5ba100c135e
This commit is contained in:
parent
40a64801bd
commit
c2bb71dbbe
1 changed files with 9 additions and 8 deletions
|
@ -11393,27 +11393,28 @@ parse and apply unified diffs. It has features such as:
|
||||||
(define-public python-numexpr
|
(define-public python-numexpr
|
||||||
(package
|
(package
|
||||||
(name "python-numexpr")
|
(name "python-numexpr")
|
||||||
(version "2.9.0") ; starting from 2.10.0, NumPy 2+ is required
|
(version "2.12.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "numexpr" version))
|
(uri (pypi-uri "numexpr" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1w5ampdamlwj8ix1ipzxngmrlqpnmcmk95gbi6839kijqkv147gj"))))
|
(base32 "1aslzx2mzgk1xxxpm3mrvl8ngfxj7dxlz4q2xbqx20gh1bnzlfg2"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-before 'check 'build-extensions
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? test-flags #:allow-other-keys)
|
||||||
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
|
(when tests?
|
||||||
|
(with-directory-excursion #$output
|
||||||
|
(apply invoke "pytest" "-vv" test-flags))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest
|
(list python-pytest
|
||||||
python-setuptools
|
python-setuptools))
|
||||||
python-wheel))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-numpy))
|
(list python-numpy-2))
|
||||||
(home-page "https://github.com/pydata/numexpr")
|
(home-page "https://github.com/pydata/numexpr")
|
||||||
(synopsis "Fast numerical expression evaluator for NumPy")
|
(synopsis "Fast numerical expression evaluator for NumPy")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue