guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#50018] [PATCH 12/19] gnu: python-amqp: Update to 5.0.6.


From: Vinicius Monego
Subject: [bug#50018] [PATCH 12/19] gnu: python-amqp: Update to 5.0.6.
Date: Wed, 11 Aug 2021 23:45:04 +0000

* gnu/packages/python-xyz.scm (python-amqp): Update to 5.0.6.
[source]: Make some cosmetic changes.
---
 gnu/packages/python-xyz.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 69a0c369db..7c4232cbd5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13177,17 +13177,24 @@ and provides a uniform API regardless of which JSON 
implementation is used.")
 (define-public python-amqp
   (package
     (name "python-amqp")
-    (version "2.3.2")
+    (version "5.0.6")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "amqp" version))
        (sha256
-        (base32
-         "1sv600dgqwpimr6i1g59y9hpn50mc236gdqkr7zin13kvlpx0g87"))))
+        (base32 "1hk8jli0s8dinxwihskzbwqlrancsgfxh1hjpzw32k5kyaa6xq83"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'delete-rabbitmq-tests
+           (lambda _
+             ;; All tests in this file require RabbitMQ.
+             (delete-file-recursively "t/integration/test_rmq.py"))))))
     (native-inputs
      `(("python-case" ,python-case)
+       ("python-pytest-rerunfailures" ,python-pytest-rerunfailures)
        ("python-pytest-sugar" ,python-pytest-sugar)
        ("python-mock" ,python-mock)))
     (propagated-inputs
-- 
2.30.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]