diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-04-19 14:52:36 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-05-12 12:46:00 -0400 |
commit | daf2b257555b1f8a21020369eb77189a66abd96d (patch) | |
tree | 4d18bc54542081de4124f3cdad20ebbf705e3610 /gnu/packages/python-xyz.scm | |
parent | e8dc6ec5d8084efef4341ef90ec5e66ce31c1f03 (diff) |
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.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4831cebaa0..bfae08fa7c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15751,23 +15751,28 @@ applications.") (define-public python-kombu (package (name "python-kombu") - (version "5.2.2") + (version "5.2.4") (source (origin (method url-fetch) (uri (pypi-uri "kombu" version)) (sha256 - (base32 "0256915q3z4pjrkqxw16a31np3p25dxnk1mq2zv0hs4izdihfp8g")))) + (base32 "044ng79gj04668kf5fmy7fjkw8302xyapskkn65ym52zfbpf7kip")))) (build-system python-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'delete-transport-tests - (lambda _ ; this tests message passing to many different databases - (delete-file-recursively "t/unit/transport")))))) + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (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 - (list python-case python-mock python-pyro4 python-pytest-sugar - python-pytz)) + (list python-case python-pyro4 python-pytest-sugar + python-pytest python-pytz)) (propagated-inputs (list python-amqp python-cached-property python-vine)) (home-page "https://kombu.readthedocs.io") |