gnu: python-hypothesis-6.23: Update to 6.43.3.

* gnu/packages/check.scm (python-hypothesis-6.23): Update to 6.43.3 and rename
to...
(python-hypothesis-next): ... this.
[propagated-inputs]: Add python-pytest.
* gnu/packages/matrix.scm (python-matrix-nio): Adjust accordingly.
* gnu/packages/python-web.scm (python-h2): Likewise.
* gnu/packages/check.scm (python-hypothesis)[home-page]: Update URL.
This commit is contained in:
Maxim Cournoyer 2022-04-18 13:40:35 -04:00
parent 1a564cf147
commit bfe7f40650
No known key found for this signature in database
GPG key ID: 1260E46482E63562
3 changed files with 10 additions and 6 deletions

View file

@ -2174,20 +2174,24 @@ (define-public python-hypothesis
much larger range of examples than you would ever want to write by hand. Its
based on the Haskell library, Quickcheck, and is designed to integrate
seamlessly into your existing Python unit testing work flow.")
(home-page "https://github.com/HypothesisWorks/hypothesis-python")
(home-page "https://github.com/HypothesisWorks/hypothesis")
(license license:mpl2.0)
(properties `((python2-variant . ,(delay python2-hypothesis))))))
(define-public python-hypothesis-6.23
;;; TODO: Make the default python-hypothesis in the next rebuild cycle.
(define-public python-hypothesis-next
(package
(inherit python-hypothesis)
(version "6.23.4")
(version "6.43.3")
(source (origin
(method url-fetch)
(uri (pypi-uri "hypothesis" version))
(sha256
(base32
"0wp8i9qmd5wl1sq1l2b97fgliyk5fyphssl6j7q5qn5zjlfgi4qs"))))))
"0d67dlc5a47i48fxzmji2mnybzby0h1wdscmj54555fghcyp1045"))))
(propagated-inputs
(modify-inputs (package-propagated-inputs python-hypothesis)
(append python-pytest))))) ;to satisfy the sanity-check phase
;; This is the last version of Hypothesis that supports Python 2.
(define-public python2-hypothesis

View file

@ -187,7 +187,7 @@ (define-public python-matrix-nio
(native-inputs
`(("python-pytest" ,python-pytest-6)
("python-hyperframe" ,python-hyperframe)
("python-hypothesis" ,python-hypothesis-6.23)
("python-hypothesis" ,python-hypothesis-next)
("python-hpack" ,python-hpack)
("python-faker" ,python-faker)
("python-pytest-aiohttp" ,python-pytest-aiohttp)

View file

@ -1114,7 +1114,7 @@ (define-public python-h2
(add-installed-pythonpath inputs outputs)
(invoke "python" "-m" "pytest" "-vv" "test")))))))
(native-inputs
(list python-hypothesis-6.23 python-pytest))
(list python-hypothesis-next python-pytest))
(propagated-inputs
(list python-hpack python-hyperframe))
(home-page "https://github.com/python-hyper/h2")