mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-hypothesis: Update to 6.54.5.
* gnu/packages/check.scm (python-hypothesis): Update to 6.54.5. [arguments]: Disable sanity check. [propagated-inputs]: Add PYTHON-EXCEPTIONGROUP. (python-hypothesis-next): Deprecate. * gnu/packages/matrix.scm (python-matrix-nio)[native-inputs]: Change from PYTHON-HYPOTHESIS-NEXT to PYTHON-HYPOTHESIS. * gnu/packages/python-web.scm (python-h2)[native-inputs]: Likewise. * gnu/packages/python-xyz.scm (python-numpy, python-cattrs)[native-inputs]: Likewise.
This commit is contained in:
parent
66b6d6a930
commit
3533db28ce
4 changed files with 16 additions and 23 deletions
|
@ -89,6 +89,7 @@
|
||||||
#:use-module (guix build-system meson)
|
#:use-module (guix build-system meson)
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system python)
|
||||||
#:use-module (guix build-system trivial)
|
#:use-module (guix build-system trivial)
|
||||||
|
#:use-module (guix deprecation)
|
||||||
#:use-module (srfi srfi-1))
|
#:use-module (srfi srfi-1))
|
||||||
|
|
||||||
(define-public pict
|
(define-public pict
|
||||||
|
@ -1997,20 +1998,24 @@ instantly.")
|
||||||
(define-public python-hypothesis
|
(define-public python-hypothesis
|
||||||
(package
|
(package
|
||||||
(name "python-hypothesis")
|
(name "python-hypothesis")
|
||||||
(version "6.0.2")
|
(version "6.54.5")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "hypothesis" version))
|
(uri (pypi-uri "hypothesis" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0wj7ip779naf2n076nylf2gi0sjz68z1ir9d9r2rgs7br18naqdf"))))
|
"1ivyrjpnahvj359pfndnk8x3h0gw37kqm02fmnzibx4mas15d44a"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; XXX: Tests are not distributed with the PyPI archive.
|
;; XXX: Tests are not distributed with the PyPI archive.
|
||||||
'(#:tests? #f))
|
(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))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-attrs" ,python-attrs-bootstrap)
|
(list python-attrs-bootstrap python-exceptiongroup python-sortedcontainers))
|
||||||
("python-sortedcontainers" ,python-sortedcontainers)))
|
|
||||||
(synopsis "Library for property based testing")
|
(synopsis "Library for property based testing")
|
||||||
(description "Hypothesis is a library for testing your Python code against a
|
(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
|
much larger range of examples than you would ever want to write by hand. It’s
|
||||||
|
@ -2019,20 +2024,8 @@ seamlessly into your existing Python unit testing work flow.")
|
||||||
(home-page "https://github.com/HypothesisWorks/hypothesis")
|
(home-page "https://github.com/HypothesisWorks/hypothesis")
|
||||||
(license license:mpl2.0)))
|
(license license:mpl2.0)))
|
||||||
|
|
||||||
;;; TODO: Make the default python-hypothesis in the next rebuild cycle.
|
(define-deprecated python-hypothesis-next python-hypothesis)
|
||||||
(define-public python-hypothesis-next
|
(export python-hypothesis-next)
|
||||||
(package
|
|
||||||
(inherit python-hypothesis)
|
|
||||||
(version "6.43.3")
|
|
||||||
(source (origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (pypi-uri "hypothesis" version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"0d67dlc5a47i48fxzmji2mnybzby0h1wdscmj54555fghcyp1045"))))
|
|
||||||
(propagated-inputs
|
|
||||||
(modify-inputs (package-propagated-inputs python-hypothesis)
|
|
||||||
(append python-pytest))))) ;to satisfy the sanity-check phase
|
|
||||||
|
|
||||||
(define-public python-hypothesmith
|
(define-public python-hypothesmith
|
||||||
(package
|
(package
|
||||||
|
|
|
@ -187,7 +187,7 @@ homeserver and generally help bootstrap the ecosystem.")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-pytest" ,python-pytest-6)
|
`(("python-pytest" ,python-pytest-6)
|
||||||
("python-hyperframe" ,python-hyperframe)
|
("python-hyperframe" ,python-hyperframe)
|
||||||
("python-hypothesis" ,python-hypothesis-next)
|
("python-hypothesis" ,python-hypothesis)
|
||||||
("python-hpack" ,python-hpack)
|
("python-hpack" ,python-hpack)
|
||||||
("python-faker" ,python-faker)
|
("python-faker" ,python-faker)
|
||||||
("python-pytest-aiohttp" ,python-pytest-aiohttp)
|
("python-pytest-aiohttp" ,python-pytest-aiohttp)
|
||||||
|
|
|
@ -1203,7 +1203,7 @@ and that could be anything you want.")
|
||||||
(add-installed-pythonpath inputs outputs)
|
(add-installed-pythonpath inputs outputs)
|
||||||
(invoke "python" "-m" "pytest" "-vv" "test")))))))
|
(invoke "python" "-m" "pytest" "-vv" "test")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-hypothesis-next python-pytest))
|
(list python-hypothesis python-pytest))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-hpack python-hyperframe))
|
(list python-hpack python-hyperframe))
|
||||||
(home-page "https://github.com/python-hyper/h2")
|
(home-page "https://github.com/python-hyper/h2")
|
||||||
|
|
|
@ -5686,7 +5686,7 @@ include_dirs = ~:*~a/include~%"
|
||||||
'())))))))))
|
'())))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-cython
|
(list python-cython
|
||||||
python-hypothesis-next
|
python-hypothesis
|
||||||
python-pytest
|
python-pytest
|
||||||
python-pytest-xdist
|
python-pytest-xdist
|
||||||
python-typing-extensions
|
python-typing-extensions
|
||||||
|
@ -16855,7 +16855,7 @@ strings require only one extra byte in addition to the strings themselves.")
|
||||||
;; build system and new Rust dependencies.
|
;; build system and new Rust dependencies.
|
||||||
"--ignore" "tests/test_preconf.py")))))))
|
"--ignore" "tests/test_preconf.py")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-hypothesis-next
|
(list python-hypothesis
|
||||||
python-immutables
|
python-immutables
|
||||||
python-msgpack
|
python-msgpack
|
||||||
python-poetry-core
|
python-poetry-core
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue