summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-19 07:35:58 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:31 +0100
commit978fc928f4a5e6ea6ea528fd04c82b34eb7657d1 (patch)
tree6504b25db221a739f3ca04629ba65b37eb92d030 /gnu/packages/python-xyz.scm
parent65bc9a8c6ec6982587b38ae340c6db78c98cc65b (diff)
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
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm17
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ccc6d9b733..7c7ba08267 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11369,27 +11369,28 @@ parse and apply unified diffs. It has features such as:
(define-public python-numexpr
(package
(name "python-numexpr")
- (version "2.9.0") ; starting from 2.10.0, NumPy 2+ is required
+ (version "2.12.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "numexpr" version))
(sha256
- (base32 "1w5ampdamlwj8ix1ipzxngmrlqpnmcmk95gbi6839kijqkv147gj"))))
+ (base32 "1aslzx2mzgk1xxxpm3mrvl8ngfxj7dxlz4q2xbqx20gh1bnzlfg2"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
- (add-before 'check 'build-extensions
- (lambda _
- (invoke "python" "setup.py" "build_ext" "--inplace"))))))
+ (replace 'check
+ (lambda* (#:key tests? test-flags #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion #$output
+ (apply invoke "pytest" "-vv" test-flags))))))))
(native-inputs
(list python-pytest
- python-setuptools
- python-wheel))
+ python-setuptools))
(propagated-inputs
- (list python-numpy))
+ (list python-numpy-2))
(home-page "https://github.com/pydata/numexpr")
(synopsis "Fast numerical expression evaluator for NumPy")
(description