forked from pool/python-celery
- Update to version 2.5.1:
* Eventlet/Gevent: A small typo caused celeryd to hang when eventlet/gevent
was used, this was because the environment was not monkey patched
early enough.
* Eventlet/Gevent: Another small typo caused the mediator to be started
with eventlet/gevent, which would make celeryd sometimes hang at shutdown.
* Mulitprocessing: Fixed an error occurring if the pool was stopped
before it was properly started.
* Proxy objects now redirects __doc__ and __name__ so help(obj) works.
* Internal timer (timer2) now logs exceptions instead of swallowing them
* celeryctl shell: can now be started with --eventlet or
--gevent options to apply their monkey patches.
- Suggest python-eventlet, python-gevent, python-pymongo, python-pytyrant
- Recommend python-curses, python-pyOpenSSL
- Run testsuite
- Changes file cleanup
- Processes pool: Fixed rare deadlock at shutdown
- Webhook tasks issued the wrong HTTP POST headers
Django and virtualenv together
file directories
* Fixes module import typo in celeryctl
couldn't be written
* Fixed deadlock in worker process handling
* Eventlet: Fixed problem with shutdown
more flexible approach
* CELERY_IMPORTS can now be a scalar value
* Fixed a memory leak when using the thread pool
* Adds EMAIL_USE_TLS to enable secure SMTP connections
where task info would be removed while iterating over it
the CELERY_RESULT_SERIALIZER setting
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=48
This commit is contained in:
committed by
Git OBS Bridge
parent
1c131ff188
commit
5338e0d4d4
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a61f5fa8e9457dc08bd0a1b1a87b8d38c733e0bba4c171463cc254f2799ca803
|
||||
size 857187
|
||||
3
celery-2.5.1.tar.gz
Normal file
3
celery-2.5.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aa9950aec83b38eae74382a690e8d9bfd58ec510823b61a142d563489aa753b3
|
||||
size 942335
|
||||
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 10 17:44:01 UTC 2012 - saschpe@gmx.de
|
||||
|
||||
- Suggest python-eventlet, python-gevent, python-pymongo, python-pytyrant
|
||||
- Recommend python-curses, python-pyOpenSSL
|
||||
- Run testsuite
|
||||
- Changes file cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 1 17:47:07 UTC 2012 - alexandre@exatati.com.br
|
||||
|
||||
@@ -12,7 +20,6 @@ Thu Mar 1 17:47:07 UTC 2012 - alexandre@exatati.com.br
|
||||
* Proxy objects now redirects __doc__ and __name__ so help(obj)
|
||||
works.
|
||||
* Internal timer (timer2) now logs exceptions instead of swallowing them
|
||||
(Issue #626).
|
||||
* celeryctl shell: can now be started with --eventlet or
|
||||
--gevent options to apply their monkey patches.
|
||||
|
||||
@@ -48,25 +55,21 @@ Fri Nov 25 21:56:24 UTC 2011 - alexandre@exatati.com.br
|
||||
- [Security: CELERYSA-0001] Daemons would set effective id’s
|
||||
rather than real id’s when the --uid/--gid arguments to
|
||||
celeryd-multi, celeryd_detach, celerybeat and celeryev were used.
|
||||
|
||||
This means privileges weren’t properly dropped, and that it
|
||||
would be possible to regain supervisor privileges later.
|
||||
|
||||
- Processes pool: Fixed rare deadlock at shutdown (Issue #523).
|
||||
- Webhook tasks issued the wrong HTTP POST headers (Issue #515).
|
||||
- Processes pool: Fixed rare deadlock at shutdown
|
||||
- Webhook tasks issued the wrong HTTP POST headers
|
||||
The Content-Type header has been changed from
|
||||
application/json ⇒ application/x-www-form-urlencoded, and adds
|
||||
a proper Content-Length header.
|
||||
- Daemonization cookbook: Adds a configuration example using
|
||||
Django and virtualenv together (Issue #505).
|
||||
Django and virtualenv together
|
||||
- Generic init scripts now automatically creates log and pid
|
||||
file directories (Issue #545).
|
||||
file directories
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 22 22:25:20 UTC 2011 - alexandre@exatati.com.br
|
||||
|
||||
- Update to 2.4.3:
|
||||
* Fixes module import typo in `celeryctl` (Issue #538).
|
||||
* Fixes module import typo in celeryctl
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 14 12:35:54 UTC 2011 - alexandre@exatati.com.br
|
||||
@@ -82,63 +85,60 @@ Mon Nov 7 23:26:56 UTC 2011 - alexandre@exatati.com.br
|
||||
* celeryctl inspect commands was missing output.
|
||||
* processes pool: Decrease polling interval for less idle CPU usage.
|
||||
* processes pool: MaybeEncodingError was not wrapped in ExceptionInfo
|
||||
(Issue #524).
|
||||
* celeryd: would silence errors occuring after task consumer started.
|
||||
* logging: Fixed a bug where unicode in stdout redirected log messages
|
||||
couldn't be written (Issue #522).
|
||||
couldn't be written
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 4 17:20:46 UTC 2011 - alexandre@exatati.com.br
|
||||
|
||||
- Update to 2.4.0:
|
||||
* Now supports Python 3.
|
||||
* Fixed deadlock in worker process handling (Issue #496).
|
||||
* Fixed deadlock in worker process handling
|
||||
* AMQP Result backend: Now expires results by default.
|
||||
* Eventlet: Fixed problem with shutdown (Issue #457).
|
||||
* Eventlet: Fixed problem with shutdown
|
||||
* Broker transports can be now be specified using URLs
|
||||
* The deprecated celery.loaders.setup_loader() function has been
|
||||
removed.
|
||||
* The CELERY_TASK_ERROR_WHITELIST setting has been replaced by a
|
||||
more flexible approach (Issue #447).
|
||||
more flexible approach
|
||||
* There are additional deprecations.
|
||||
* No longer depends on pyparsing.
|
||||
* Now depends on Kombu 1.4.3.
|
||||
* CELERY_IMPORTS can now be a scalar value (Issue #485).
|
||||
* Fixed a memory leak when using the thread pool (Issue #486).
|
||||
* CELERY_IMPORTS can now be a scalar value
|
||||
* Fixed a memory leak when using the thread pool
|
||||
* The statedb was not saved at exit.
|
||||
* Adds EMAIL_USE_TLS to enable secure SMTP connections (Issue #418).
|
||||
* Adds EMAIL_USE_TLS to enable secure SMTP connections
|
||||
* Now handles missing fields in task messages as documented in the
|
||||
message format documentation.
|
||||
* Fixed race condition in celery.events.state (celerymon/celeryev)
|
||||
where task info would be removed while iterating over it (Issue #501).
|
||||
where task info would be removed while iterating over it
|
||||
* The Cache, Cassandra, MongoDB, Redis and Tyrant backends now respects
|
||||
the CELERY_RESULT_SERIALIZER setting (Issue #435).
|
||||
the CELERY_RESULT_SERIALIZER setting
|
||||
* Logging calls no longer manually formats messages, but delegates that
|
||||
to the logging system, so tools like Sentry can easier work with the
|
||||
messages (Issue #445).
|
||||
messages
|
||||
* celeryd_multi now supports a stop_verify command to wait for
|
||||
processes to shutdown.
|
||||
* Cache backend did not work if the cache key was unicode (Issue #504).
|
||||
* Cache backend did not work if the cache key was unicode
|
||||
* New setting CELERY_RESULT_DB_SHORT_LIVED_SESSIONS added, which if
|
||||
enabled will disable the caching of SQLAlchemy sessions (Issue #449).
|
||||
* All result backends now implements __reduce__ so that they can be
|
||||
pickled (Issue #441).
|
||||
* celeryd-multi did not work on Windows (Issue #472).
|
||||
enabled will disable the caching of SQLAlchemy sessions
|
||||
* All result backends now implements __reduce__ so that they can be pickled
|
||||
* celeryd-multi did not work on Windows
|
||||
* New-style CELERY_REDIS_* settings now takes precedence over the old
|
||||
REDIS_* configuration keys (Issue #508).
|
||||
* Generic celerybeat init script no longer sets bash -e (Issue #510).
|
||||
REDIS_* configuration keys
|
||||
* Generic celerybeat init script no longer sets bash -e
|
||||
* Documented that Chords do not work well with redis-server versions
|
||||
before 2.2.
|
||||
* The CELERYBEAT_MAX_LOOP_INTERVAL setting was not respected.
|
||||
* inspect.registered_tasks renamed to inspect.registered for naming
|
||||
consistency.
|
||||
* Worker logged the string representation of args and kwargs without
|
||||
safe guards (Issue #480).
|
||||
safe guards
|
||||
* RHEL init script: Changed celeryd startup priority.
|
||||
* KeyValueStoreBackend.get_many did not respect the timeout argument
|
||||
(Issue #512).
|
||||
* celerybeat/celeryev’s –workdir option did not chdir before after
|
||||
configuration was attempted (Issue #506).
|
||||
configuration was attempted
|
||||
* After deprecating 2.4 support we can now name modules correctly,
|
||||
since we can take use of absolute imports.
|
||||
* AUTHORS file is now sorted alphabetically.
|
||||
@@ -155,11 +155,9 @@ Mon Sep 19 18:42:37 UTC 2011 - alexandre@exatati.com.br
|
||||
- Update to 2.3.3:
|
||||
* Monkey patching sys.stdout could result in the worker
|
||||
crashing if the replacing object did not define isatty
|
||||
(Issue #477).
|
||||
* CELERYD option in /etc/default/celeryd should not
|
||||
be used with generic init scripts.
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 8 01:42:58 UTC 2011 - alexandre@exatati.com.br
|
||||
|
||||
@@ -167,18 +165,16 @@ Thu Sep 8 01:42:58 UTC 2011 - alexandre@exatati.com.br
|
||||
* Improved Contributing guide.
|
||||
* Now depends on Kombu 1.3.1.
|
||||
* Task.request now contains the current worker host name
|
||||
(Issue #460).
|
||||
* It is now easier for app subclasses to extend how they are
|
||||
pickled.
|
||||
* purge/discard_all was not working correctly (Issue #455).
|
||||
* purge/discard_all was not working correctly
|
||||
* he coloring of log messages didn’t handle non-ASCII data well
|
||||
(Issue #427).
|
||||
* [Windows] the multiprocessing pool tried to import os.kill even
|
||||
though this is not available there (Issue #450).
|
||||
though this is not available there
|
||||
* Fixes case where the worker could become unresponsive because of
|
||||
tasks exceeding the hard time limit.
|
||||
* The task-sent event was missing from the event reference.
|
||||
* ResultSet.iterate now returns results as they finish (Issue #459).
|
||||
* ResultSet.iterate now returns results as they finish
|
||||
* Retries will no longer be performed when tasks are called directly
|
||||
(using __call__).
|
||||
* Eventlet no longer crashes if autoscale is enabled.
|
||||
@@ -190,8 +186,7 @@ Mon Aug 8 01:02:52 UTC 2011 - alexandre@exatati.com.br
|
||||
- Update to 2.3.1:
|
||||
* The CELERY_AMQP_TASK_RESULT_EXPIRES setting did not work,
|
||||
resulting in an AMQP related error about not being able to
|
||||
serialize floats while trying to publish task states (Issue
|
||||
#446).
|
||||
serialize floats while trying to publish task states
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 5 18:03:01 UTC 2011 - alexandre@exatati.com.br
|
||||
@@ -211,11 +206,11 @@ Tue Jul 5 12:51:47 UTC 2011 - appleonkel@opensuse.org
|
||||
Mon Jun 13 15:35:25 UTC 2011 - alexandre@exatati.com.br
|
||||
|
||||
- Update to 2.2.7:
|
||||
* New signals: `after_setup_logger` and `after_setup_task_logger`
|
||||
* New signals: after_setup_logger and after_setup_task_logger
|
||||
These signals can be used to augment logging configuration
|
||||
after Celery has set up logging.
|
||||
* Redis result backend now works with Redis 2.4.4.
|
||||
* celeryd_multi: The :option:`--gid` option now works correctly.
|
||||
* celeryd_multi: The :option:--gid option now works correctly.
|
||||
* celeryd: Retry wrongfully used the repr of the traceback instead
|
||||
of the string representation.
|
||||
* App.config_from_object: Now loads module, not attribute of module.
|
||||
@@ -255,10 +250,10 @@ Sun Feb 20 18:43:50 UTC 2011 - alexandre@exatati.com.br
|
||||
taskset_id keyword argument (Issue #331).
|
||||
* The current taskset id (if any) is now available in the task context as
|
||||
request.context (Issue #329).
|
||||
* SQLAlchemy result backend: `date_done` was no longer part of the results as it had
|
||||
* SQLAlchemy result backend: date_done was no longer part of the results as it had
|
||||
been accidentally removed. It is now available again (Issue #325).
|
||||
* SQLAlchemy result backend: Added unique constraint on `Task.task_id` and
|
||||
`TaskSet.taskset_id`. Tables needs to be recreated for this to take effect.
|
||||
* SQLAlchemy result backend: Added unique constraint on Task.task_id and
|
||||
TaskSet.taskset_id. Tables needs to be recreated for this to take effect.
|
||||
* Fixed exception raised when iterating on the result of TaskSet.apply().
|
||||
* Tasks Userguide: Added section on choosing a result backend.
|
||||
|
||||
@@ -304,16 +299,16 @@ Thu Feb 3 22:37:08 UTC 2011 - alexandre@exatati.com.br
|
||||
|
||||
- Update to 2.2.2:
|
||||
* Celerybeat could not read the schedule properly, so entries in
|
||||
:setting:`CELERYBEAT_SCHEDULE` would not be scheduled.
|
||||
* Task error log message now includes `exc_info` again.
|
||||
* The `eta` argument can now be used with `task.retry`.
|
||||
:setting:CELERYBEAT_SCHEDULE would not be scheduled.
|
||||
* Task error log message now includes exc_info again.
|
||||
* The eta argument can now be used with task.retry.
|
||||
Previously it was overwritten by the countdown argument.
|
||||
* celeryd-multi/celeryd_detach: Now logs errors occuring when
|
||||
executing the `celeryd` command.
|
||||
* daemonizing cookbook: Fixed typo ``--time-limit 300`` ->
|
||||
``--time-limit=300``
|
||||
executing the celeryd command.
|
||||
* daemonizing cookbook: Fixed typo --time-limit 300 ->
|
||||
--time-limit=300
|
||||
* Colors in logging broke non-string objects in log messages.
|
||||
* ``setup_task_logger`` no longer makes assumptions about
|
||||
* setup_task_logger no longer makes assumptions about
|
||||
magic task kwargs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
@@ -321,10 +316,10 @@ Wed Feb 2 17:33:41 UTC 2011 - alexandre@exatati.com.br
|
||||
|
||||
- Update to 2.2.1;
|
||||
* Eventlet pool was leaking memory (Issue #308).
|
||||
* Deprecated function ``celery.execute.delay_task`` was
|
||||
* Deprecated function celery.execute.delay_task was
|
||||
accidentally removed,
|
||||
now available again.
|
||||
* ``BasePool.on_terminate`` stub did not exist
|
||||
* BasePool.on_terminate stub did not exist
|
||||
* celeryd detach: Adds readable error messages if user/group
|
||||
name does not exist.
|
||||
* Smarter handling of unicode decod errors when logging errors.
|
||||
@@ -343,27 +338,27 @@ Sat Dec 4 09:22:02 UTC 2010 - alexandre@exatati.com.br
|
||||
|
||||
- Update to 2.1.4:
|
||||
* Celery programs now hijacks the root logger by default (Issue #250).
|
||||
* Execution options to `apply_async` now takes precedence over options
|
||||
* Execution options to apply_async now takes precedence over options
|
||||
returned by active routers. This was a regression introduced recently
|
||||
(Issue #244).
|
||||
* `celeryev` curses monitor: Long arguments are now truncated so curses
|
||||
* celeryev curses monitor: Long arguments are now truncated so curses
|
||||
doesn't crash with out of bounds errors. (Issue #235).
|
||||
* `celeryd`: Channel errors occurring while handling control commands no
|
||||
* celeryd: Channel errors occurring while handling control commands no
|
||||
longer crash the worker but are instead logged with severity error.
|
||||
* SQLAlchemy database backend: Fixed a race condition occurring when
|
||||
the client wrote the pending state. Just like the Django database backend,
|
||||
it does no longer save the pending state (Issue #261 + Issue #262).
|
||||
* `task.apply`: `propagate=True` now raises exceptions from the original
|
||||
* task.apply: propagate=True now raises exceptions from the original
|
||||
frame, keeping the same stacktrace (Issue #256).
|
||||
* Error email body now uses `repr(exception)` instead of `str(exception)`,
|
||||
* Error email body now uses repr(exception) instead of str(exception),
|
||||
as the latter could result in Unicode decode errors (Issue #245).
|
||||
* Error e-mail timeout value is now configurable by using the
|
||||
:setting:`EMAIL_TIMEOUT` setting.
|
||||
* `celeryev`: Now works on Windows (but the curses monitor won't work without
|
||||
:setting:EMAIL_TIMEOUT setting.
|
||||
* celeryev: Now works on Windows (but the curses monitor won't work without
|
||||
having curses).
|
||||
* Unit test output no longer emits non-standard characters.
|
||||
* `celeryd`: The broadcast consumer is now closed if the connection is reset.
|
||||
* `celeryd`: Now properly handles errors occurring while trying to acknowledge
|
||||
* celeryd: The broadcast consumer is now closed if the connection is reset.
|
||||
* celeryd: Now properly handles errors occurring while trying to acknowledge
|
||||
the message.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
||||
@@ -15,32 +15,43 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
Name: python-celery
|
||||
Version: 2.5.1
|
||||
Release: 0
|
||||
Url: http://celeryproject.org
|
||||
Summary: Distributed Task Queue
|
||||
License: BSD-2-Clause
|
||||
Summary: Distributed Task Queue
|
||||
Url: http://celeryproject.org
|
||||
Group: Development/Languages/Python
|
||||
Source: celery-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source: http://pypi.python.org/packages/source/c/celery/celery-%{version}.tar.gz
|
||||
BuildRequires: python-SQLAlchemy
|
||||
BuildRequires: python-cl
|
||||
BuildRequires: python-curses
|
||||
BuildRequires: python-dateutil
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
BuildRequires: python-eventlet
|
||||
BuildRequires: python-gevent
|
||||
BuildRequires: python-kombu >= 2.1.1
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python-nose-cover3
|
||||
BuildRequires: python-pyOpenSSL
|
||||
BuildRequires: python-pymongo
|
||||
Requires: python-anyjson
|
||||
Requires: python-python-daemon
|
||||
Requires: python-dateutil
|
||||
Requires: python-django-unittest-depth
|
||||
Requires: python-kombu >= 1.4.3
|
||||
Requires: python-pytyrant
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1110
|
||||
Requires: python-kombu >= 2.1.1
|
||||
Recommends: python-curses
|
||||
Recommends: python-pyOpenSSL
|
||||
Suggests: python-eventlet
|
||||
Suggests: python-gevent
|
||||
Suggests: python-pymongo
|
||||
Suggests: python-pytyrant
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description
|
||||
Celery is an open source asynchronous task queue/job queue based on
|
||||
@@ -56,11 +67,14 @@ python setup.py build
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitelib}/*
|
||||
%doc Changelog README TODO
|
||||
%{_bindir}/camqadm
|
||||
%{_bindir}/celery*
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user