NOTICE: This package has been removed from pkgsrc

./wip/celery, Asynchronous task/job queue based on distributed message passing

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 3.1.10, Package name: py27-celery-3.1.10, Maintainer: pkgsrc-users

Celery is an asynchronous task queue/job queue based on distributed message
passing. It is focused on real-time operation, but supports scheduling as well.

The execution units, called tasks, are executed concurrently on a single or more
worker servers using multiprocessing, Eventlet, or gevent. Tasks can execute
asynchronously (in the background) or synchronously (wait until ready).


Required to run:
[devel/py-setuptools] [time/py-pytz] [lang/python27] [parallel/py-billiard] [net/py-kombu] [textproc/py-anyjson]

Master sites:

SHA1: 9dab8852d755f72aa37837bcb27da605f9db3cd5
RMD160: 51e0fb61968c7477dd11866b0680a55f39e175cb
Filesize: 1257.439 KB

Version history: (Expand)


CVS history: (Expand)


   2014-04-22 11:17:39 by Thomas Klausner | Files touched by this commit (28) | Package removed
Log message:
Remove zombies.
All of these were cvs rm'd a few days ago but appeared again.
   2014-04-19 20:05:16 by othyro | Files touched by this commit (4) | Package removed
Log message:
Removing celery. Was imported to HEAD/net as py-celery.
   2014-04-07 06:10:03 by othyro | Files touched by this commit (1)
Log message:
Fix py-kombu dependency version.
   2014-04-07 06:07:45 by othyro | Files touched by this commit (2)
Log message:
Updated to latest release, 3.1.10. From Changelog:

