gnu: python-tenacity: Update to 8.0.1.

* gnu/packages/python-xyz.scm (python-tenacity): Update to 8.0.1.
[propagated-inputs]: Remove.
[native-inputs]: Add PYTHON-TYPEGUARD.  Remove PYTHON-SPHINX.
[arguments]: Rewrite in gexp style.
This commit is contained in:
Marius Bakke 2022-01-21 20:33:22 +01:00
parent aec7c0cb44
commit 98d9869412
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -710,25 +710,22 @@ threads.")
(define-public python-tenacity (define-public python-tenacity
(package (package
(name "python-tenacity") (name "python-tenacity")
(version "6.1.0") (version "8.0.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "tenacity" version)) (uri (pypi-uri "tenacity" version))
(sha256 (sha256
(base32 (base32
"1j36v9fcpmmd4985ix0cwnvcq71rkrn5cjiiv0id9vkl4kpxh0gv")))) "0bwkvjpjfyi9dgszzad9aww2vc00w3bczjnbifi92cp7wch2l923"))))
(build-system python-build-system) (build-system python-build-system)
(native-inputs (native-inputs
(list python-setuptools-scm python-sphinx python-tornado (list python-setuptools-scm python-tornado python-typeguard
python-pytest)) python-pytest))
(propagated-inputs
(list python-six))
(arguments (arguments
`(#:phases (modify-phases %standard-phases (list #:phases
(replace 'check #~(modify-phases %standard-phases
(lambda _ (replace 'check
(invoke "pytest") (lambda _ (invoke "pytest" "-vv"))))))
#t)))))
(home-page "https://github.com/jd/tenacity") (home-page "https://github.com/jd/tenacity")
(synopsis "Retrying library for python") (synopsis "Retrying library for python")
(description "Tenacity is a general-purpose python library to simplify the (description "Tenacity is a general-purpose python library to simplify the