This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 40298c2071 gnu: python-numpy: Fix build on powerpc64le-linux.
40298c2071 is described below
commit 40298c2071bf97f1095889e554bfd312c7739802
Author: Efraim Flashner <[email protected]>
AuthorDate: Mon Jan 26 11:38:31 2026 +0200
gnu: python-numpy: Fix build on powerpc64le-linux.
* gnu/packages/python-xyz.scm (python-numpy)[arguments]: Add a phase to
fix the test suite when building on powerpc64le-linux.
Change-Id: I124cab23263f72174b72f36c3fba08fa6d696b80
Signed-off-by: Efraim Flashner <[email protected]>
---
gnu/packages/python-xyz.scm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 68db67f4c5..c8cf201025 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14,7 +14,7 @@
;;; Copyright © 2015, 2016, 2017, 2019, 2022 Leo Famulari <[email protected]>
;;; Copyright © 2015, 2017 Ben Woodcroft <[email protected]>
;;; Copyright © 2015, 2016 Erik Edrosa <[email protected]>
-;;; Copyright © 2015-2025 Efraim Flashner <[email protected]>
+;;; Copyright © 2015-2026 Efraim Flashner <[email protected]>
;;; Copyright © 2015, 2017, 2020 Kyle Meyer <[email protected]>
;;; Copyright © 2015, 2016 Chris Marusich <[email protected]>
;;; Copyright © 2016 Danny Milosavljevic <[email protected]>
@@ -5309,7 +5309,7 @@ concepts.")
(define-public python-hdf5storage
;; XXX: Use the latest commit containing compatability with Pytest and Python
;; 3.11, see: <https://github.com/frejanordsiek/hdf5storage/issues/135>.
- ;;
+ ;;
;; This package probably is sun setting, consider to remove when stops
;; building, see: <https://github.com/frejanordsiek/hdf5storage/issues/136>.
(let ((commit "7ee2a96de134b44beaa79c3a11c559f9ac87c5a6")
@@ -11033,6 +11033,15 @@ writing C extensions for Python as easy as Python
itself.")
;; Relay on python from the PATH instead of full reference
;; stored in built wheel.
(("'py.full_path\\(\\)'") "'python'"))))
+ ;; This isn't architecture specific.
+ ;; TODO: Remove this conditional and apply for all builds.
+ #$@(if (target-ppc64le?)
+ #~((add-after 'unpack 'patch-bin-true
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "numpy/_core/tests/test_cpu_features.py"
+ (("/bin/true")
+ (search-input-file inputs "bin/true"))))))
+ #~())
(add-before 'build 'parallelize-build
(lambda _
(setenv "OMP_NUM_THREAD"