- **Redis:** Important note about events (Issue #1882).

    There is a new transport option for Redis that enables monitors
    to filter out unwanted events.  Enabling this option in the workers
    will increase performance considerably:

    .. code-block:: python

        BROKER_TRANSPORT_OPTIONS = {'fanout_patterns': True}

    Enabling this option means that your workers will not be able to see
    workers with the option disabled (or is running an older version of
    Celery), so if you do enable it then make sure you do so on all
    nodes.

- **Results**: The :class:`@AsyncResult` object now keeps a local cache
  of the final state of the task.

    This means that the global result cache can finally be disabled,
    and you can do so by setting :setting:`CELERY_MAX_CACHED_RESULTS` to
    :const:`-1`.  The lifetime of the cache will then be bound to the
    lifetime of the result object, which will be the default behavior
    in Celery 3.2.

- **Events**: The "Substantial drift" warning message is now logged once
  per node name only (Issue #1802).
- **Worker**: Ability to use one log file per child process when using the
  prefork pool.

    This can be enabled by using the new ``%i`` and ``%I`` format specifiers
    for the log file name.  See :ref:`worker-files-process-index`.

- **Redis**: New experimental chord join implementation.

    This is an optimization for chords when using the Redis result backend,
    where the join operation is now considerably faster and using less
    resources than the previous strategy.

    The new option can be set in the result backend URL:

        CELERY_RESULT_BACKEND = 'redis://localhost?new_join=1'

    This must be enabled manually as it's incompatible
    with workers and clients not using it, so be sure to enable
    the option in all clients and workers if you decide to use it.

- **Multi**: With ``-opt:index`` (e.g. :option:`-c:1`) the index now always refers
  to the position of a node in the argument list.

    This means that referring to a number will work when specifying a list
    of node names and not just for a number range:

    .. code-block:: bash

        celery multi start A B C D -c:1 4 -c:2-4 8

    In this example ``1`` refers to node A (as it's the first node in the
    list).
- **Signals**: The sender argument to ``Signal.connect`` can now be a proxy
  object, which means that it can be used with the task decorator
  (Issue #1873).
- **Task**: A regression caused the ``queue`` argument to ``Task.retry`` to be
  ignored (Issue #1892).
- **App**: Fixed error message for :meth:`~@Celery.config_from_envvar`.
- **Canvas**: Chords can now contain a group of other chords (Issue #1921).
- **Canvas**: Chords can now be combined when using the amqp result backend
  (a chord where the callback is also a chord).
- **Canvas**: Calling ``result.get()`` for a chain task will now complete
  even if one of the tasks in the chain is ``ignore_result=True``
  (Issue #1905).
- **Canvas**: Worker now also logs chord errors.
- **Canvas**: A chord task raising an exception will now result in
  any errbacks (``link_error``) to the chord callback to also be called.
- **Results**: Reliability improvements to the SQLAlchemy database backend
  (Issue #1786).
    Previously the connection from the ``MainProcess`` was improperly
    inherited by child processes.
- **Task**: Task callbacks and errbacks are now called using the group
  primitive.
- **Task**: ``Task.apply`` now properly sets ``request.headers``
  (Issue #1874).
- **Worker**: Fixed ``UnicodeEncodeError`` occuring when worker is started
  by `supervisord`.
- **Beat**: No longer attempts to upgrade a newly created database file
  (Issue #1923).
- **Beat**: New setting :setting:``CELERYBEAT_SYNC_EVERY`` can be be used
  to control file sync by specifying the number of tasks to send between
  each sync.
- **Commands**: :program:`celery inspect memdump` no longer crashes
  if the :mod:`psutil` module is not installed (Issue #1914).
- **Worker**: Remote control commands now always accepts json serialized
  messages (Issue #1870).
- **Worker**: Gossip will now drop any task related events it receives
  by mistake (Issue #1882).
   2014-02-18 04:21:41 by othyro | Files touched by this commit (1)
Log message:
CATEGORIES+=python
   2014-02-18 04:19:47 by othyro | Files touched by this commit (3) | Package updated
Log message:
Prefix PKGNAME with PYPKGPREFX and move binaries in post-install to support
multiple python versions. Update DEPENDS versions for py-kombu and
py-billiard. From Changelog:

3.1.9
=====
- **Prefork pool**: Better handling of exiting child processes.
- **Prefork pool**: Now makes sure all file descriptors are removed
  from the hub when a process is cleaned up.
- **New Sphinx extension**: for autodoc documentation of tasks:
  :mod:`celery.contrib.spinx` (Issue #1833).
- **Django**: Now works with Django 1.7a1.
- **Task**: Task.backend is now a property that forwards to ``app.backend``
  if no custom backend has been specified for the task (Issue #1821).
- **Generic init scripts**: Fixed bug in stop command.
- **Generic init scripts**: Fixed compatibility with GNU :manpage:`stat`.
- **Generic init scripts**: Fixed compatibility with the minimal
  :program:`dash` shell (Issue #1815).
- **Commands**: The :program:`celery amqp basic.publish` command was not
  working properly.
- **Commands**: Did no longer emit an error message if the pidfile exists
  and the process is still alive (Issue #1855).
- **Commands**: Better error message for missing arguments to preload
  options (Issue #1860).
- **Commands**: :program:`celery -h` did not work because of a bug in the
  argument parser (Issue #1849).
- **Worker**: Improved error message for message decoding errors.
- **Time**: Now properly parses the `Z` timezone specifier in ISO 8601 date
  strings.
- **Worker**: Now uses the *negotiated* heartbeat value to calculate
  how often to run the heartbeat checks.
- **Beat**: Fixed problem with beat hanging after the first schedule
  iteration (Issue #1822).
- **Signals**: The header argument to :signal:`before_task_publish` is now
  always a dictionary instance so that signal handlers can add headers.
- **Worker**: A list of message headers is now included in message related
  errors.

3.1.8
=====
- **Worker**: The event loop was not properly reinitialized at consumer restart
  which would force the worker to continue with a closed ``epoll`` instance on
  Linux, resulting in a crash.
- **Events:** Fixed issue with both heartbeats and task events that could
  result in the data not being kept in sorted order.
    As a result this would force the worker to log "heartbeat missed"
    events even though the remote node was sending heartbeats in a timely manner.
- **Results:** The pickle serializer no longer converts group results to tuples,
  and will keep the original type (*Issue #1750*).
- **Results:** ``ResultSet.iterate`` is now pending deprecation.
    The method will be deprecated in version 3.2 and removed in version 3.3.
    Use ``result.get(callback=)`` (or ``result.iter_native()`` where available)
    instead.
- **Worker**\|eventlet/gevent: A regression caused ``Ctrl+C`` to be ineffective
  for shutdown.
- **Redis result backend:** Now using a pipeline to store state changes
  for improved performance.
- **Redis result backend:** Will now retry storing the result if disconnected.
- **Worker**\|gossip: Fixed attribute error occurring when another node leaves.
- **Generic init scripts:** Now runs a check at startup to verify
  that any configuration scripts are owned by root and that they
  are not world/group writeable.
    The init script configuration is a shell script executed by root,
    so this is a preventive measure to ensure that users do not
    leave this file vulnerable to changes by unprivileged users.
    .. note::
        Note that upgrading celery will not update the init scripts,
        instead you need to manually copy the improved versions from the
        source distribution:
        https://github.com/celery/celery/tree/3.1/extra/generic-init.d
- **Commands**: The :program:`celery purge` command now warns that the operation
  will delete all tasks and prompts the user for confirmation.
    A new :option:`-f` was added that can be used to disable
    interactive mode.
- **Task**: ``.retry()`` did not raise the value provided in the ``exc``
  argument when called outside of an error context (*Issue #1755*).
- **Commands:** The :program:`celery multi` command did not forward command
  line configuration to the target workers.
    The change means that multi will forward the special ``--`` argument and
    configuration content at the end of the arguments line to the specified
    workers.
    Example using command-line configuration to set a broker heartbeat
    from :program:`celery multi`:
    .. code-block:: bash
        $ celery multi start 1 -c3 -- broker.heartbeat=30
- **Canvas:** ``chain.apply_async()`` now properly forwards execution options.
- **Redis result backend:** Now takes ``connection_pool`` argument that can be
  used to change the connection pool class/constructor.
- **Worker:** Now truncates very long arguments and keyword arguments logged by
  the pool at debug severity.
- **Worker:** The worker now closes all open files on :sig:`SIGHUP` (regression)
  (*Issue #1768*).
- **Worker:** Will no longer accept remote control commands while the
  worker startup phase is incomplete (*Issue #1741*).
- **Commands:** The output of the event dump utility
  (:program:`celery events -d`) can now be piped into other commands.
- **Documentation:** The RabbitMQ installation instructions for OS X was
  updated to use modern homebrew practices.
- **Commands:** The :program:`celery inspect conf` utility now works.
- **Commands:** The :option:`-no-color` argument was not respected by
  all commands (*Issue #1799*).
- **App:** Fixed rare bug with ``autodiscover_tasks()`` (*Issue #1797*).
- **Distribution:** The sphinx docs will now always add the parent directory
  to path so that the current celery source code is used as a basis for
  API documentation (*Issue #1782*).
- **Documentation:** Supervisord examples contained an extraneous '-' in a
  `--logfile` argument example.
   2014-01-01 03:24:44 by othyro | Files touched by this commit (1)
Log message:
Needs py-pytz.
   2013-12-31 15:26:46 by othyro | Files touched by this commit (1)
Log message:
Commit contains dependency fixes.