From 7bf7813fee21cad848c40627cbf5c896a93f6d63bd64d2ac8e9fb998fb9deba1 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 30 Jun 2017 12:18:41 +0000 Subject: [PATCH] Accepting request 506559 from home:benoit_monin:branches:devel:languages:python - update to version 4.0.2 - change source url to pythonhosted.org - update the BuildRequires for test - remove specfile reference to openSUSE 11.1 / SLE11 - update kombu and billiard required versions - remove anyjson Requires, not needed anymore - call fdupes to fix duplicate files OBS-URL: https://build.opensuse.org/request/show/506559 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=93 --- celery-3.1.19.tar.gz | 3 -- celery-4.0.2.tar.gz | 3 ++ python-celery.changes | 86 +++++++++++++++++++++++++++++++++++++++++++ python-celery.spec | 35 ++++++------------ 4 files changed, 100 insertions(+), 27 deletions(-) delete mode 100644 celery-3.1.19.tar.gz create mode 100644 celery-4.0.2.tar.gz diff --git a/celery-3.1.19.tar.gz b/celery-3.1.19.tar.gz deleted file mode 100644 index 72d3e24..0000000 --- a/celery-3.1.19.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bd6a21290c822ecf78947a7dbc8b2270d88a5fa08a7a2bfcd908bb3d5ed66b71 -size 1302241 diff --git a/celery-4.0.2.tar.gz b/celery-4.0.2.tar.gz new file mode 100644 index 0000000..30b1547 --- /dev/null +++ b/celery-4.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3d5a6c56a73ff8f2ddd4d06dc37f4c2afe4bb4da7928b884d0725ea865ef54d +size 1337804 diff --git a/python-celery.changes b/python-celery.changes index 46c21ab..a671f72 100644 --- a/python-celery.changes +++ b/python-celery.changes @@ -1,3 +1,89 @@ +------------------------------------------------------------------- +Tue Jun 27 19:08:20 UTC 2017 - benoit.monin@gmx.fr + +- update to version 4.0.2: + * Requirements: Now depends on Kombu 4.0.2. + * Tasks: Fixed problem with JSON serialization of group (``keys + must be string`` error, Issue #3688). + * Worker: Fixed JSON serialization issue when using inspect + active and friends (Issue #3667). + * App: Fixed saferef errors when using signals (Issue #3670). + * Prefork: Fixed bug with pack requiring bytes argument on Python + 2.7.5 and earlier (Issue #3674). + * Tasks: Saferepr did not handle unicode in bytestrings on Python + 2 (Issue #3676). + * Testing: Added new celery_worker_paremeters fixture. + * Tasks: Added new app argument to GroupResult.restore + (Issue #3669). + * Tasks: Fixed type checking crash when task takes *args on + Python 3 (Issue #3678). + * Documentation and examples improvements +- additional changes from version 4.0.1: + * [Security: CELERYSA-0003] Fix Insecure default configuration + * Tasks: Added new method to register class-based tasks + (Issue #3615). + * Tasks: Argument checking now supports keyword-only arguments on + Python3 (Issue #3658). + * Tasks: The task-sent event was not being sent even if + configured to do so (Issue #3646). + * Worker: Fixed AMQP heartbeat support for eventlet/gevent pools + (Issue #3649). + * App: app.conf.humanize() would not work if configuration not + finalized (Issue #3652). + * Utils: saferepr attempted to show iterables as lists and + mappings as dicts. + * Utils: saferepr did not handle unicode-errors when attempting + to format bytes on Python 3 (Issue #3610). + * Utils: saferepr should now properly represent byte strings with + non-ascii characters (Issue #3600). + * Results: Fixed bug in elasticsearch where _index method missed + the body argument (Issue #3606). + * Canvas: Fixed ValueError in chord with single task header + (Issue #3608). + * Task: Ensure class-based task has name prior to registration + (Issue #3616). + * Beat: Fixed problem with strings in shelve (Issue #3644). + * Worker: Fixed KeyError in inspect stats when -O argument set to + something other than fast or fair (Issue #3621). + * Task: Retried tasks were no longer sent to the original queue + (Issue #3622). + * Worker: Python 3: Fixed None/int type comparison in + apps/worker.py (Issue #3631). + * Results: Redis has a new redis_socket_connect_timeout setting. + * Results: Redis result backend passed the socket_connect_timeout + argument to UNIX socket based connections by mistake, causing a + crash. + * Worker: Fixed missing logo in worker splash screen when running + on Python 3.x (Issue #3627). + * Deps: Fixed celery[redis] bundle installation (Issue #3643). + * Deps: Bundle celery[sqs] now also requires pycurl + (Issue #3619). + * Worker: Hard time limits were no longer being respected + (Issue #3618). + * Worker: Soft time limit log showed Trues instead of the number + of seconds. + * App: registry_cls argument no longer had any effect + (Issue #3613). + * Worker: Event producer now uses connection_for_Write + (Issue #3525). + * Results: Redis/memcache backends now uses result_expires to + expire chord counter (Issue #3573). + * Django: Fixed command for upgrading settings with Django + (Issue #3563). + * Testing: Added a celery_parameters test fixture to be able to + use customized Celery init parameters. (#3626) + * Documentation improvements +- additional changes from version 4.0: + see http://docs.celeryproject.org/en/latest/whatsnew-4.0.html +- change source url to pythonhosted.org +- update the BuildRequires for test: + * remove mock, nose and unittest2 + * add case, pytest and netcfg +- remove specfile reference to openSUSE 11.1 / SLE11 +- update kombu and billiard required versions +- remove anyjson Requires, not needed anymore +- call fdupes to fix duplicate files + ------------------------------------------------------------------- Wed Jan 13 17:43:19 UTC 2016 - antoine.belvire@laposte.net diff --git a/python-celery.spec b/python-celery.spec index 75a8b74..44db80f 100644 --- a/python-celery.spec +++ b/python-celery.spec @@ -1,7 +1,7 @@ # # spec file for package python-celery # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,38 +17,31 @@ Name: python-celery -Version: 3.1.19 +Version: 4.0.2 Release: 0 Url: http://celeryproject.org Summary: Distributed Task Queue License: BSD-3-Clause Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/c/celery/celery-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/c/celery/celery-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: fdupes +BuildRequires: netcfg BuildRequires: python-SQLAlchemy -BuildRequires: python-billiard >= 3.3.0.21 +BuildRequires: python-billiard >= 3.5.0.2 +BuildRequires: python-case >= 1.3.1 BuildRequires: python-cl BuildRequires: python-curses BuildRequires: python-dateutil BuildRequires: python-devel BuildRequires: python-eventlet BuildRequires: python-gevent -BuildRequires: python-kombu >= 3.0.29 -BuildRequires: python-mock -BuildRequires: python-nose-cover3 +BuildRequires: python-kombu >= 4.0.2 BuildRequires: python-pyOpenSSL +BuildRequires: python-pytest >= 3.0 BuildRequires: python-pytz BuildRequires: python-setuptools -BuildRequires: python-unittest2 -%if 0%{?suse_version} == 1110 -BuildRequires: python-importlib -BuildRequires: python-ordereddict -BuildRequires: python-unittest2 -Requires: python-importlib -Requires: python-ordereddict -%endif -Requires: python-anyjson -Requires: python-billiard >= 3.3.0.20 +Requires: python-billiard >= 3.5.0.2 Requires: python-dateutil Recommends: python-curses Recommends: python-pyOpenSSL @@ -57,12 +50,7 @@ Suggests: python-gevent Suggests: python-pymongo Suggests: python-python-daemon Suggests: python-pytyrant -%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()")} -%py_requires -%else BuildArch: noarch -%endif %description Celery is an open source asynchronous task queue/job queue based on @@ -77,11 +65,10 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%fdupes %{buildroot}/%{_prefix} -%if 0%{?suse_version} > 1110 %check python setup.py -q test -%endif %files %defattr(-,root,root,-)