forked from pool/python-celery
- Update to 4.2.1:
* Fix to build with newest kombu * Many bugfixes around - Add patch to skip test that should not be run: * celery-no-redis.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=105
This commit is contained in:
committed by
Git OBS Bridge
parent
6d22ce6622
commit
b5efc56345
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:77ff3730198d6a17b3c1f05579ebe570b579efb35f6d7e13dba3b1368d068b35
|
||||
size 1331689
|
||||
3
celery-4.2.1.tar.gz
Normal file
3
celery-4.2.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:77dab4677e24dc654d42dfbdfed65fa760455b6bb563a0877ecc35f4cfcfc678
|
||||
size 1364075
|
||||
26
celery-no-redis.patch
Normal file
26
celery-no-redis.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
From b2668607c909c61becd151905b4525190c19ff4a Mon Sep 17 00:00:00 2001
|
||||
From: Jon Dufresne <jon.dufresne@gmail.com>
|
||||
Date: Sat, 23 Jun 2018 16:08:47 -0700
|
||||
Subject: [PATCH] Require the redis module for test
|
||||
test_timeouts_in_url_coerced (#4847)
|
||||
|
||||
The test requires the redis module to be installed. It is referenced in
|
||||
the function RedisBackend._params_from_url().
|
||||
|
||||
Fixes AppVeyor build failures.
|
||||
---
|
||||
t/unit/backends/test_redis.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/t/unit/backends/test_redis.py b/t/unit/backends/test_redis.py
|
||||
index ee2ecf7959..166aa0dc34 100644
|
||||
--- a/t/unit/backends/test_redis.py
|
||||
+++ b/t/unit/backends/test_redis.py
|
||||
@@ -234,6 +234,7 @@ def test_url(self):
|
||||
assert x.connparams['socket_timeout'] == 30.0
|
||||
assert x.connparams['socket_connect_timeout'] == 100.0
|
||||
|
||||
+ @skip.unless_module('redis')
|
||||
def test_timeouts_in_url_coerced(self):
|
||||
x = self.Backend(
|
||||
('redis://:bosco@vandelay.com:123//1?'
|
||||
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 16 11:04:24 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Update to 4.2.1:
|
||||
* Fix to build with newest kombu
|
||||
* Many bugfixes around
|
||||
- Add patch to skip test that should not be run:
|
||||
* celery-no-redis.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 2 08:47:12 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-celery
|
||||
Version: 4.1.0
|
||||
Version: 4.2.1
|
||||
Release: 0
|
||||
Summary: Distributed Task Queue module for Python
|
||||
License: BSD-3-Clause
|
||||
@@ -26,6 +26,7 @@ Group: Development/Languages/Python
|
||||
URL: http://celeryproject.org
|
||||
Source: https://files.pythonhosted.org/packages/source/c/celery/celery-%{version}.tar.gz
|
||||
Patch0: disable-pytest-log-capturing.patch
|
||||
Patch1: celery-no-redis.patch
|
||||
BuildRequires: %{python_module SQLAlchemy}
|
||||
BuildRequires: %{python_module billiard >= 3.5.0.2}
|
||||
BuildRequires: %{python_module case >= 1.3.1}
|
||||
@@ -64,7 +65,8 @@ scheduling as well.
|
||||
|
||||
%prep
|
||||
%setup -q -n celery-%{version}
|
||||
%patch0 -p1
|
||||
%autopatch -p1
|
||||
sed -i -e 's:,<3.3::g' requirements/test.txt
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -74,7 +76,7 @@ scheduling as well.
|
||||
%fdupes %{buildroot}/%{_prefix}
|
||||
|
||||
%check
|
||||
python setup.py -q test
|
||||
%python_exec setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
%{python_sitelib}/*
|
||||
|
||||
Reference in New Issue
Block a user