[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
178/242: gnu: python-amqp: Update to 5.1.1 and enable tests.
From: |
guix-commits |
Subject: |
178/242: gnu: python-amqp: Update to 5.1.1 and enable tests. |
Date: |
Thu, 12 May 2022 14:14:28 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit e8dc6ec5d8084efef4341ef90ec5e66ce31c1f03
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Apr 19 15:01:13 2022 -0400
gnu: python-amqp: Update to 5.1.1 and enable tests.
* gnu/packages/python-xyz.scm (python-amqp): Update to 5.1.1.
[arguments]: New field.
[native-inputs]: Add python-pytest.
---
gnu/packages/python-xyz.scm | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 86365a04c2..4831cebaa0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15673,18 +15673,27 @@ and provides a uniform API regardless of which JSON
implementation is used.")
(define-public python-amqp
(package
(name "python-amqp")
- (version "5.0.7")
+ (version "5.1.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "amqp" version))
(sha256
- (base32 "0p9alyinl24z699w4gpd8wvn90sm2il1p0gfwdhbpinksy7vfmyp"))))
+ (base32 "1qmmffiy48nady7is8529vxcyqbq88v5zgawqr3fk4q8rkz166rc"))))
(build-system python-build-system)
(arguments
- `(#:tests? #f)) ; not compatible with pytest>=6 as of 5.0.7
- (propagated-inputs
- (list python-vine))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv"
+ "-c" "/dev/null" ;take control over pytest options
+ ;; Integration tests require network connectivity.
+ "--ignore" "t/integration")))))))
+ (native-inputs (list python-pytest))
+ (propagated-inputs (list python-vine))
(home-page "https://github.com/celery/py-amqp")
(synopsis "Low-level AMQP client for Python (fork of amqplib)")
(description
- 31/242: gnu: Add python-defcon., (continued)
- 31/242: gnu: Add python-defcon., guix-commits, 2022/05/12
- 25/242: gnu: python-fonttools-with-test: Rename to python-fonttools-full., guix-commits, 2022/05/12
- 44/242: gnu: Add python-pytest-enabler-bootstrap., guix-commits, 2022/05/12
- 42/242: gnu: Add python-types-pytz., guix-commits, 2022/05/12
- 85/242: gnu: Add python-sfdlib., guix-commits, 2022/05/12
- 109/242: gnu: python-nbclient: Update to 0.6.0., guix-commits, 2022/05/12
- 114/242: gnu: Add python-jupyter-server-mathjax., guix-commits, 2022/05/12
- 118/242: gnu: Add python-nbdime., guix-commits, 2022/05/12
- 131/242: gnu: Add texlive-xindy., guix-commits, 2022/05/12
- 129/242: gnu: texlive-latex-geometry: Propagate texlive-latex-graphics., guix-commits, 2022/05/12
- 178/242: gnu: python-amqp: Update to 5.1.1 and enable tests.,
guix-commits <=
- 193/242: gnu: python-locust: Update to 2.8.6., guix-commits, 2022/05/12
- 215/242: gnu: python-pydata-sphinx-theme: Update to 0.7.2., guix-commits, 2022/05/12
- 212/242: gnu: dynaconf: Fix build following python-click upgrade., guix-commits, 2022/05/12
- 219/242: gnu: python-sphinxcontrib-programoutput: Update to 0.17 and enable tests., guix-commits, 2022/05/12
- 241/242: gnu: Add python-sanic-testing., guix-commits, 2022/05/12
- 204/242: gnu: emacsy: Use webkitgtk-with-libsoup2., guix-commits, 2022/05/12
- 238/242: gnu: python-multidict: Update to 5.2.0., guix-commits, 2022/05/12
- 07/242: gnu: python-traitlets: Update to 5.1.1., guix-commits, 2022/05/12
- 39/242: gnu: Add python-jaraco-functools-bootstrap., guix-commits, 2022/05/12
- 60/242: gnu: python-factory-boy: Update to 3.2.1., guix-commits, 2022/05/12