Dirk Mueller
fb61a4a193
* Fix ReadTheDocs CI * fix(docs): add Redis to the list of transports where SSL is supported * Fixed Improper Method Call: Replaced `mktemp` * fix: freeze set during ticks iter in async hub * azure service bus: fix TypeError when using Managed Identities * Fix unacknowledge typo in restore_visible() * Changed pyup -> dependabot for updating dependencies * Fix crash when using global_keyprefix with a sentinel connection - update to 5.3.4: * Use the correct protocol for SQS requests - update to 5.3.3: * Update redis.txt to align with celery main * Handle Access Denied Exception in basic_ack Method * fix azure servicebus using managed identity support * Added as_uri method to MongoDB transport - Fixes #1795 * Revert "[fix #1726] Use boto3 for SQS async requests" * Create a lock on cached_property if not present * added Python 3.12 in the CI * using assert_called_once() in est__pop_ready_uses_lock * fix: redis requeue concurrency bug #1800 - update to 5.3.2: * Reverted unwanted constraint introduced in #1629 with max_retries * Doc fix (hotfix for #1755) * Python3.12: fix imports in kombu/utils/objects.py * [fix #1726] Use boto3 for SQS async requests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=178
99 lines
3.4 KiB
RPMSpec
99 lines
3.4 KiB
RPMSpec
#
|
|
# 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.3.5
|
|
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.0}
|
|
BuildRequires: %{python_module PyYAML >= 3.10}
|
|
BuildRequires: %{python_module Pyro5}
|
|
BuildRequires: %{python_module SQLAlchemy}
|
|
BuildRequires: %{python_module amqp >= 5.0.9}
|
|
BuildRequires: %{python_module azure-identity >= 1.12.0}
|
|
BuildRequires: %{python_module backports.zoneinfo if %python-base < 3.9}
|
|
BuildRequires: %{python_module boto3 >= 1.9.12}
|
|
BuildRequires: %{python_module cached-property}
|
|
BuildRequires: %{python_module case >= 1.5.2}
|
|
BuildRequires: %{python_module hypothesis}
|
|
BuildRequires: %{python_module importlib-metadata >= 0.18}
|
|
BuildRequires: %{python_module msgpack}
|
|
BuildRequires: %{python_module pycurl >= 7.43.0.2}
|
|
BuildRequires: %{python_module pytest}
|
|
BuildRequires: %{python_module pytz}
|
|
BuildRequires: %{python_module redis >= 3.4.1}
|
|
BuildRequires: %{python_module setuptools >= 20.6.7}
|
|
BuildRequires: %{python_module vine}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
BuildRequires: timezone
|
|
Requires: python-amqp >= 5.0.9
|
|
Requires: python-cached-property
|
|
Requires: python-importlib-metadata >= 0.18
|
|
Requires: python-setuptools
|
|
Requires: python-vine
|
|
Recommends: python-Brotli >= 1.0.0
|
|
Recommends: python-PyYAML >= 3.10
|
|
Obsoletes: python-carrot
|
|
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
|