forked from pool/python-fedora-messaging
Accepting request 974454 from home:pgajdos:python
- version update
3.0.0 (2021-12-14)
==================
API Changes
-----------
* Queues created by the CLI are now non-durable, auto-deleted and exclusive, as
server-named queues are.
(`PR#239 <https://github.com/fedora-infra/fedora-messaging/pull/239>`_)
* It is no longer necessary to declare a queue in the configuration file: a
server-named queue will be created. Configured bindings which do not specify
a queue name will be applied to the server-named queue.
(`PR#239 <https://github.com/fedora-infra/fedora-messaging/pull/239>`_)
* Drop support for Python 2
(`PR#246 <https://github.com/fedora-infra/fedora-messaging/pull/246>`_)
* Drop the Twisted classes that had been flagged as deprecated.
Drop the deprecated ``Message._body`` property.
Refactor the consuming code into the ``Consumer`` class.
(`PR#249 <https://github.com/fedora-infra/fedora-messaging/pull/249>`_)
Features
--------
* Support anonymous (server-named) queues.
(`PR#239 <https://github.com/fedora-infra/fedora-messaging/pull/239>`_)
* Support Python 3.10
(`PR#250 <https://github.com/fedora-infra/fedora-messaging/pull/250>`_)
* Raise ``PublishForbidden`` exception immediately if publishing to `virtual host
<https://www.rabbitmq.com/access-control.html>`_ is denied rather than waiting until timeout occurs.
(`#203 <https://github.com/fedora-infra/fedora-messaging/issues/203>`_)
Bug Fixes
---------
* Fixed validation exception of queue field on serialized schemas.
OBS-URL: https://build.opensuse.org/request/show/974454
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fedora-messaging?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
c163d5d14f
commit
facb46197f
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-fedora-messaging
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,14 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-fedora-messaging
|
||||
Version: 2.0.2
|
||||
Version: 3.0.0
|
||||
Release: 0
|
||||
Summary: Python tools for Fedora's messaging infrastructure
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/fedora-infra/fedora-messaging
|
||||
Source: https://files.pythonhosted.org/packages/source/f/fedora_messaging/fedora_messaging-%{version}.tar.gz
|
||||
Patch0: https://github.com/fedora-infra/fedora-messaging/pull/232.patch#/pr_232.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -68,7 +67,6 @@ A set of Python tools for using Fedora's messaging infrastructure.
|
||||
|
||||
%prep
|
||||
%setup -q -n fedora_messaging-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -90,6 +88,7 @@ A set of Python tools for using Fedora's messaging infrastructure.
|
||||
export PATH=$PATH:%{buildroot}%{_bindir}
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
export LANG=en_US.UTF-8
|
||||
sed -i 's:. Perhaps you forgot a comma?::' fedora_messaging/tests/unit/test_cli.py
|
||||
# test_consume_unexpected_crash or test_consume_successful_halt are intermittent
|
||||
# and only relevant for improved handling of an unexpected failure/halt
|
||||
%pytest -k 'not (test_consume_unexpected_crash or test_consume_successful_halt)'
|
||||
|
||||
Reference in New Issue
Block a user