summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <[email protected]>2025-01-20 21:31:01 +0000
committerSharlatan Hellseher <[email protected]>2025-01-29 23:01:02 +0000
commit3627d497c31ba687df7c91989b070c76aa22dbea (patch)
tree6da4430e21f51676932b4b5773e5b3a063e30592
parent4ace0faf470a30335a29a6c70edc9b442c330b59 (diff)
gnu: python-numexpr: Update to 2.9.0.
* gnu/packages/python-xyz.scm (python-numexpr): Update to 2.9.0. [native-inputs]: Add python-pytest, python-setuptools, and python-wheel. Change-Id: I352536175d71e29c55c9ad71a96dbfd2b9b66759
-rw-r--r--gnu/packages/python-xyz.scm19
1 files changed, 14 insertions, 5 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2fbd921a2d..ff0fda3300 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9984,16 +9984,25 @@ parse and apply unified diffs. It has features such as:
(define-public python-numexpr
(package
(name "python-numexpr")
- (version "2.8.4")
+ (version "2.9.0") ; starting from 2.10.0, NumPy 2+ is required
(source
(origin
(method url-fetch)
(uri (pypi-uri "numexpr" version))
(sha256
- (base32
- "0iv1h1lvry5vmzqyvwxfbckyhzm1vbb1bmhmj4dnj64d84vjahym"))))
- (build-system python-build-system)
- (arguments `(#:tests? #f)) ; no tests included
+ (base32 "1w5ampdamlwj8ix1ipzxngmrlqpnmcmk95gbi6839kijqkv147gj"))))
+ (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"))))))
+ (native-inputs
+ (list python-pytest
+ python-setuptools
+ python-wheel))
(propagated-inputs
(list python-numpy))
(home-page "https://github.com/pydata/numexpr")