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

commit 79dee27c8f1dc324efd6dd1eef3088a026d04d57
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat May 30 00:35:27 2026 +0100

    gnu: python-array-api-strict: Update to 2.5.
    
    * gnu/packages/python-xyz.scm (python-array-api-strict): Update to 2.5.
    [arguments] <test-flags>: Ignore tests requiring latest hypothesis.
    [native-inputs]: Add python-hypothesis.
    
    Change-Id: Ia03851e604413f6379101bbe1dda1ce144f041d5
---
 gnu/packages/python-xyz.scm | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 32ea03f34d..f2c0203c48 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4138,23 +4138,31 @@ libraries to make them compatible with the Array API 
standard")
 (define-public python-array-api-strict
   (package
     (name "python-array-api-strict")
-    (version "2.4.1")
+    (version "2.5")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "array_api_strict" version))
        (sha256
-        (base32 "0k1v3h54y1yny8mhgwjk6p51zf87farfk1xn9842g5lcrfhxqxvc"))))
+        (base32 "1ig116ld5k8wx82ahld4l7qcb0d4s5s4f4a0nrflrh3hzabyarvp"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      ;; tests: 584 passed, 1 skipped, 2 deselected
+      ;; tests: 585 passed, 2 deselected
       #:test-flags
-      ;; ModuleNotFoundError: No module named 'numpy', not sure why?
-      #~(list "-k" (string-append "not test_disabled_extensions"
+      ;; hypothesis.errors.InvalidArgument:
+      ;; xp.__array_api_version__='2025.12', but it must be a valid version
+      ;; string ('2021.12', '2022.12', '2023.12', '2024.12'). If the standard
+      ;; version you want is not available, please ensure you're using the
+      ;; latest version of Hypothesis, then open an issue if one doesn't
+      ;; already exist.
+      #~(list "--ignore=array_api_strict/tests/test_set_functions.py"
+              ;; ModuleNotFoundError: No module named 'numpy', not sure why?
+              "-k" (string-append "not test_disabled_extensions"
                                   " and not test_environment_variables"))))
     (native-inputs
-     (list python-pytest
+     (list python-hypothesis
+           python-pytest
            python-setuptools
            python-setuptools-scm))
     (propagated-inputs

Reply via email to