From af5b4dc9a5a5cf040eadb2524e3a1a66e0f98a9ea707200b0830f34bc0941f7c Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Tue, 30 Apr 2013 19:38:27 +0000 Subject: [PATCH] - Update to 3.0.19: - Now depends on billiard 2.7.3.28 - A Python 3 related fix managed to disable the deadlock fix announced in 3.0.18. Tests have been added to make sure this does not happen again. - Task retry policy: Default max_retries is now 3. This ensures clients will not be hanging while the broker is down. You can set a longer retry for the worker by using the celeryd_after_setup signal: from celery.signals import celeryd_after_setup @celeryd_after_setup.connect def configure_worker(instance, conf, **kwargs): conf.CELERY_TASK_PUBLISH_RETRY_POLICY = { 'max_retries': 100, 'interval_start': 0, 'interval_max': 1, 'interval_step': 0.2, } - Worker: Will now properly display message body in error messages even if the body is a buffer instance. - 3.0.18 broke the MongoDB result backend (Issue #1303). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=79 --- celery-3.0.18.tar.bz2 | 3 --- celery-3.0.19.tar.bz2 | 3 +++ python-celery.changes | 26 ++++++++++++++++++++++++++ python-celery.spec | 7 ++----- 4 files changed, 31 insertions(+), 8 deletions(-) delete mode 100644 celery-3.0.18.tar.bz2 create mode 100644 celery-3.0.19.tar.bz2 diff --git a/celery-3.0.18.tar.bz2 b/celery-3.0.18.tar.bz2 deleted file mode 100644 index 7e8b0c0..0000000 --- a/celery-3.0.18.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8f0573647d7518f041152e94a74eba5b17c67c54c49b5c523dd8f4d3636b6d41 -size 1148248 diff --git a/celery-3.0.19.tar.bz2 b/celery-3.0.19.tar.bz2 new file mode 100644 index 0000000..a850555 --- /dev/null +++ b/celery-3.0.19.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5aa87403ffe532940c7bea673dbe715affecaecabaa9c4bf33da721a1303cde +size 1151120 diff --git a/python-celery.changes b/python-celery.changes index d08a233..712a56b 100644 --- a/python-celery.changes +++ b/python-celery.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Tue Apr 30 19:34:54 UTC 2013 - alexandre@exatati.com.br + +- Update to 3.0.19: + - Now depends on billiard 2.7.3.28 + - A Python 3 related fix managed to disable the deadlock fix + announced in 3.0.18. + Tests have been added to make sure this does not happen again. + - Task retry policy: Default max_retries is now 3. + This ensures clients will not be hanging while the broker is down. + You can set a longer retry for the worker by + using the celeryd_after_setup signal: + from celery.signals import celeryd_after_setup + + @celeryd_after_setup.connect + def configure_worker(instance, conf, **kwargs): + conf.CELERY_TASK_PUBLISH_RETRY_POLICY = { + 'max_retries': 100, + 'interval_start': 0, + 'interval_max': 1, + 'interval_step': 0.2, + } + - Worker: Will now properly display message body in error messages + even if the body is a buffer instance. + - 3.0.18 broke the MongoDB result backend (Issue #1303). + ------------------------------------------------------------------- Fri Apr 12 17:52:35 UTC 2013 - alexandre@exatati.com.br diff --git a/python-celery.spec b/python-celery.spec index 14ecee8..8762636 100644 --- a/python-celery.spec +++ b/python-celery.spec @@ -17,7 +17,7 @@ Name: python-celery -Version: 3.0.18 +Version: 3.0.19 Release: 0 Url: http://celeryproject.org Summary: Distributed Task Queue @@ -41,14 +41,11 @@ BuildRequires: python-pyOpenSSL BuildRequires: python-importlib BuildRequires: python-ordereddict BuildRequires: python-unittest2 -# See changes entry from "Jun 6 17:31:29 UTC 2012": -# TODO/FIXME: Drop this as as soon as possible, d:l:p already has a newer kombu, -Conflicts: python-kombu >= 2.5 Requires: python-importlib Requires: python-ordereddict %endif Requires: python-anyjson -Requires: python-billiard >= 2.7.3.27 +Requires: python-billiard >= 2.7.3.28 Requires: python-dateutil Recommends: python-curses Recommends: python-pyOpenSSL