From 3627d497c31ba687df7c91989b070c76aa22dbea Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Mon, 20 Jan 2025 21:31:01 +0000 Subject: [PATCH] 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 --- gnu/packages/python-xyz.scm | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2fbd921a2dab3ece0fb3a66bf96a3e06e4439b91..ff0fda33001566a8b825b73ab68c54ccf3095060 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")