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

commit cd5efd65422a9e160759df6869385f4e69ea8572
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Sat Jul 12 14:38:13 2025 +0100

    gnu: python-hypothesis: Update to 6.135.26.
    
    * gnu/packages/check.scm (python-hypothesis): Update to 6.135.26.
      [build-system]: Use pyproject
      [arguments] <phases>: Keep 'sanity-check.
      [native-inputs]: Add python-setuptools, and python-wheel.
    
    Change-Id: I306fd548268da91b2e86d2ca214771126331e0d1
---
 gnu/packages/check.scm | 32 +++++++++++++++++---------------
 1 file changed, 17 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 6a5ea0b93a..babd3a988c 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2864,24 +2864,26 @@ instantly.")
 (define-public python-hypothesis
   (package
     (name "python-hypothesis")
-    (version "6.54.5")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "hypothesis" version))
-              (sha256
-               (base32
-                "1ivyrjpnahvj359pfndnk8x3h0gw37kqm02fmnzibx4mas15d44a"))))
-    (build-system python-build-system)
+    (version "6.135.26")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "hypothesis" version))
+       (sha256
+        (base32 "0073lb8xp789fxs5g8dmi3pr2p8q7imfsksidy0ccfahrm30xbvk"))))
+    (build-system pyproject-build-system)
     (arguments
      ;; XXX: Tests are not distributed with the PyPI archive.
-     (list #:tests? #f
-           #:phases
-           #~(modify-phases %standard-phases
-               ;; XXX: hypothesis requires pytest at runtime, but we can
-               ;; not propagate it due to a circular dependency.
-               (delete 'sanity-check))))
+     (list #:tests? #f))
+    (native-inputs
+     (list python-pytest-bootstrap      ;to pass sanity check
+           python-setuptools
+           python-wheel))
     (propagated-inputs
-     (list python-attrs-bootstrap python-exceptiongroup 
python-sortedcontainers))
+     (list python-attrs-bootstrap
+           python-exceptiongroup
+           python-sortedcontainers))
+    (home-page "https://hypothesis.works/";)
     (synopsis "Library for property based testing")
     (description "Hypothesis is a library for testing your Python code against 
a
 much larger range of examples than you would ever want to write by hand.  It’s

Reply via email to