10102.1.0
1111=====
1212:release-date: 2010-10-08 12:00 PM CEST
13- :status: FREEZE
14- :branch: master
15- :roadmap: http://wiki.github.com/ask/celery/roadmap
1613
1714.. _v210-important:
1815
@@ -32,12 +29,36 @@ Important Notes
3229.. _`semver`: http://semver.org
3330.. _`Wiki: Release Cycle`: http://wiki.github.com/ask/celery/release-cycle.
3431
35- * Now depends on Carrot 0.10.6 .
32+ * Now depends on Carrot 0.10.7 .
3633
3734* No longer depends on SQLAlchemy, this needs to be installed separately
3835 if the database backend is used (does not apply to users of
3936 `django-celery`_).
4037
38+
39+ * If you get an error after upgrading saying:
40+ ``AttributeError: 'module' object has no attribute 'system'``,
41+
42+ Then this is because the ``celery.platform`` module has been
43+ renamed to ``celery.platforms`` to not collide with the built-in
44+ :mod:`platform` module.
45+
46+ You have to remove the old :file:`platform.py` (and maybe
47+ :file:`platform.pyc`) file from your previous Celery installation.
48+
49+ To do this use :program:`python` to find the location
50+ of this module::
51+
52+ $ python
53+ >>> import celery.platform
54+ >>> celery.platform
55+ <module 'celery.platform' from '/opt/devel/celery/celery/platform.pyc'>
56+
57+ Here the compiled module is in :file:`/opt/devel/celery/celery/",
58+ to remove the offending files do::
59+
60+ $ rm -f /opt/devel/celery/celery/platform.py*
61+
4162.. _v210-news:
4263
4364News
@@ -123,10 +144,6 @@ News
123144
124145 :ref:`monitoring-django-admin` and :ref:`monitoring-snapshots`.
125146
126-
127- * celeryd: Now emits a warning if there is already a worker node using the same
128- name running on the current virtual host.
129-
130147* :func:`celery.task.control.broadcast`: Added callback argument, this can be
131148 used to process replies immediately as they arrive.
132149
@@ -213,10 +230,11 @@ News
213230* celeryd: Added command-line option :option:`-I`/:option:`--include`:
214231 Additional (task) modules to be imported
215232
216- * celeryd: now emits a warning if running as root (euid is 0).
233+ * celeryd: now emits a warning if running as the root user (euid is 0).
217234
218235* Fixed timing issue when declaring the remote control command reply queue
219- which meant replies could be lost.
236+
237+ This issue could result in replies being lost, but have now been fixed.
220238
221239* :func:`celery.messaging.establish_connection`: Ability to override defaults
222240 used using kwarg "defaults".
241259
242260 See issue #182.
243261
262+ * celeryd: Now emits a warning if there is already a worker node using the same
263+ name running on the current virtual host.
264+
244265* AMQP result backend: Sending of results are now retried if the connection
245266 is down.
246267
254275 >>> res = TaskSet(tasks).apply_async()
255276 >>> res[0].get()
256277
257-
258-
259278* Added ``Task.send_error_emails`` + ``Task.error_whitelist``, so these can
260279 be configured per task instead of just globally
261280
@@ -361,6 +380,10 @@ News
361380* :meth:`EventReceiver.capture <celery.events.EventReceiver.capture>`
362381 Now supports a timeout keyword argument.
363382
383+ * Optimization: The mediator thread is now disabled if
384+ :setting:`CELERY_RATE_LIMTS` is enabled, and tasks sent directly to the
385+ pool without going through the ready queue.
386+
364387.. _v210-fixes:
365388
366389Fixes
@@ -376,6 +399,22 @@ Fixes
376399
377400 See issue #187.
378401
402+ * celeryd no longer marks tasks as revoked if :setting:`CELERY_IGNORE_RESULT`
403+ is enabled.
404+
405+ See issue #207.
406+
407+ * AMQP Result backend: Fixed bug with ``result.get()`` if
408+ :setting:`CELERY_TRACK_STARTED` enabled.
409+
410+ ``result.get()`` would stop consuming after receiving the
411+ :state:`STARTED` state.
412+
413+ * Fixed bug where new processes created by the pool supervisor becomes stuck
414+ while reading from the task Queue.
415+
416+ See http://bugs.python.org/issue10037
417+
379418* Compat ``LoggerAdapter`` implementation: Now works for Python 2.4.
380419
381420 Also added support for several new methods:
0 commit comments