[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
180/233: gnu: python-celery: Update to 5.2.6 and enable tests.
From: |
guix-commits |
Subject: |
180/233: gnu: python-celery: Update to 5.2.6 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 7bc6d77ec635d833d4504b4e30c9bd4be115922f
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Apr 19 15:22:49 2022 -0400
gnu: python-celery: Update to 5.2.6 and enable tests.
* gnu/packages/python-xyz.scm (python-celery): Update to 5.2.6.
[tests?]: Delete argument.
[phases]{delete-integration-tests}: Delete phase.
{relax-requirements}: New phase.
{check}: Ignore the "t/integration" directory and the
t/unit/backends/test_mongodb.py file. Remove skip directive for
test_all_reqs_enabled_in_tests.
[native-inputs]: Add python-dnspython.
[propagated-inputs]: Delete python-boto3 and python-cryptography.
---
gnu/packages/python-xyz.scm | 32 ++++++++++++++++++--------------
1 file changed, 18 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index de2730ce97..67c0010145 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15793,31 +15793,37 @@ Python 2.4 and 2.5, and will draw its
fixes/improvements from python-trunk.")
(define-public python-celery
(package
(name "python-celery")
- (version "5.1.2") ;newer versions require python-click>=8
+ (version "5.2.6")
(source
(origin
(method url-fetch)
(uri (pypi-uri "celery" version))
(sha256
- (base32 "1c6lw31i3v81fyj4yn37lbvv70xdgb389iccirzyjr992vlkv6ld"))))
+ (base32 "109lcqarrbmh95sk1dm4yxayq1h3i27f4w23ndk64mqgyfnqqffi"))))
(build-system python-build-system)
(arguments
- '(#:tests? #f
- #:phases
+ '(#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'delete-integration-tests
+ (add-after 'unpack 'relax-requirements
(lambda _
- (delete-file-recursively "t/integration"))) ;hangs tests
+ (substitute* "requirements/default.txt"
+ (("pytz.*")
+ "pytz\n"))))
(replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "python" "-m" "pytest" "t" "-k"
- (string-append ; AssertionErrors
- "not test_check_privileges_no_fchown"
- " and not test_all_reqs_enabled_in_tests"))))))))
+ (invoke "python" "-m" "pytest" "t"
+ "--ignore" "t/integration" ;hangs tests
+ ;; The MongoDB backend test appears to expect an older
+ ;; version of MongoDB which provided its own bson
+ ;; module, fails with " AttributeError: module 'bson'
+ ;; has no attribute 'encode'".
+ "--ignore" "t/unit/backends/test_mongodb.py"
+ ;; AssertionErrors
+ "-k" "not test_check_privileges_no_fchown ")))))))
(native-inputs
(list python-case
+ python-dnspython
python-flaky
python-iniconfig
python-moto
@@ -15829,12 +15835,10 @@ Python 2.4 and 2.5, and will draw its
fixes/improvements from python-trunk.")
python-toml))
(propagated-inputs
(list python-billiard
- python-boto3
python-click
python-click-didyoumean
python-click-plugins
python-click-repl
- python-cryptography
python-kombu
python-pytz
python-vine))
- 218/233: gnu: python-sphinxcontrib-websupport: Update to 1.2.4., (continued)
- 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
- 229/233: gnu: python-pudb: Update to 2022.1.1 and rename from pudb., guix-commits, 2022/04/24
- 233/233: gnu: python-matplotlib-documentation: Fix build., guix-commits, 2022/04/24
- 152/233: gnu: Add python-openapi-core., guix-commits, 2022/04/24
- 154/233: gnu: python-hypothesis-6.23: Update to 6.43.3., guix-commits, 2022/04/24
- 155/233: gnu: python-numpy: Update to 1.21.6 and parallelize build/tests., guix-commits, 2022/04/24
- 161/233: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/04/24
- 179/233: gnu: python-kombu: Update to 5.2.4., guix-commits, 2022/04/24
- 180/233: gnu: python-celery: Update to 5.2.6 and enable tests.,
guix-commits <=
- 182/233: gnu: python-bitstruct: Update to 8.14.0., guix-commits, 2022/04/24
- 189/233: gnu: Add python-mdx-gh-links., guix-commits, 2022/04/24
- 130/233: gnu: Add texlive-cm-lgc., guix-commits, 2022/04/24
- 135/233: gnu: Add python-rfc3339-validator., guix-commits, 2022/04/24
- 141/233: gnu: Add python-httpx-bootstrap., guix-commits, 2022/04/24
- 149/233: gnu: python-fakeredis: Update to 1.7.1., guix-commits, 2022/04/24
- 159/233: gnu: python-pandas: Update to 1.4.2., guix-commits, 2022/04/24
- 160/233: gnu: python-scikit-learn: Parallelize build and test suite., guix-commits, 2022/04/24
- 163/233: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/04/24
- 165/233: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/04/24