14
0
forked from pool/python-kombu

Compare commits

17 Commits

Author SHA256 Message Date
ad8b53eb8e Accepting request 1321794 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1321794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kombu?expand=0&rev=91
2025-12-10 14:32:42 +00:00
ee2a74ea54 - Update to 5.6.1
* fix: ensure hub close does also remove global event loop reference (#2404)
  * fix: default value for SQS’s receive message (#2405)
  * Feat: add support for credential_provider to redis broker (#2408)
  * Prepare for release: v5.6.1 (#2416)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=201
2025-12-09 14:36:55 +00:00
29792cfaeb Accepting request 1315516 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1315516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kombu?expand=0&rev=90
2025-11-05 15:18:43 +00:00
25ced25960 - Update to 5.6.0
* Test on Python 3.14 (#2361)
  * Revert "Revert "Bump pymongo from 4.10.1 to 4.15.3"" (#2401)
  * Prepare for release: v5.6.0 (#2402)
  * Revert "Feature: urllib3 instead of curl" (#2261)
  * Fix #2286 : SQS - Enhance support for receiving message attributes.
    Allow string in msg body. (#2300)
  * Update gcpubsub.txt for protobuf (#2320)
  * fix body bytes encoding in curl.py (#2322)
  * Hotfix(aws_ssl): validate secure connection (#2323)
  * Update setup.py to remove deprecation warning (#2298)
  * Update protobuf to 5.29.5 (#2199)
  * Allow setting `tags` in initial `boto3.sqs.create_queue` call
    via `transport_options` (#2321)
  * Add sts_token_buffer_time parameter to transport options (#2216)
  * Docs: Fix incorrect "added in 5.6.0" note for sts_token_timeout
    in SQS transport docs (#2327)
  * SQS: when redelivering a message apply visibility timeout based
    on wait_time_seconds (long polling time) (#2049)
  * Bump redis requirement to <6 to support v5.3 (#2329)
  * Pidbox: support queue_exclusive / queue_durable (RabbitMQ 4.x) (#2338)
  * Prepare for (pre) release: v5.6.0b1 (#2343)
  * Normalize mongodb options keys (#2347)
  * Redis: propagate polling_interval from transport options to
    _brpop_start timeout (#2346)
  * Add max_prefetch limit to QoS class and related tests (#2348)
  * Prepare for (pre) release: v5.6.0b2 (#2349)
  * Remove custom `LifoQueue` class conflicting with recent gevent (#2314)
  * Replace deprecated datetime.utcnow() with datetime.now(timezone.utc) (#2355)
  * Prepare for (pre) release: v5.6.0b3 (#2359)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=199
2025-11-04 14:45:02 +00:00
16e53535de Accepting request 1302835 from devel:languages:python
- Refresh support-pyro-5.patch to no longer use Pyro 4 compatability.

OBS-URL: https://build.opensuse.org/request/show/1302835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kombu?expand=0&rev=89
2025-09-05 19:43:42 +00:00
c65000c639 - Refresh support-pyro-5.patch to no longer use Pyro 4 compatability.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=197
2025-09-05 02:45:00 +00:00
dc4a32d6d3 Accepting request 1299117 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1299117
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kombu?expand=0&rev=88
2025-08-13 14:30:30 +00:00
cb72454f7f - Convert to pip-based build
- Update to 5.5.4
  * chore: add Codecov test analytics by @thomasrockhu-codecov in #2290
  * Added DeepWiki to README by @Nusnus in #2295
  * redis.connection.ConnectionPool API change: get_connection does not accept arguments by @woutdenolf in #2294
  * Update mongodb.txt to match celery version by @auvipy in #2297
  * Update ubuntu version as per blacksmiths update by @auvipy in #2301
  * Resolve logger warnings by @emmanuel-ferdman in #2302
  * Fixed lint error from kombu/transport/native_delayed_delivery.py by @Nusnus in #2308
  * Prepare for release: v5.5.4 by @Nusnus in #2309

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=195
2025-08-12 15:41:39 +00:00
38524b5305 Accepting request 1277390 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1277390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kombu?expand=0&rev=87
2025-05-14 15:02:03 +00:00
696c30628c - Update to 5.5.3
* Fix error of double normalization options from URI in mongodb
    transport (#2282)
  * Move use of typing_extensions into TYPE_CHECKING block (#2283)
  * Do not pin package tzdata anymore (#2274)
  * Typo in pools's documentation (#2285)
  * Prepare for release: v5.5.3 (#2288)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=193
2025-05-14 10:29:07 +00:00
65ad6e8548 Accepting request 1268445 from devel:languages:python
Another new dependency is needed for this: https://build.opensuse.org/requests/1268444

OBS-URL: https://build.opensuse.org/request/show/1268445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kombu?expand=0&rev=86
2025-04-11 14:49:25 +00:00
e5c33b0183 Add missing dependency
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=191
2025-04-10 15:27:10 +00:00
ad229840f9 - Update to 5.5.2
depends on: https://build.opensuse.org/requests/1268044

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=190
2025-04-10 13:39:30 +00:00
1515665369 Accepting request 1206570 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1206570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kombu?expand=0&rev=85
2024-10-09 20:14:07 +00:00
d7dc29f2d7 - Skip one test failing with new redis, upstream is aware of that
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=188
2024-10-09 17:19:02 +00:00
df985b2002 Accepting request 1205381 from devel:languages:python
- update to 5.4.2:
  * Fixed issue with SQS #2113
  * tzdata is required for machines without IANA database
  * blacksmith.sh: Migrate workflows to Blacksmith
  * Revert "Validate SQS SSL certs by default"
- update to 5.4.1:
  * Update mypy to 1.11.2
  * SQS: Fixes #2091 queue_delete() method doesn't actually
    delete the queue
  * Validate SQS SSL certs by default
  * Resolving TypeError, during version unpacking
  * Revert: allow users to disable broker heartbeats by not
    providing a timeout
- update to 5.4.0:
  * fix: Fanout exchange messages mixed across virtual databases
    in Redis sentinel
  * Pin pymongo to latest version 4.7.2
  * enable/fix test_etcd.py (resolves #2001)
  * Limit requests<2.32.0 due to docker-py issue 3256
  * enhance: allow users to disable broker heartbeats
  * enhance: allow uses to disable broker heartbeats by not
    providing a timeout
  * chore(typing): annotate `utils/debug.py`
  * ConnectionPool can't be used after .resize(..., reset=True)
    (resolves #2018)
  * Fix Redis connections after reconnect - consumer starts
    consuming the tasks after crash.
  * Add support for mongodb+srv scheme
  * Reverted limiting requests<2.32.0 in requirements/default.txt
    but kept in tox.ini due to docker-py issue 3256

OBS-URL: https://build.opensuse.org/request/show/1205381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kombu?expand=0&rev=84
2024-10-03 15:40:28 +00:00
0ed3f37fff - update to 5.4.2:
* Fixed issue with SQS #2113
  * tzdata is required for machines without IANA database
  * blacksmith.sh: Migrate workflows to Blacksmith
  * Revert "Validate SQS SSL certs by default"
- update to 5.4.1:
  * Update mypy to 1.11.2
  * SQS: Fixes #2091 queue_delete() method doesn't actually
    delete the queue
  * Validate SQS SSL certs by default
  * Resolving TypeError, during version unpacking
  * Revert: allow users to disable broker heartbeats by not
    providing a timeout
- update to 5.4.0:
  * fix: Fanout exchange messages mixed across virtual databases
    in Redis sentinel
  * Pin pymongo to latest version 4.7.2
  * enable/fix test_etcd.py (resolves #2001)
  * Limit requests<2.32.0 due to docker-py issue 3256
  * enhance: allow users to disable broker heartbeats
  * enhance: allow uses to disable broker heartbeats by not
    providing a timeout
  * chore(typing): annotate `utils/debug.py`
  * ConnectionPool can't be used after .resize(..., reset=True)
    (resolves #2018)
  * Fix Redis connections after reconnect - consumer starts
    consuming the tasks after crash.
  * Add support for mongodb+srv scheme
  * Reverted limiting requests<2.32.0 in requirements/default.txt
    but kept in tox.ini due to docker-py issue 3256

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=186
2024-10-03 08:38:58 +00:00
5 changed files with 184 additions and 23 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:011c4cd9a355c14a1de8d35d257314a1d2456d52b7140388561acac3cf1a97bf
size 439344

3
kombu-5.6.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90f1febb57ad4f53ca327a87598191b2520e0c793c75ea3b88d98e3b111282e4
size 471548

View File

@@ -1,3 +1,159 @@
-------------------------------------------------------------------
Tue Dec 9 11:44:27 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 5.6.1
* fix: ensure hub close does also remove global event loop reference (#2404)
* fix: default value for SQSs receive message (#2405)
* Feat: add support for credential_provider to redis broker (#2408)
* Prepare for release: v5.6.1 (#2416)
-------------------------------------------------------------------
Tue Nov 4 10:46:20 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 5.6.0
* Test on Python 3.14 (#2361)
* Revert "Revert "Bump pymongo from 4.10.1 to 4.15.3"" (#2401)
* Prepare for release: v5.6.0 (#2402)
* Revert "Feature: urllib3 instead of curl" (#2261)
* Fix #2286 : SQS - Enhance support for receiving message attributes.
Allow string in msg body. (#2300)
* Update gcpubsub.txt for protobuf (#2320)
* fix body bytes encoding in curl.py (#2322)
* Hotfix(aws_ssl): validate secure connection (#2323)
* Update setup.py to remove deprecation warning (#2298)
* Update protobuf to 5.29.5 (#2199)
* Allow setting `tags` in initial `boto3.sqs.create_queue` call
via `transport_options` (#2321)
* Add sts_token_buffer_time parameter to transport options (#2216)
* Docs: Fix incorrect "added in 5.6.0" note for sts_token_timeout
in SQS transport docs (#2327)
* SQS: when redelivering a message apply visibility timeout based
on wait_time_seconds (long polling time) (#2049)
* Bump redis requirement to <6 to support v5.3 (#2329)
* Pidbox: support queue_exclusive / queue_durable (RabbitMQ 4.x) (#2338)
* Prepare for (pre) release: v5.6.0b1 (#2343)
* Normalize mongodb options keys (#2347)
* Redis: propagate polling_interval from transport options to
_brpop_start timeout (#2346)
* Add max_prefetch limit to QoS class and related tests (#2348)
* Prepare for (pre) release: v5.6.0b2 (#2349)
* Remove custom `LifoQueue` class conflicting with recent gevent (#2314)
* Replace deprecated datetime.utcnow() with datetime.now(timezone.utc) (#2355)
* Prepare for (pre) release: v5.6.0b3 (#2359)
* Bump mypy from 1.14.1 to 1.18.1 AGAIN (#2363)
* Remove nested query from sqlalchemy _size (#2315)
* Remove misused argument for autoflake (#2368)
* Support client_name connection parameter for redis transport (#2367)
* Prepare for (pre) release: v5.6.0rc1 (#2369)
* Update Redis version constraint to <6.2 (#2377)
* remove Python 3.8 from CI as EOL (#2241)
* Revert "Bump pymongo from 4.10.1 to 4.15.3" (#2384)
* Update requirements to remove backports.zoneinfo (#2391)
* Update qpid-python and qpid-tools versions (#2392)
* Remove Qpid transport from requirements of func test (#2393)
* Fix comment grammar in entity_name test (#2394)
* Prepare for (pre) release: v5.6.0rc2 (#2396)
* Test on Python 3.14 (#2361)
* Revert "Revert "Bump pymongo from 4.10.1 to 4.15.3"" (#2401)
* Prepare for release: v5.6.0 (#2402)
-------------------------------------------------------------------
Fri Sep 5 02:43:28 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Refresh support-pyro-5.patch to no longer use Pyro 4 compatability.
-------------------------------------------------------------------
Tue Aug 12 12:25:54 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
- Convert to pip-based build
- Update to 5.5.4
* chore: add Codecov test analytics by @thomasrockhu-codecov in #2290
* Added DeepWiki to README by @Nusnus in #2295
* redis.connection.ConnectionPool API change: get_connection does not accept arguments by @woutdenolf in #2294
* Update mongodb.txt to match celery version by @auvipy in #2297
* Update ubuntu version as per blacksmiths update by @auvipy in #2301
* Resolve logger warnings by @emmanuel-ferdman in #2302
* Fixed lint error from kombu/transport/native_delayed_delivery.py by @Nusnus in #2308
* Prepare for release: v5.5.4 by @Nusnus in #2309
-------------------------------------------------------------------
Wed May 14 09:59:53 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 5.5.3
* Fix error of double normalization options from URI in mongodb
transport (#2282)
* Move use of typing_extensions into TYPE_CHECKING block (#2283)
* Do not pin package tzdata anymore (#2274)
* Typo in pools's documentation (#2285)
* Prepare for release: v5.5.3 (#2288)
-------------------------------------------------------------------
Tue Apr 8 14:57:10 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- Update to 5.5.2
* Bump tzdata from 2025.1 to 2025.2 by @dependabot in #2268
* Downgrad kafka version to make the CI green again by
@auvipy in #2271
* Attempt to fix retry loop in maybe_declare() when broken
connection by @olii in #2275
* Prepare for release: v5.5.2 by @Nusnus in #2278
- Update to 5.5.1
* Update trove classifier with missing python 3.13 by
@auvipy in #2262
* Fix native_delayed_delivery for queue with explicit bindings
by @banksemi in #2263
* SQS: Fix Query Protocol Content-Type header by @hfern in #2266
* SQS: More Protocol Tests by @hfern in #2267
* Prepare for release: v5.5.1 by @Nusnus in #2270
- Update to 5.5.0
* Native Delayed Delivery
* urllib3 instead of curl
* Transport: Google Pub/Sub
* full changelog: https://github.com/celery/kombu/releases/tag/v5.5.0
-------------------------------------------------------------------
Wed Oct 9 08:16:35 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Skip one test failing with new redis, upstream is aware of that
-------------------------------------------------------------------
Thu Oct 3 08:31:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 5.4.2:
* Fixed issue with SQS #2113
* tzdata is required for machines without IANA database
* blacksmith.sh: Migrate workflows to Blacksmith
* Revert "Validate SQS SSL certs by default"
- update to 5.4.1:
* Update mypy to 1.11.2
* SQS: Fixes #2091 queue_delete() method doesn't actually
delete the queue
* Validate SQS SSL certs by default
* Resolving TypeError, during version unpacking
* Revert: allow users to disable broker heartbeats by not
providing a timeout
- update to 5.4.0:
* fix: Fanout exchange messages mixed across virtual databases
in Redis sentinel
* Pin pymongo to latest version 4.7.2
* enable/fix test_etcd.py (resolves #2001)
* Limit requests<2.32.0 due to docker-py issue 3256
* enhance: allow users to disable broker heartbeats
* enhance: allow uses to disable broker heartbeats by not
providing a timeout
* chore(typing): annotate `utils/debug.py`
* ConnectionPool can't be used after .resize(..., reset=True)
(resolves #2018)
* Fix Redis connections after reconnect - consumer starts
consuming the tasks after crash.
* Add support for mongodb+srv scheme
* Reverted limiting requests<2.32.0 in requirements/default.txt
but kept in tox.ini due to docker-py issue 3256
* Redis transport - Redelivered messages should respect the
original priority
* Exclude Unit 3.9 from CI
* Fixed CI error from excluding Python 3.9 unit tests
-------------------------------------------------------------------
Sun Apr 14 07:46:57 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-kombu
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-kombu
Version: 5.3.7
Version: 5.6.1
Release: 0
Summary: AMQP Messaging Framework for Python
License: BSD-3-Clause
@@ -27,29 +27,33 @@ Source: https://files.pythonhosted.org/packages/source/k/kombu/kombu-%{v
# PATCH-FIX-OPENSUSE Use Pyro4 compatibility for now, upstream should switch
# for 5.3
Patch0: support-pyro-5.patch
BuildRequires: %{python_module Brotli >= 1.0.0}
BuildRequires: %{python_module Brotli >= 1.0.9}
BuildRequires: %{python_module PyYAML >= 3.10}
BuildRequires: %{python_module Pyro5}
BuildRequires: %{python_module SQLAlchemy}
BuildRequires: %{python_module amqp >= 5.1.1}
BuildRequires: %{python_module azure-identity >= 1.12.0}
BuildRequires: %{python_module boto3 >= 1.26.143}
BuildRequires: %{python_module google-cloud-monitoring}
BuildRequires: %{python_module google-cloud-pubsub}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module msgpack}
BuildRequires: %{python_module pycurl >= 7.43.0.2}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pre-commit}
BuildRequires: %{python_module pycurl >= 7.43.0.5}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module redis >= 3.4.1}
BuildRequires: %{python_module setuptools >= 20.6.7}
BuildRequires: %{python_module redis >= 4.5.2}
BuildRequires: %{python_module setuptools >= 47}
BuildRequires: %{python_module vine}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: timezone
Requires: python-amqp >= 5.1.1
Requires: python-packaging
Requires: python-tzdata
Requires: python-vine
%if 0%{?python_version_nodots} < 310
Requires: python-typing_extensions
%endif
Recommends: python-Brotli >= 1.0.0
Recommends: python-Brotli >= 1.0.9
Recommends: python-PyYAML >= 3.10
BuildArch: noarch
%python_subpackages
@@ -74,19 +78,20 @@ sed -i -e 's:==:>=:g' requirements/*.txt requirements/extras/*.txt
rm t/unit/transport/test_azureservicebus.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
# test_global_keyprefix_transaction doesn't support new redis yet https://github.com/celery/kombu/pull/2132
%pytest -k "not test_global_keyprefix_transaction"
%files %{python_files}
%license LICENSE
%doc AUTHORS FAQ README.rst THANKS TODO
%{python_sitelib}/kombu
%{python_sitelib}/kombu-%{version}-py*.egg-info
%{python_sitelib}/kombu-%{version}.dist-info
%changelog

View File

@@ -1,17 +1,17 @@
Index: kombu-5.2.4/kombu/transport/pyro.py
Index: kombu-5.5.4/kombu/transport/pyro.py
===================================================================
--- kombu-5.2.4.orig/kombu/transport/pyro.py
+++ kombu-5.2.4/kombu/transport/pyro.py
@@ -42,9 +42,9 @@ from kombu.utils.objects import cached_p
--- kombu-5.5.4.orig/kombu/transport/pyro.py
+++ kombu-5.5.4/kombu/transport/pyro.py
@@ -44,9 +44,9 @@ from kombu.utils.objects import cached_p
from . import virtual
try:
- import Pyro4 as pyro
- from Pyro4.errors import NamingError
- from Pyro4.util import SerializerBase
+ from Pyro5.compatibility import Pyro4 as pyro
+ import Pyro5.api as pyro
+ from Pyro5.errors import NamingError
+ from Pyro5.api import SerializerBase
+ from Pyro5.serializers import SerializerBase
except ImportError: # pragma: no cover
pyro = NamingError = SerializerBase = None