SHA256
1
0
forked from pool/python-kombu
python-kombu/python-kombu.spec
Dirk Mueller b4c3471271 - update to 4.6.10:
- set _connection in _ensure_connection (#1205)
  - Fix for the issue #1172
  - reuse connection [bug fix]
  - Prevent failure if AWS creds are not explicitly defined on predefined.
  - Raise RecoverableConnectionError in maybe_declare with retry on and.
  - possible fix for #1174 .
  - Fix: make SQLAlchemy Channel init thread-safe
  - Added integration testing infrastructure for RabbitMQ
  - Initial redis integration tests implementation
  - SQLAlchemy transport: Use Query.with_for_update() instead of deprecated
  - Fix Consumer Encoding
  - Added Integration tests for direct, topic and fanout exchange types
  - Added TTL integration tests
  - Added integration tests for priority queues
  - fix 100% cpu usage on linux while using sqs
  - Modified Mutex to use redis LuaLock implementation
  - Fix: eliminate remaining race conditions from SQLAlchemy Channel
  - Fix connection imaybe_declare (#1196)
  - Fix for issue #1198: Celery crashes in cases where there aren’t enough
  - Ensure connection when connecting to broker
  - update pyamqp to 2.6 with optional cythonization

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=157
2020-06-14 09:28:58 +00:00

87 lines
2.9 KiB
RPMSpec

#
# spec file for package python-kombu
#
# Copyright (c) 2020 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-kombu
Version: 4.6.10
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
BuildRequires: %{python_module Brotli >= 1.0.0}
BuildRequires: %{python_module PyYAML >= 3.10}
BuildRequires: %{python_module Pyro4}
BuildRequires: %{python_module SQLAlchemy}
BuildRequires: %{python_module amqp >= 2.5.2}
BuildRequires: %{python_module boto3 >= 1.4.4}
BuildRequires: %{python_module case >= 1.5.2}
BuildRequires: %{python_module fakeredis}
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.3.11}
BuildRequires: %{python_module setuptools >= 20.6.7}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-amqp >= 2.5.2
Requires: python-importlib-metadata >= 0.18
Requires: python-setuptools
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
%setup -q -n kombu-%{version}
# pinned dependencies are bad
sed -i -e 's:==:>=:g' requirements/*.txt requirements/extras/*.txt
%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