Compare commits

14 Commits

Author SHA256 Message Date
c9a0b3ef5b Accepting request 1296142 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1296142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-celery?expand=0&rev=51
2025-07-30 09:42:48 +00:00
d1eb63f431 Accepting request 1296129 from home:nkrapp:branches:devel:languages:python
- Add dependency on google-cloud-core to fix broken import in tests

OBS-URL: https://build.opensuse.org/request/show/1296129
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=170
2025-07-28 13:10:25 +00:00
76664a4d9c Accepting request 1288522 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1288522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-celery?expand=0&rev=50
2025-06-26 09:39:04 +00:00
a130df9021 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=168
2025-06-25 11:54:24 +00:00
83690de11d Accepting request 1285951 from devel:languages:python
- Switch to pyroject macros.

OBS-URL: https://build.opensuse.org/request/show/1285951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-celery?expand=0&rev=49
2025-06-16 09:13:01 +00:00
aca489eb26 - Switch to pyroject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=166
2025-06-16 06:19:14 +00:00
382466b122 Accepting request 1284512 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1284512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-celery?expand=0&rev=48
2025-06-11 14:23:49 +00:00
dbaf266b7b Accepting request 1284472 from home:glaubitz:branches:devel:languages:python
- Update to 5.5.3
  * Make the tests run on python 3.13 for gcs backend (#9677)
  * Added DeepWiki to README (#9683)
  * Limit redis to <=v5.2.1 to match Kombu (#9693)
  * Use EX_OK instead of literal zero (#9684)
  * Make wheel metadata reproducible (#9687)
  * Let celery install from kombu dependencies for better align (#9696)
  * Fix stamping documentation to clarify stamped_headers key is optional
    in visitor methods (#9697)
  * Support apply_async without queue argument on quorum queues (#9686)
  * Updated rabbitmq doc about using quorum queues with task routes (#9707)
  * Add: Dumper Unit Test (#9711)
  * Add unit test for event.group_from (#9709)
  * Refactor: add beat_cron_starting_deadline documentation warning (#9712)
  * Fix: Resolve issue #9569 by supporting distinct broker transport
    options for workers (#9695)
  * Fixes issue with retry callback arguments in DelayedDelivery (#9708)
  * get_exchange-unit-test (#9710)
  * ISSUE-9704: Update documentation of result_expires, filesystem backend
    is supported (#9716)
  * Update to blacksmith ubuntu 24.04 (#9717)
  * Added unit tests for celery.utils.iso8601 (#9725)
  * Update introduction.rst docs (#9728)
  * Prepare for release: v5.5.3 (#9732)

OBS-URL: https://build.opensuse.org/request/show/1284472
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=164
2025-06-10 14:46:40 +00:00
e571c53b6c Accepting request 1273195 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1273195
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-celery?expand=0&rev=47
2025-04-29 14:40:14 +00:00
497b981d2a Accepting request 1273186 from home:mcalabkova:branches:devel:languages:python
- Update to 5.5.2
  * Fix calculating remaining time across DST changes
  * Remove setup_logger from COMPAT_MODULES
- Add missing runtime requirement python-dbm

OBS-URL: https://build.opensuse.org/request/show/1273186
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=162
2025-04-28 15:43:18 +00:00
a5d4d2c533 Accepting request 1269220 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1269220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-celery?expand=0&rev=46
2025-04-14 14:08:23 +00:00
639aa4ceaf Accepting request 1268663 from home:nkrapp:branches:devel:languages:python
- Update to 5.5.1
  * Fixed "AttributeError: list object has no attribute strip" with
    quorum queues and failover brokers by @Nusnus in #9657
  * Prepare for release: v5.5.1 by @Nusnus in #9660
- Update to 5.5.0
  * Redis Broker Stability Improvements
  * pycurl replaced with urllib3
  * RabbitMQ Quorum Queues Support
  * Soft Shutdown Mechanism
  * Pydantic Support
  * Google Pub/Sub Transport
  * Python 3.13 Support
  * REMAP_SIGTERM Support
  * Database Backend Improvements
  * see full changelog: https://github.com/celery/celery/releases/tag/v5.5.0
- Add new test dependencies

OBS-URL: https://build.opensuse.org/request/show/1268663
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=160
2025-04-14 10:09:47 +00:00
2c4fb4c14b Accepting request 1185292 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1185292
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-celery?expand=0&rev=45
2024-07-04 14:27:10 +00:00
efb4b609bf Accepting request 1185136 from home:mcalabkova:branches:devel:languages:python
- Update to 5.4.0
  * Add a Task class specialised for Django
  * Add Google Cloud Storage (GCS) backend
  * Added documentation to the smoke tests infra
  * Bugfix: Missing id on chain
  * Bugfix: Worker not consuming tasks after Redis broker restart
  * Catch UnicodeDecodeError when opening corrupt beat-schedule.db
  * chore(ci): Enhance CI with workflow_dispatch for targeted debugging
  * Enable efficient chord when using dynamicdb as backend store
  * feat(daemon): allows daemonization options to be fetched from app 
    settings
  * Fix DeprecationWarning: datetime.datetime.utcnow()
  * Fix recursive result parents on group in middle of chain
  * Hotfix: Smoke tests didn’t allow customizing the worker’s command 
    arguments, now it does
  * Make custom remote control commands available in CLI
  * Print safe_say() to stdout for non-error flows
  * Support moto 5.0
- Drop support-moto-5.patch

OBS-URL: https://build.opensuse.org/request/show/1185136
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=158
2024-07-04 07:06:05 +00:00
5 changed files with 120 additions and 95 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:870cc71d737c0200c397290d730344cc991d13a057534353d124c9380267aab9
size 1544498

3
celery-5.5.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c972ae7968c2b5281227f01c3a3f984037d21c5129d07bf3550cc2afc6b10a5
size 1667144

View File

@@ -1,3 +1,97 @@
-------------------------------------------------------------------
Mon Jul 28 12:28:45 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- Add dependency on google-cloud-core to fix broken import in tests
-------------------------------------------------------------------
Wed Jun 25 11:54:05 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Mon Jun 16 06:12:16 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyroject macros.
-------------------------------------------------------------------
Tue Jun 10 13:06:55 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 5.5.3
* Make the tests run on python 3.13 for gcs backend (#9677)
* Added DeepWiki to README (#9683)
* Limit redis to <=v5.2.1 to match Kombu (#9693)
* Use EX_OK instead of literal zero (#9684)
* Make wheel metadata reproducible (#9687)
* Let celery install from kombu dependencies for better align (#9696)
* Fix stamping documentation to clarify stamped_headers key is optional
in visitor methods (#9697)
* Support apply_async without queue argument on quorum queues (#9686)
* Updated rabbitmq doc about using quorum queues with task routes (#9707)
* Add: Dumper Unit Test (#9711)
* Add unit test for event.group_from (#9709)
* Refactor: add beat_cron_starting_deadline documentation warning (#9712)
* Fix: Resolve issue #9569 by supporting distinct broker transport
options for workers (#9695)
* Fixes issue with retry callback arguments in DelayedDelivery (#9708)
* get_exchange-unit-test (#9710)
* ISSUE-9704: Update documentation of result_expires, filesystem backend
is supported (#9716)
* Update to blacksmith ubuntu 24.04 (#9717)
* Added unit tests for celery.utils.iso8601 (#9725)
* Update introduction.rst docs (#9728)
* Prepare for release: v5.5.3 (#9732)
-------------------------------------------------------------------
Mon Apr 28 14:36:22 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 5.5.2
* Fix calculating remaining time across DST changes
* Remove setup_logger from COMPAT_MODULES
- Add missing runtime requirement python-dbm
-------------------------------------------------------------------
Tue Apr 8 10:51:40 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- Update to 5.5.1
* Fixed "AttributeError: list object has no attribute strip" with
quorum queues and failover brokers by @Nusnus in #9657
* Prepare for release: v5.5.1 by @Nusnus in #9660
- Update to 5.5.0
* Redis Broker Stability Improvements
* pycurl replaced with urllib3
* RabbitMQ Quorum Queues Support
* Soft Shutdown Mechanism
* Pydantic Support
* Google Pub/Sub Transport
* Python 3.13 Support
* REMAP_SIGTERM Support
* Database Backend Improvements
* see full changelog: https://github.com/celery/celery/releases/tag/v5.5.0
- Add new test dependencies
-------------------------------------------------------------------
Wed Jul 3 13:17:39 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Update to 5.4.0
* Add a Task class specialised for Django
* Add Google Cloud Storage (GCS) backend
* Added documentation to the smoke tests infra
* Bugfix: Missing id on chain
* Bugfix: Worker not consuming tasks after Redis broker restart
* Catch UnicodeDecodeError when opening corrupt beat-schedule.db
* chore(ci): Enhance CI with workflow_dispatch for targeted debugging
* Enable efficient chord when using dynamicdb as backend store
* feat(daemon): allows daemonization options to be fetched from app
settings
* Fix DeprecationWarning: datetime.datetime.utcnow()
* Fix recursive result parents on group in middle of chain
* Hotfix: Smoke tests didnt allow customizing the workers command
arguments, now it does
* Make custom remote control commands available in CLI
* Print safe_say() to stdout for non-error flows
* Support moto 5.0
- Drop support-moto-5.patch
-------------------------------------------------------------------
Fri Feb 9 03:09:55 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-celery
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,57 +26,63 @@
%bcond_with test
%endif
%bcond_with ringdisabled
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-celery%{psuffix}
Version: 5.3.6
Version: 5.5.3
Release: 0
Summary: Distributed Task Queue module for Python
License: BSD-3-Clause
URL: http://celeryproject.org
URL: https://celeryproject.org
Source: https://files.pythonhosted.org/packages/source/c/celery/celery-%{version}.tar.gz
Patch0: move-pytest-configuration-to-conftest.patch
# PATCH-FIX-UPSTREAM gh#celery/celery#8838
Patch1: support-moto-5.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: fdupes
BuildRequires: netcfg
BuildRequires: python-rpm-macros
Requires: python-billiard >= 3.6.4
Requires: alts
Requires: python-billiard >= 4.1.0
Requires: python-click >= 8.0.3
Requires: python-click-didyoumean >= 0.0.3
Requires: python-click-plugins >= 1.1.1
Requires: python-click-repl >= 0.2.0
Requires: python-kombu >= 5.2.3
Requires: python-dbm
Requires: python-kombu >= 5.5
Requires: python-python-dateutil
Requires: python-tzdata
Requires: python-vine >= 5.0.0
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: python-cryptography
Recommends: python-curses
Suggests: python-eventlet
Suggests: python-gevent
Suggests: python-pymongo
Suggests: python-python-daemon
Suggests: python-pytyrant
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module PyYAML >= 3.10}
BuildRequires: %{python_module SQLAlchemy}
BuildRequires: %{python_module azure-storage-blob}
BuildRequires: %{python_module boto3 >= 1.9.178}
BuildRequires: %{python_module case >= 1.3.1}
BuildRequires: %{python_module celery = %{version}}
BuildRequires: %{python_module cryptography >= 36.0.2}
BuildRequires: %{python_module curses}
BuildRequires: %{python_module dbm}
BuildRequires: %{python_module eventlet >= 0.32.0}
BuildRequires: %{python_module gevent}
BuildRequires: %{python_module google-cloud-core}
BuildRequires: %{python_module google-cloud-firestore}
BuildRequires: %{python_module google-cloud-storage}
BuildRequires: %{python_module moto >= 2.2.6}
BuildRequires: %{python_module msgpack}
BuildRequires: %{python_module pydantic}
BuildRequires: %{python_module pymongo >= 4.0.2}
BuildRequires: %{python_module pytest >= 4.5.0}
BuildRequires: %{python_module pytest-click}
BuildRequires: %{python_module pytest-subtests}
BuildRequires: %{python_module tzdata}
BuildRequires: %{python_module redis}
%if %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@@ -93,12 +99,12 @@ scheduling as well.
%build
%if !%{with test}
%python_build
%pyproject_wheel
%endif
%install
%if !%{with test}
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/celery
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
@@ -117,15 +123,12 @@ scheduling as well.
%endif
%if !%{with test}
%post
%python_install_alternative celery
%postun
%python_uninstall_alternative celery
%pre
%python_libalternatives_reset_alternative celery
%files %{python_files}
%{python_sitelib}/celery
%{python_sitelib}/celery-%{version}*-info
%{python_sitelib}/celery-%{version}.dist-info
%license LICENSE
%doc README.rst TODO
%python_alternative %{_bindir}/celery

View File

@@ -1,72 +0,0 @@
commit 8ebab3d94de46dc7074ffade0aec50d739d36e26
Author: Steve Kowalik <steven@wedontsleep.org>
Date: Fri Feb 9 11:58:01 2024 +1100
Support moto 5.0
moto 5.0 has been released, and the major change is to pull all of the
seperate mock calls into one -- mock_aws. Continue to support moto 4,
since it's easy to do so.
Index: celery-5.3.6/t/unit/backends/test_s3.py
===================================================================
--- celery-5.3.6.orig/t/unit/backends/test_s3.py
+++ celery-5.3.6/t/unit/backends/test_s3.py
@@ -3,7 +3,11 @@ from unittest.mock import patch
import boto3
import pytest
from botocore.exceptions import ClientError
-from moto import mock_s3
+
+try:
+ from moto import mock_aws
+except ImportError:
+ from moto import mock_s3 as mock_aws
from celery import states
from celery.backends.s3 import S3Backend
@@ -84,7 +88,7 @@ class test_S3Backend:
's3', endpoint_url=endpoint_url)
@pytest.mark.parametrize("key", ['uuid', b'uuid'])
- @mock_s3
+ @mock_aws
def test_set_and_get_a_key(self, key):
self._mock_s3_resource()
@@ -97,7 +101,7 @@ class test_S3Backend:
assert s3_backend.get(key) == 'another_status'
- @mock_s3
+ @mock_aws
def test_set_and_get_a_result(self):
self._mock_s3_resource()
@@ -111,7 +115,7 @@ class test_S3Backend:
value = s3_backend.get_result('foo')
assert value == 'baar'
- @mock_s3
+ @mock_aws
def test_get_a_missing_key(self):
self._mock_s3_resource()
@@ -141,7 +145,7 @@ class test_S3Backend:
s3_backend.get('uuidddd')
@pytest.mark.parametrize("key", ['uuid', b'uuid'])
- @mock_s3
+ @mock_aws
def test_delete_a_key(self, key):
self._mock_s3_resource()
@@ -157,7 +161,7 @@ class test_S3Backend:
assert s3_backend.get(key) is None
- @mock_s3
+ @mock_aws
def test_with_a_non_existing_bucket(self):
self._mock_s3_resource()