~ruther/guix-local

d3e3103fc3d8858d0017538450315245b74d6219 — Sharlatan Hellseher 8 months ago f135184
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
1 files changed, 17 insertions(+), 15 deletions(-)

M gnu/packages/check.scm
M gnu/packages/check.scm => gnu/packages/check.scm +17 -15
@@ 2793,24 2793,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