guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 62215eea7c40bf1fd271bdc4919bd7ba3d66e754
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jul 14 12:09:02 2026 +0100
gnu: python-numpysane: Update to 0.43.
* gnu/packages/python-xyz.scm (python-numpysane): Update to 0.43.
[phases]{patch}: Fix path to NumPy v2 "include" directory.
[propagated-inputs]: Remove python-numpy-1; add python-numpy.
Relates-to: guix/guix#6610
---
gnu/packages/python-xyz.scm | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bdcfd5141c..e5b44c32e4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12419,16 +12419,16 @@ include_dirs = ~:*~a/include~%"
(define-public python-numpysane
(package
(name "python-numpysane")
- (version "0.42")
+ (version "0.43")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/dkogan/numpysane.git")
- (commit (string-append "v" version))))
+ (url "https://github.com/dkogan/numpysane.git")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0s38fm88bmq08j5qxfka1wyjs2r9s9arzd1c3c4ixa8k3pisnihr"))))
+ (base32 "1ls1nrdcizscdpv4712jr7wiaxkmryrai7w0ci06fiq5haq54hrn"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -12439,15 +12439,15 @@ include_dirs = ~:*~a/include~%"
(let* ((numpy (assoc-ref inputs "python-numpy"))
(site (site-packages inputs `(("out" . ,numpy)))))
(substitute* "Makefile.common.header"
- ;; numpy 2.0 has this--but we don't use numpy 2.0.
- (("pkg-config --cflags-only-I numpy")
- (format #f "echo -I~a/numpy/core/include" site))))))
+ ;; See: <https://github.com/dkogan/numpysane/issues/3>.
+ (("pkg-config --cflags-only-I numpy")
+ (format #f "echo -I~a/numpy/_core/include" site))))))
(replace 'check
(lambda _
(setenv "CC"
#$(cc-for-target))
(invoke "make" "check"))))))
- (propagated-inputs (list python-numpy-1))
+ (propagated-inputs (list python-numpy))
(native-inputs (list perl pkg-config python-setuptools))
(home-page "https://github.com/dkogan/numpysane")
(synopsis "More-reasonable core functionality for numpy")