15
0
forked from pool/python-celery

- 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
This commit is contained in:
Alexandre Rogoski
2013-04-12 18:08:39 +00:00
committed by Git OBS Bridge
parent a15429bc15
commit 1d9340b693
4 changed files with 118 additions and 6 deletions

View File

@@ -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