Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-celery-batches for 
openSUSE:Factory checked in at 2023-03-30 22:51:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-celery-batches (Old)
 and      /work/SRC/openSUSE:Factory/.python-celery-batches.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-celery-batches"

Thu Mar 30 22:51:29 2023 rev:5 rq:1075499 version:0.7

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-celery-batches/python-celery-batches.changes  
    2021-01-27 18:57:40.768381828 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-celery-batches.new.31432/python-celery-batches.changes
   2023-03-30 22:51:30.360651528 +0200
@@ -1,0 +2,31 @@
+Thu Mar 30 08:18:18 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- 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.
+
+-------------------------------------------------------------------

Old:
----
  celery-batches-0.4.tar.gz

New:
----
  celery-batches-0.7.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-celery-batches.spec ++++++
--- /var/tmp/diff_new_pack.h4JHEM/_old  2023-03-30 22:51:31.816659319 +0200
+++ /var/tmp/diff_new_pack.h4JHEM/_new  2023-03-30 22:51:31.820659340 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package python-celery-batches
+# spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 # Copyright (c) 2018 Matthias Fehring <buschman...@opensuse.org>
 #
 # All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define _pkgname celery-batches
 Name:           python-%{_pkgname}
-Version:        0.4
+Version:        0.7
 Release:        0
 Summary:        Django module to process multiple Celery task requests together
 License:        BSD-3-Clause
@@ -28,11 +28,13 @@
 URL:            https://github.com/percipient/celery-batches
 Source:         
https://github.com/percipient/%{_pkgname}/archive/v%{version}.tar.gz#/%{_pkgname}-%{version}.tar.gz
 Patch0:         celery-fixtures.patch
+BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module celery >= 4.4}
 BuildRequires:  %{python_module coverage}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytz}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-celery >= 4.4
@@ -47,18 +49,13 @@
 with any other form application.
 
 %prep
-%setup -q -n %{_pkgname}-%{version}
-%patch0 -p1
+%autosetup -p1 -n %{_pkgname}-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
-# Remove test suite
-%{python_expand rm -r %{buildroot}%{$python_sitelib}/t/
-%fdupes %{buildroot}%{$python_sitelib}
-}
+%pyproject_install
 
 %check
 %pytest t/

++++++ celery-batches-0.4.tar.gz -> celery-batches-0.7.tar.gz ++++++
++++ 2358 lines of diff (skipped)

++++++ celery-fixtures.patch ++++++
--- /var/tmp/diff_new_pack.h4JHEM/_old  2023-03-30 22:51:31.896659747 +0200
+++ /var/tmp/diff_new_pack.h4JHEM/_new  2023-03-30 22:51:31.900659769 +0200
@@ -1,14 +1,19 @@
-Index: celery-batches-0.4/t/integration/test_batches.py
+Index: celery-batches-0.7/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
+--- celery-batches-0.7.orig/t/integration/test_batches.py
++++ celery-batches-0.7/t/integration/test_batches.py
+@@ -6,11 +6,13 @@ from celery_batches import Batches, Simp
+ 
+ from celery import Celery, signals, states
  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 celery.contrib.testing.tasks import ping
+ from celery.contrib.testing.worker import TestWorkController
+ from celery.result import allow_join_result
+ from celery.worker.request import Request
  
- from .tasks import add, cumadd, Results
++
+ import pytest
  
+ from .tasks import add, cumadd
 

Reply via email to