From 1d9340b693c3ed57d01cfce42b68eee908a74a979bee6b9e965c5c8b47a60a90 Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Fri, 12 Apr 2013 18:08:39 +0000 Subject: [PATCH] - Update to 3.0.18: - Now depends on kombu 2.5.10. See the kombu changelog. - Now depends on billiard 2.7.3.27. - Can now specify a whitelist of accepted serializers using the new CELERY_ACCEPT_CONTENT setting. This means that you can force the worker to discard messages serialized with pickle and other untrusted serializers. For example to only allow JSON serialized messages use:: CELERY_ACCEPT_CONTENT = ['json'] you can also specify MIME types in the whitelist:: CELERY_ACCEPT_CONTENT = ['application/json'] - Fixed deadlock in multiprocessing's pool caused by the semaphore not being released when terminated by signal. - Processes Pool: It's now possible to debug pool processes using GDB. - celery report now censors possibly secret settings, like passwords and secret tokens. You should still check the output before pasting anything on the internet. - Connection URLs now ignore multiple '+' tokens. - Worker/statedb: Now uses pickle protocol 2 (Py2.5+) - Fixed Python 3 compatibility issues. - Worker: A warning is now given if a worker is started with the same node name as an existing worker. - Worker: Fixed a deadlock that could occur while revoking tasks (Issue #1297). - Worker: The :sig:`HUP` handler now closes all open file descriptors before restarting to ensure file descriptors does not leak (Issue #1270). - Worker: Optimized storing/loading the revoked tasks list (Issue #1289). After this change the --statedb file will take up more disk space, but loading from and storing the revoked tasks will be considerably OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=78 --- celery-3.0.16.tar.bz2 | 3 -- celery-3.0.18.tar.bz2 | 3 ++ python-celery.changes | 112 ++++++++++++++++++++++++++++++++++++++++++ python-celery.spec | 6 +-- 4 files changed, 118 insertions(+), 6 deletions(-) delete mode 100644 celery-3.0.16.tar.bz2 create mode 100644 celery-3.0.18.tar.bz2 diff --git a/celery-3.0.16.tar.bz2 b/celery-3.0.16.tar.bz2 deleted file mode 100644 index 5caa65a..0000000 --- a/celery-3.0.16.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:14d4242685e1b3aca2a866131b59ba7499b3fbc59ba897f0e499e124271f73ee -size 1143321 diff --git a/celery-3.0.18.tar.bz2 b/celery-3.0.18.tar.bz2 new file mode 100644 index 0000000..7e8b0c0 --- /dev/null +++ b/celery-3.0.18.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f0573647d7518f041152e94a74eba5b17c67c54c49b5c523dd8f4d3636b6d41 +size 1148248 diff --git a/python-celery.changes b/python-celery.changes index dbe78f0..d08a233 100644 --- a/python-celery.changes +++ b/python-celery.changes @@ -1,3 +1,115 @@ +------------------------------------------------------------------- +Fri Apr 12 17:52:35 UTC 2013 - alexandre@exatati.com.br + +- Update to 3.0.18: + - Now depends on kombu 2.5.10. + See the kombu changelog. + - Now depends on billiard 2.7.3.27. + - Can now specify a whitelist of accepted serializers using + the new CELERY_ACCEPT_CONTENT setting. + This means that you can force the worker to discard messages + serialized with pickle and other untrusted serializers. + For example to only allow JSON serialized messages use:: + CELERY_ACCEPT_CONTENT = ['json'] + you can also specify MIME types in the whitelist:: + CELERY_ACCEPT_CONTENT = ['application/json'] + - Fixed deadlock in multiprocessing's pool caused by the + semaphore not being released when terminated by signal. + - Processes Pool: It's now possible to debug pool processes using GDB. + - celery report now censors possibly secret settings, like passwords + and secret tokens. + You should still check the output before pasting anything + on the internet. + - Connection URLs now ignore multiple '+' tokens. + - Worker/statedb: Now uses pickle protocol 2 (Py2.5+) + - Fixed Python 3 compatibility issues. + - Worker: A warning is now given if a worker is started with the + same node name as an existing worker. + - Worker: Fixed a deadlock that could occur while revoking tasks (Issue #1297). + - Worker: The :sig:`HUP` handler now closes all open file descriptors + before restarting to ensure file descriptors does not leak (Issue #1270). + - Worker: Optimized storing/loading the revoked tasks list (Issue #1289). + After this change the --statedb file will take up more disk space, + but loading from and storing the revoked tasks will be considerably + faster (what before took 5 minutes will now take less than a second). + - Celery will now suggest alternatives if there's a typo in the + broker transport name (e.g. ampq -> amqp). + - Worker: The auto-reloader would cause a crash if a monitored file + was unlinked. + Fix contributed by Agris Ameriks. + - Fixed AsyncResult pickling error. + Fix contributed by Thomas Minor. + - Fixed handling of Unicode in logging output when using log colors + (Issue #427). + - celery.app.utils.ConfigurationView is now a MutableMapping. + Contributed by Aaron Harnly. + - Fixed memory leak in LRU cache implementation. + Fix contributed by Romuald Brunet. + - celery.contrib.rdb: Now works when sockets are in non-blocking mode. + Fix contributed by Theo Spears. + - The inspect reserved remote control command included active (started) tasks + with the reserved tasks (Issue #1030). + - The task_failure signal received a modified traceback object + meant for pickling purposes, this has been fixed so that it now + receives the real traceback instead. + - The @task decorator silently ignored positional arguments, + it now raises the expected TypeError instead (Issue #1125). + - The worker will now properly handle messages with invalid + eta/expires fields (Issue #1232). + - The pool_restart remote control command now reports + an error if the CELERYD_POOL_RESTARTS setting is not set. + - celery.conf.add_defaults can now be used with non-dict objects. + - Fixed compatibility problems in the Proxy class (Issue #1087). + The class attributes __module__, __name__ and __doc__ + are now meaningful string objects. + Thanks to Marius Gedminas. + - MongoDB Backend: The MONGODB_BACKEND_SETTINGS setting + now accepts a option key that lets you forward arbitrary kwargs + to the underlying pymongo.Connection object (Issue #1015). + - Beat: The daily backend cleanup task is no longer enabled + for result backends that support automatic result expiration (Issue #1031). + - Canvas list operations now takes application instance from the first + task in the list, instead of depending on the current_app (Issue #1249). + - Worker: Message decoding error log message now includes traceback + information. + - Worker: The startup banner now includes system platform. + - celery inspect|status|control now gives an error if used + with an SQL based broker transport. +- Aditional changes from 3.0.17: + - Now depends on kombu 2.5.8 + - Now depends on billiard 2.7.3.23 + - RabbitMQ/Redis: thread-less and lock-free rate-limit implementation. + This means that rate limits pose minimal overhead when used with + RabbitMQ/Redis or future transports using the eventloop, + and that the rate-limit implementation is now thread-less and lock-free. + The thread-based transports will still use the old implementation for + now, but the plan is to use the timer also for other + broker transports in Celery 3.1. + - Rate limits now works with eventlet/gevent if using RabbitMQ/Redis as the + broker. + - A regression caused task.retry to ignore additional keyword arguments. + Extra keyword arguments are now used as execution options again. + Fix contributed by Simon Engledew. + - Windows: Fixed problem with the worker trying to pickle the Django settings + module at worker startup. + - generic-init.d: No longer double quotes $CELERYD_CHDIR (Issue #1235). + - generic-init.d: Removes bash-specific syntax. + Fix contributed by Pär Wieslander. + - Cassandra Result Backend: Now handles the + pycassa.AllServersUnavailable error (Issue #1010). + Fix contributed by Jared Biel. + - Result: Now properly forwards apps to GroupResults when deserializing + (Issue #1249). + Fix contributed by Charles-Axel Dein. + - GroupResult.revoke now supports the terminate and signal + keyword arguments. + - Worker: Multiprocessing pool workers now import task modules/configuration + before setting up the logging system so that logging signals can be + connected before they're dispatched. + - chord: The AsyncResult instance returned now has its parent + attribute set to the header GroupResult. + This is consistent with how chain works. + ------------------------------------------------------------------- Fri Mar 8 21:35:29 UTC 2013 - alexandre@exatati.com.br diff --git a/python-celery.spec b/python-celery.spec index 0e49bbb..14ecee8 100644 --- a/python-celery.spec +++ b/python-celery.spec @@ -17,7 +17,7 @@ Name: python-celery -Version: 3.0.16 +Version: 3.0.18 Release: 0 Url: http://celeryproject.org Summary: Distributed Task Queue @@ -33,7 +33,7 @@ BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: python-eventlet BuildRequires: python-gevent -BuildRequires: python-kombu >= 2.5.7 +BuildRequires: python-kombu >= 2.5.10 BuildRequires: python-mock BuildRequires: python-nose-cover3 BuildRequires: python-pyOpenSSL @@ -48,7 +48,7 @@ Requires: python-importlib Requires: python-ordereddict %endif Requires: python-anyjson -Requires: python-billiard >= 2.7.3.22 +Requires: python-billiard >= 2.7.3.27 Requires: python-dateutil Recommends: python-curses Recommends: python-pyOpenSSL