[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
180/242: gnu: python-celery: Update to 5.2.6 and enable tests.
From: |
guix-commits |
Subject: |
180/242: gnu: python-celery: Update to 5.2.6 and enable tests. |
Date: |
Wed, 11 May 2022 18:03:24 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 5758485dab9722a1bb3cc54c238f0a0e9b53c351
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 e3e93340f0..f8af2f7721 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15811,31 +15811,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
@@ -15847,12 +15853,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))
- 162/242: gnu: python-umap-learn: Update to 0.5.3., (continued)
- 162/242: gnu: python-umap-learn: Update to 0.5.3., guix-commits, 2022/05/11
- 167/242: gnu: python-jupyter-protocol: Update to 0.2.0., guix-commits, 2022/05/11
- 177/242: gnu: python-can: Update to 4.0.0., guix-commits, 2022/05/11
- 170/242: gnu: python-types-dataclasses: Fix typo., guix-commits, 2022/05/11
- 171/242: gnu: python-cmarkgfm: Update to 0.8.0., guix-commits, 2022/05/11
- 179/242: gnu: python-kombu: Update to 5.2.4., guix-commits, 2022/05/11
- 168/242: gnu: python-jupyter-kernel-mgmt: Update to 0.5.1 and disable tests., guix-commits, 2022/05/11
- 183/242: gnu: Add python-toolrack., guix-commits, 2022/05/11
- 181/242: gnu: Add python-argparse-addons., guix-commits, 2022/05/11
- 182/242: gnu: python-bitstruct: Update to 8.14.0., guix-commits, 2022/05/11
- 180/242: gnu: python-celery: Update to 5.2.6 and enable tests.,
guix-commits <=
- 186/242: gnu: Add python-mergedeep., guix-commits, 2022/05/11
- 188/242: gnu: python-ghp-import: Update to 2.0.2., guix-commits, 2022/05/11
- 187/242: gnu: Add python-pyyaml-env-tag., guix-commits, 2022/05/11
- 190/242: gnu: python-mkdocs: Update to 1.3.0., guix-commits, 2022/05/11
- 191/242: gnu: Add python-crccheck., guix-commits, 2022/05/11
- 193/242: gnu: python-locust: Update to 2.8.6., guix-commits, 2022/05/11
- 199/242: gnu: weasyprint: Update to 54.3., guix-commits, 2022/05/11
- 202/242: gnu: libgrss: Use libsoup-minimal-2 to fix build., guix-commits, 2022/05/11
- 196/242: gnu: python-miio: Update to 0.5.11., guix-commits, 2022/05/11
- 198/242: gnu: Add python-pydyf., guix-commits, 2022/05/11