gnu: python-kombu: Update to 5.2.4.

* gnu/packages/python-xyz.scm (python-kombu): Update to 5.2.4.
[phases]{delete-transport-tests}: Delete phase.
{check}: New phase.
[native-inputs]: Remove python-mock.
This commit is contained in:
Maxim Cournoyer 2022-04-19 14:52:36 -04:00
parent e8dc6ec5d8
commit daf2b25755
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -15751,23 +15751,28 @@ applications.")
(define-public python-kombu (define-public python-kombu
(package (package
(name "python-kombu") (name "python-kombu")
(version "5.2.2") (version "5.2.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "kombu" version)) (uri (pypi-uri "kombu" version))
(sha256 (sha256
(base32 "0256915q3z4pjrkqxw16a31np3p25dxnk1mq2zv0hs4izdihfp8g")))) (base32 "044ng79gj04668kf5fmy7fjkw8302xyapskkn65ym52zfbpf7kip"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
(add-after 'unpack 'delete-transport-tests #~(modify-phases %standard-phases
(lambda _ ; this tests message passing to many different databases (replace 'check
(delete-file-recursively "t/unit/transport")))))) (lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv"
;; The transport tests attempt to pass messages to
;; many different databases.
"--ignore" "t/unit/transport")))))))
(native-inputs (native-inputs
(list python-case python-mock python-pyro4 python-pytest-sugar (list python-case python-pyro4 python-pytest-sugar
python-pytz)) python-pytest python-pytz))
(propagated-inputs (propagated-inputs
(list python-amqp python-cached-property python-vine)) (list python-amqp python-cached-property python-vine))
(home-page "https://kombu.readthedocs.io") (home-page "https://kombu.readthedocs.io")