1
0

7 Commits

Author SHA256 Message Date
Markéta Calábková
da370b8add fix python-sitelib-glob-in-files 2024-09-24 14:37:59 +02:00
Markéta Calábková
2ab223c95e update 2024-09-24 14:18:17 +02:00
cfc76dfff7 Accepting request 1104141 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1104141
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-celery-batches?expand=0&rev=6
2023-08-17 17:43:00 +00:00
6a96c64ce9 Accepting request 1075499 from devel:languages:python
- update to 0.7:
  * Support passing multiple or keyword arguments by disabling
    Celery's ``typing``  feature for ``Batches`` tasks.
  * Support |using a custom Request class|_ for ``Batches``
    tasks.
  * Support calling tasks with an ``eta`` or ``countdown``
    specified.
  * Handle "hybrid" messages that have moved between Celery
    versions.
  * Fix task ETA issues when timezone is defined in
    configuration.
  * Simplify tests.
  * Improve PyPI metadata.
  * Update README badges to include PyPI and GitHub Actions
  * Update copyright information.
  * Document use-cases and include more examples.
  * Run the unit tests against RabbitMQ & Redis brokers/backends.
  * Run `black <https://black.readthedocs.io/>`_, `isort
    <https://pycqa.github.io/isort/>`_,
  * `flake8 <https://flake8.pycqa.org>`_, `pyupgrade
    <https://github.com/asottile/pyupgrade>`_,
  * Fix a bug when passing a ``request`` to ``mark_as_done`` with
    Celery 5.1.0.
  * Clean-up and re-organize code.
  * Support Celery 5.2.
  * Drop support for Python 3.6.
  * Support Python 3.10.

OBS-URL: https://build.opensuse.org/request/show/1075499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-celery-batches?expand=0&rev=5
2023-03-30 20:51:29 +00:00
654101c659 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
2021-01-27 17:57:38 +00:00
f00cdddd74 Accepting request 789802 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/789802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-celery-batches?expand=0&rev=3
2020-03-30 21:06:59 +00:00
e71216554d Accepting request 754350 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/754350
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-celery-batches?expand=0&rev=2
2019-12-05 16:34:59 +00:00
5 changed files with 22 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80d044e57d4c9521dcd0cad62e827838788db5a1c3d6b16c5e3a0e20708a8824
size 18446

BIN
celery-batches-0.9.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,8 +1,8 @@
Index: celery-batches-0.7/t/integration/test_batches.py Index: celery-batches-0.9/t/integration/test_batches.py
=================================================================== ===================================================================
--- celery-batches-0.7.orig/t/integration/test_batches.py --- celery-batches-0.9.orig/t/integration/test_batches.py
+++ celery-batches-0.7/t/integration/test_batches.py +++ celery-batches-0.9/t/integration/test_batches.py
@@ -6,11 +6,13 @@ from celery_batches import Batches, Simp @@ -6,6 +6,7 @@ from celery_batches import Batches, Simp
from celery import Celery, signals, states from celery import Celery, signals, states
from celery.app.task import Task from celery.app.task import Task
@@ -10,9 +10,3 @@ Index: celery-batches-0.7/t/integration/test_batches.py
from celery.contrib.testing.tasks import ping from celery.contrib.testing.tasks import ping
from celery.contrib.testing.worker import TestWorkController from celery.contrib.testing.worker import TestWorkController
from celery.result import allow_join_result from celery.result import allow_join_result
from celery.worker.request import Request
+
import pytest
from .tasks import add, cumadd

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Sep 24 12:16:13 UTC 2024 - Markéta Machová <mmachova@suse.com>
- update to 0.9
* Call the task received signal for Batches task.
* Support Celery 5.4.
* Support Python 3.12.
- Refreshed celery-fixtures.patch
- Refreshed sources
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 9 07:34:59 UTC 2023 - Dirk Müller <dmueller@suse.com> Wed Aug 9 07:34:59 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -17,16 +17,15 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define _pkgname celery-batches %define _pkgname celery-batches
Name: python-%{_pkgname} Name: python-%{_pkgname}
Version: 0.8.1 Version: 0.9
Release: 0 Release: 0
Summary: Django module to process multiple Celery task requests together Summary: Django module to process multiple Celery task requests together
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/percipient/celery-batches URL: https://github.com/clokep/celery-batches
Source: https://github.com/percipient/%{_pkgname}/archive/v%{version}.tar.gz#/%{_pkgname}-%{version}.tar.gz Source: https://github.com/clokep/%{_pkgname}/archive/v%{version}.tar.gz#/%{_pkgname}-%{version}.tar.gz
Patch0: celery-fixtures.patch Patch0: celery-fixtures.patch
BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module celery >= 5.0} BuildRequires: %{python_module celery >= 5.0}
@@ -63,6 +62,7 @@ with any other form application.
%files %{python_files} %files %{python_files}
%doc README.rst CHANGELOG.rst %doc README.rst CHANGELOG.rst
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/celery_batches
%{python_sitelib}/celery_batches-%{version}*info
%changelog %changelog