diff --git a/celery-4.3.0.tar.gz b/celery-4.3.0.tar.gz deleted file mode 100644 index d4e333f..0000000 --- a/celery-4.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4c4532aa683f170f40bd76f928b70bc06ff171a959e06e71bf35f2f9d6031ef9 -size 1398430 diff --git a/celery-4.4.0.tar.gz b/celery-4.4.0.tar.gz new file mode 100644 index 0000000..f945b11 --- /dev/null +++ b/celery-4.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3363bb5df72d74420986a435449f3c3979285941dff57d5d97ecba352a0e3e2 +size 1415339 diff --git a/pytest5.patch b/pytest5.patch deleted file mode 100644 index 0631d09..0000000 --- a/pytest5.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 6514fed13ef2f992b2846116f9b2d1237aac8298 Mon Sep 17 00:00:00 2001 -From: Omer Katz -Date: Mon, 20 May 2019 13:02:34 +0300 -Subject: [PATCH] Fix pytest deprecation warning. - ---- - t/unit/tasks/test_result.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/t/unit/tasks/test_result.py b/t/unit/tasks/test_result.py -index 0fe173ed2f..fed76c8fed 100644 ---- a/t/unit/tasks/test_result.py -+++ b/t/unit/tasks/test_result.py -@@ -759,7 +759,7 @@ def test_restore_current_app_fallback(self): - ts = self.app.GroupResult(uuid(), subs) - ts.save() - with pytest.raises(RuntimeError, -- message="Test depends on current_app"): -+ match="Test depends on current_app"): - GroupResult.restore(ts.id) - - def test_join_native(self): diff --git a/python-celery.changes b/python-celery.changes index 08d510e..e90d406 100644 --- a/python-celery.changes +++ b/python-celery.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Jan 24 14:16:04 UTC 2020 - Marketa Calabkova + +- update to 4.4.0 + * Python 3.4 drop + * Replace deprecated PyMongo methods usage + * Avoid serializing datetime + * fixed call for null args + * Fix termination of asyncloop + * Python 3.8 + * Fix a race condition when publishing a very large chord header +- Drop unneeded patch pytest5.patch +- Reapplied unpin-pytest.patch + ------------------------------------------------------------------- Tue Nov 19 11:00:58 UTC 2019 - Hans-Peter Jansen diff --git a/python-celery.spec b/python-celery.spec index ff70898..c3609b9 100644 --- a/python-celery.spec +++ b/python-celery.spec @@ -1,7 +1,7 @@ # # spec file for package python-celery # -# Copyright (c) 2019 SUSE LLC. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,23 +26,22 @@ %bcond_with test %endif %bcond_with ringdisabled +%bcond_without python2 Name: python-celery%{psuffix} -Version: 4.3.0 +Version: 4.4.0 Release: 0 Summary: Distributed Task Queue module for Python License: BSD-3-Clause Group: Development/Languages/Python URL: http://celeryproject.org Source: https://files.pythonhosted.org/packages/source/c/celery/celery-%{version}.tar.gz -Patch0: pytest5.patch Patch2: unpin-pytest.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: netcfg BuildRequires: python-rpm-macros -Requires: python-billiard >= 3.6.0 -Requires: python-kombu >= 4.4.0 -Requires: python-python-dateutil +Requires: python-billiard >= 3.6.1 +Requires: python-kombu >= 4.6.7 Requires: python-pytz >= 2016.7 Requires: python-vine >= 1.3.0 Recommends: python-curses @@ -55,26 +54,27 @@ Suggests: python-pytyrant BuildArch: noarch %if %{with test} BuildRequires: %{python_module SQLAlchemy} -BuildRequires: %{python_module billiard >= 3.6.0} -BuildRequires: %{python_module boto3 >= 1.9.125} +BuildRequires: %{python_module billiard >= 3.6.1} +BuildRequires: %{python_module boto3 >= 1.9.178} BuildRequires: %{python_module case >= 1.3.1} BuildRequires: %{python_module curses} BuildRequires: %{python_module eventlet} BuildRequires: %{python_module gevent} -BuildRequires: %{python_module kombu >= 4.4.0} +BuildRequires: %{python_module kombu >= 4.6.7} BuildRequires: %{python_module moto >= 1.3.7} +BuildRequires: %{python_module msgpack} BuildRequires: %{python_module pyOpenSSL} -BuildRequires: %{python_module pytest >= 4.3.1} -BuildRequires: %{python_module python-dateutil} +BuildRequires: %{python_module pymongo} +BuildRequires: %{python_module pytest >= 4.6.0} BuildRequires: %{python_module pytz >= 2016.7} BuildRequires: %{python_module vine >= 1.3.0} +%if %{with python2} +BuildRequires: %{python_module python-dateutil >= 2.1} +%endif %if %{with ringdisabled} ExclusiveArch: do-not-build %endif %endif -%ifpython3 -Requires: python3-dbm -%endif %python_subpackages %description @@ -106,7 +106,7 @@ sed -i -e 's:==:>=:g' requirements/*.txt %files %{python_files} %{python_sitelib}/* %license LICENSE -%doc Changelog README.rst TODO +%doc README.rst TODO %python3_only %{_bindir}/celery* %endif diff --git a/unpin-pytest.patch b/unpin-pytest.patch index 00590d0..f5f749c 100644 --- a/unpin-pytest.patch +++ b/unpin-pytest.patch @@ -1,10 +1,11 @@ -Index: celery-4.3.0/requirements/test.txt +Index: celery-4.4.0/requirements/test.txt =================================================================== ---- celery-4.3.0.orig/requirements/test.txt -+++ celery-4.3.0/requirements/test.txt -@@ -1,4 +1,4 @@ +--- celery-4.4.0.orig/requirements/test.txt ++++ celery-4.4.0/requirements/test.txt +@@ -1,5 +1,5 @@ case>=1.3.1 --pytest>=4.3.1,<4.4.0 -+pytest>=4.3.1 - boto3>=1.4.6 +-pytest>=4.6.0,<5.0.0 ++pytest>=4.6.0 + boto3>=1.9.178 moto==1.3.7 + pre-commit