[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
172/204: gnu: python-amqp: Update to 5.1.1 and enable tests.
From: |
guix-commits |
Subject: |
172/204: gnu: python-amqp: Update to 5.1.1 and enable tests. |
Date: |
Wed, 20 Apr 2022 02:03:42 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit eb8b59d679a2f5177f10aaa8c83728c42c490104
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 d744580c83..5e61f55410 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15649,18 +15649,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/204: gnu: texlive-polyglossia: Rename and fix package., (continued)
- 125/204: gnu: texlive-polyglossia: Rename and fix package., guix-commits, 2022/04/20
- 127/204: gnu: python-websockets: Update to 10.3 and enable tests., guix-commits, 2022/04/20
- 131/204: gnu: Add python-openapi-spec-validator., guix-commits, 2022/04/20
- 138/204: gnu: Add python-socksio., guix-commits, 2022/04/20
- 151/204: gnu: python-numba: Update to 0.55.1., guix-commits, 2022/04/20
- 154/204: gnu: python-scikit-learn: Parallelize build and test suite., guix-commits, 2022/04/20
- 160/204: gnu: python-sparqlkernel: Use gexps and fix inputs., guix-commits, 2022/04/20
- 162/204: gnu: python-jupyter-kernel-mgmt: Update to 0.5.1 and disable tests., guix-commits, 2022/04/20
- 163/204: gnu: xeus: Update to 2.4.1., guix-commits, 2022/04/20
- 168/204: gnu: conan: Update to 1.47.0 and relax PyYAML requirement., guix-commits, 2022/04/20
- 172/204: gnu: python-amqp: Update to 5.1.1 and enable tests.,
guix-commits <=
- 173/204: gnu: python-kombu: Update to 5.2.4., guix-commits, 2022/04/20
- 179/204: gnu: python-multipart: Fix build with PyYAML 6., guix-commits, 2022/04/20
- 182/204: gnu: python-ghp-import: Update to 2.0.2., guix-commits, 2022/04/20
- 185/204: gnu: Add python-crccheck., guix-commits, 2022/04/20
- 186/204: gnu: python-cantools: Update to 37.0.7., guix-commits, 2022/04/20
- 187/204: gnu: python-locust: Update to 2.8.6., guix-commits, 2022/04/20
- 191/204: gnu: Remove python-orator due to being broken and unmaintained., guix-commits, 2022/04/20
- 192/204: gnu: Add python-pydyf., guix-commits, 2022/04/20
- 194/204: gnu: seed: Use webkitgtk-with-libsoup2., guix-commits, 2022/04/20
- 196/204: gnu: libgrss: Use libsoup-minimal-2 to fix build., guix-commits, 2022/04/20