[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: |
Wed, 11 May 2022 18:03:23 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit e798402b4b42f0c85eff7a29844d31fe5428087b
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 16041ca339..6216e0eb4e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15663,18 +15663,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
- 148/242: gnu: Add python-aioredis., (continued)
- 148/242: gnu: Add python-aioredis., guix-commits, 2022/05/11
- 156/242: gnu: python-llvmlite: Update to 0.38.0., guix-commits, 2022/05/11
- 160/242: gnu: python-scikit-learn: Parallelize build and test suite., guix-commits, 2022/05/11
- 159/242: gnu: python-pandas: Update to 1.4.2., guix-commits, 2022/05/11
- 161/242: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/05/11
- 163/242: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/05/11
- 164/242: gnu: python-voila: Update to 0.3.5., guix-commits, 2022/05/11
- 165/242: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/05/11
- 173/242: gnu: mbed-tools: Update to 7.53.0 and relax click version requirement., guix-commits, 2022/05/11
- 175/242: gnu: python-parse-type: Update to 0.6.0, fixing build., guix-commits, 2022/05/11
- 178/242: gnu: python-amqp: Update to 5.1.1 and enable tests.,
guix-commits <=
- 166/242: gnu: python-sparqlkernel: Use gexps and fix inputs., guix-commits, 2022/05/11
- 172/242: gnu: python-readme-renderer: Update to 34.0., guix-commits, 2022/05/11
- 176/242: gnu: Add python-bson., guix-commits, 2022/05/11
- 169/242: gnu: xeus: Update to 2.4.1., guix-commits, 2022/05/11
- 185/242: gnu: python-multipart: Fix build with PyYAML 6., guix-commits, 2022/05/11
- 174/242: gnu: conan: Update to 1.47.0 and relax PyYAML requirement., guix-commits, 2022/05/11
- 184/242: gnu: sshoot: Update to 1.5.1., guix-commits, 2022/05/11
- 189/242: gnu: Add python-mdx-gh-links., guix-commits, 2022/05/11
- 194/242: gnu: Remove python2-jmespath., guix-commits, 2022/05/11
- 192/242: gnu: python-cantools: Update to 37.0.7., guix-commits, 2022/05/11