- 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
This commit is contained in:
Dirk Mueller 2024-10-03 08:38:58 +00:00 committed by Git OBS Bridge
commit 0ed3f37fff
7 changed files with 2070 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

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

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

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

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

1933
python-kombu.changes Normal file

File diff suppressed because it is too large Load Diff

90
python-kombu.spec Normal file
View File

@ -0,0 +1,90 @@
#
# spec file for package python-kombu
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-kombu
Version: 5.4.2
Release: 0
Summary: AMQP Messaging Framework for Python
License: BSD-3-Clause
URL: https://github.com/celery/kombu
Source: https://files.pythonhosted.org/packages/source/k/kombu/kombu-%{version}.tar.gz
# 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.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 hypothesis}
BuildRequires: %{python_module msgpack}
BuildRequires: %{python_module pycurl >= 7.43.0.5}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module redis >= 4.5.2}
BuildRequires: %{python_module setuptools >= 47}
BuildRequires: %{python_module vine}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: timezone
Requires: python-amqp >= 5.1.1
Requires: python-tzdata
Requires: python-vine
Recommends: python-Brotli >= 1.0.9
Recommends: python-PyYAML >= 3.10
BuildArch: noarch
%python_subpackages
%description
An AMQP messaging framework for Python.
AMQP is the Advanced Message Queuing Protocol, an open standard protocol
for message orientation, queuing, routing, reliability and security.
One of the most popular implementations of AMQP is RabbitMQ.
The aim of Kombu is to make messaging in Python as easy as possible by
providing an idiomatic high-level interface for the AMQP protocol, and also
provide proven and tested solutions to common messaging problems.
%prep
%autosetup -p1 -n kombu-%{version}
# pinned dependencies are bad
sed -i -e 's:==:>=:g' requirements/*.txt requirements/extras/*.txt
# we don't want to pull in the whole azure stack because of few tests of a non-essential feature
rm t/unit/transport/test_azureservicebus.py
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%doc AUTHORS FAQ README.rst THANKS TODO
%{python_sitelib}/kombu
%{python_sitelib}/kombu-%{version}-py*.egg-info
%changelog

17
support-pyro-5.patch Normal file
View File

@ -0,0 +1,17 @@
Index: kombu-5.2.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
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
+ from Pyro5.errors import NamingError
+ from Pyro5.api import SerializerBase
except ImportError: # pragma: no cover
pyro = NamingError = SerializerBase = None