forked from pool/python-celery-batches
Accepting request 866878 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/866878 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-celery-batches?expand=0&rev=4
This commit is contained in:
commit
654101c659
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5638a599e0b3675413b03966c2203d9df932dc264898361ab8e846c6a75b40da
|
||||
size 12295
|
3
celery-batches-0.4.tar.gz
Normal file
3
celery-batches-0.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:da30ecedc03074ae8c15f5f5c00a63a57910df2b51f00a5441bac5ac39e3d229
|
||||
size 12162
|
13
celery-fixtures.patch
Normal file
13
celery-fixtures.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: celery-batches-0.4/t/integration/test_batches.py
|
||||
===================================================================
|
||||
--- celery-batches-0.4.orig/t/integration/test_batches.py
|
||||
+++ celery-batches-0.4/t/integration/test_batches.py
|
||||
@@ -7,6 +7,8 @@ from celery import signals
|
||||
from celery.app.task import Task
|
||||
from celery.result import allow_join_result
|
||||
from celery.contrib.testing.tasks import ping
|
||||
+# some fixtures
|
||||
+from celery.contrib.pytest import *
|
||||
|
||||
from .tasks import add, cumadd, Results
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 26 13:07:49 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Update to 0.4
|
||||
* Officially support Celery 5.0. Drop support for Celery < 4.4.
|
||||
* Drop support for Python < 3.6.
|
||||
- Add celery-fixtures.patch to fix the testsuite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 30 13:47:17 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-celery-batches
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2018 Matthias Fehring <buschmann23@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -20,21 +20,22 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define _pkgname celery-batches
|
||||
Name: python-%{_pkgname}
|
||||
Version: 0.3
|
||||
Version: 0.4
|
||||
Release: 0
|
||||
Summary: Django module to process multiple Celery task requests together
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/percipient/celery-batches
|
||||
Source: https://github.com/percipient/%{_pkgname}/archive/v%{version}.tar.gz#/%{_pkgname}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module celery >= 4.0}
|
||||
Patch0: celery-fixtures.patch
|
||||
BuildRequires: %{python_module celery >= 4.4}
|
||||
BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-celery >= 4.0
|
||||
Requires: python-celery >= 4.4
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@ -47,6 +48,7 @@ with any other form application.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_pkgname}-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Loading…
Reference in New Issue
Block a user