guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 1bca1f701dfed0b6608a8542bb46ce2d3524eecf
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Fri Jul 18 09:47:54 2025 +0100

    gnu: python-numpy-2: Update to 2.3.1.
    
    * gnu/packages/python-xyz.scm (python-numpy-2): Update to 2.3.1.
      [arguments] <test-flags>: Skip one problematic test.
    
    Change-Id: Icabac3ace4b14e29659a92ae7bea212d6e6d99f4
---
 gnu/packages/python-xyz.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ebde2b6725..e352ad8dd1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10349,7 +10349,7 @@ capabilities.")
   (package
     (inherit python-numpy)
     (name "python-numpy")
-    (version "2.2.5")
+    (version "2.3.1")
     (source
      (origin
        (method url-fetch)
@@ -10357,7 +10357,7 @@ capabilities.")
              "https://github.com/numpy/numpy/releases/download/v";
              version "/numpy-" version ".tar.gz"))
        (sha256
-        (base32 "14f28cpmw3z8sk4lp5pylrk58220fclqnbkprfqr3n8cd2adkh59"))))
+        (base32 "0aqx8hsw54wfp7iv0h0ljlpsygvmrmi3rjic6rsa6v92lhhaxj8y"))))
     (arguments
      (list
       #:modules '((guix build utils)
@@ -10365,7 +10365,11 @@ capabilities.")
                   (ice-9 format))
       #:test-flags
       #~(list "-m" "not slow"
-              "--numprocesses" (number->string (min 8 (parallel-job-count))))
+              "--numprocesses" (number->string (min 8 (parallel-job-count)))
+              ;; See: <https://github.com/numpy/numpy/issues/27531>,
+              ;;      <https://github.com/numpy/numpy/issues/17685>,
+              ;;      <https://github.com/numpy/numpy/issues/17635>.
+              "-k" "not test_api_importable")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'fix-executable-paths

Reply via email to