[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
178/233: gnu: python-amqp: Update to 5.1.1 and enable tests.
From: |
guix-commits |
Subject: |
178/233: gnu: python-amqp: Update to 5.1.1 and enable tests. |
Date: |
Sun, 24 Apr 2022 23:40:01 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 8a9ab8201942b1a79b6b571142d56255e6784203
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 18aea5a53b..ced902b98c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15645,18 +15645,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
- 125/233: gnu: texlive-polyglossia: Rename and fix package., (continued)
- 125/233: gnu: texlive-polyglossia: Rename and fix package., guix-commits, 2022/04/24
- 144/233: gnu: Add python-socksio., guix-commits, 2022/04/24
- 145/233: gnu: python-sqlalchemy: Run tests in parallel via xdist., guix-commits, 2022/04/24
- 146/233: gnu: python-sqlalchemy: Update to 1.4.35., guix-commits, 2022/04/24
- 153/233: gnu: Add python-jupyterlab-server., guix-commits, 2022/04/24
- 158/233: gnu: python-pandas: Build and run tests in parallel., guix-commits, 2022/04/24
- 162/233: gnu: python-umap-learn: Update to 0.5.3., guix-commits, 2022/04/24
- 167/233: gnu: python-jupyter-protocol: Update to 0.2.0., guix-commits, 2022/04/24
- 170/233: gnu: python-types-dataclasses: Fix typo., guix-commits, 2022/04/24
- 177/233: gnu: python-can: Update to 4.0.0., guix-commits, 2022/04/24
- 178/233: gnu: python-amqp: Update to 5.1.1 and enable tests.,
guix-commits <=
- 187/233: gnu: Add python-pyyaml-env-tag., guix-commits, 2022/04/24
- 199/233: gnu: weasyprint: Update to 54.3., guix-commits, 2022/04/24
- 203/233: gnu: setzer: Add python-wrapper to fix build., guix-commits, 2022/04/24
- 208/233: gnu: python-flask-wtf: Update to 1.0.1., guix-commits, 2022/04/24
- 209/233: gnu: python-flask-login: Update to 0.6.0., guix-commits, 2022/04/24
- 215/233: gnu: python-pydata-sphinx-theme: Update to 0.7.2., guix-commits, 2022/04/24
- 216/233: gnu: python-sphinx-copybutton: Update to 0.5.0., guix-commits, 2022/04/24
- 218/233: gnu: python-sphinxcontrib-websupport: Update to 1.2.4., guix-commits, 2022/04/24
- 223/233: gnu: Add python-nptyping., guix-commits, 2022/04/24
- 226/233: gnu: python-sphinx-rtd-theme: Update to 1.0.0., guix-commits, 2022/04/24