[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: |
Thu, 12 May 2022 14:14:28 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit f35d65707cb15f62f8924b245baca4ad929d309b
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 bfae08fa7c..cd44113352 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15821,31 +15821,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
@@ -15857,12 +15863,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))
- 167/242: gnu: python-jupyter-protocol: Update to 0.2.0., (continued)
- 167/242: gnu: python-jupyter-protocol: Update to 0.2.0., guix-commits, 2022/05/12
- 174/242: gnu: conan: Update to 1.47.0 and relax PyYAML requirement., guix-commits, 2022/05/12
- 175/242: gnu: python-parse-type: Update to 0.6.0, fixing build., guix-commits, 2022/05/12
- 172/242: gnu: python-readme-renderer: Update to 34.0., guix-commits, 2022/05/12
- 183/242: gnu: Add python-toolrack., guix-commits, 2022/05/12
- 197/242: gnu: Remove python-orator due to being broken and unmaintained., guix-commits, 2022/05/12
- 161/242: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/05/12
- 194/242: gnu: Remove python2-jmespath., guix-commits, 2022/05/12
- 195/242: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/05/12
- 185/242: gnu: python-multipart: Fix build with PyYAML 6., guix-commits, 2022/05/12
- 180/242: gnu: python-celery: Update to 5.2.6 and enable tests.,
guix-commits <=
- 179/242: gnu: python-kombu: Update to 5.2.4., guix-commits, 2022/05/12
- 191/242: gnu: Add python-crccheck., guix-commits, 2022/05/12
- 203/242: gnu: setzer: Add python-wrapper to fix build., guix-commits, 2022/05/12
- 200/242: gnu: seed: Use webkitgtk-with-libsoup2., guix-commits, 2022/05/12
- 210/242: snippets: Add a 'remove' snippet., guix-commits, 2022/05/12
- 221/242: gnu: python-sphinx-cloud-sptheme: Update to 1.10.1 [still broken]., guix-commits, 2022/05/12
- 223/242: gnu: Add python-nptyping., guix-commits, 2022/05/12
- 220/242: gnu: python-sphinx-argparse: Update to 0.3.1., guix-commits, 2022/05/12
- 213/242: gnu: python-numpydoc: Update to 1.2.1., guix-commits, 2022/05/12
- 228/242: gnu: Add python-ipdb., guix-commits, 2022/05/12