[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
174/204: gnu: python-celery: Update to 5.2.6 and enable tests.
From: |
guix-commits |
Subject: |
174/204: gnu: python-celery: Update to 5.2.6 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 05bd5896ab4011081534bbfdc2dbc4398a57c921
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 0a11d8df72..62da58f4f1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15797,31 +15797,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
@@ -15833,12 +15839,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))
- 152/204: gnu: python-pandas: Build and run tests in parallel., (continued)
- 152/204: gnu: python-pandas: Build and run tests in parallel., guix-commits, 2022/04/20
- 155/204: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/04/20
- 153/204: gnu: python-pandas: Update to 1.4.2., guix-commits, 2022/04/20
- 157/204: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/04/20
- 158/204: gnu: python-voila: Update to 0.3.5., guix-commits, 2022/04/20
- 159/204: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/04/20
- 167/204: gnu: mbed-tools: Update to 7.53.0 and relax click version requirement., guix-commits, 2022/04/20
- 169/204: gnu: python-parse-type: Update to 0.6.0, fixing build., guix-commits, 2022/04/20
- 170/204: gnu: Add python-bson., guix-commits, 2022/04/20
- 171/204: gnu: python-can: Update to 4.0.0., guix-commits, 2022/04/20
- 174/204: gnu: python-celery: Update to 5.2.6 and enable tests.,
guix-commits <=
- 177/204: gnu: Add python-toolrack., guix-commits, 2022/04/20
- 178/204: gnu: sshoot: Update to 1.5.1., guix-commits, 2022/04/20
- 181/204: gnu: Add python-pyyaml-env-tag., guix-commits, 2022/04/20
- 190/204: gnu: python-miio: Update to 0.5.11., guix-commits, 2022/04/20
- 193/204: gnu: weasyprint: Update to 54.3., guix-commits, 2022/04/20
- 202/204: gnu: python-flask-wtf: Update to 1.0.1., guix-commits, 2022/04/20
- 197/204: gnu: setzer: Add python-wrapper to fix build., guix-commits, 2022/04/20
- 204/204: snippets: Add a 'remove' snippet., guix-commits, 2022/04/20
- 164/204: gnu: python-types-dataclasses: Fix typo., guix-commits, 2022/04/20
- 165/204: gnu: python-cmarkgfm: Update to 0.8.0., guix-commits, 2022/04/20