Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 3ee14fee9e | |||
| ddc032fe47 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:29102b55a18ca90df4d2af45092a6949ce3e2726ce7d57f37ec9d26eaf7d7606
|
|
||||||
size 146926
|
|
||||||
3
fedora-messaging-3.8.0.tar.gz
Normal file
3
fedora-messaging-3.8.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:dd71bb94e3a7d2581ef1bea1d83e5a885da8bd79c3896d108af940fd4e3395fd
|
||||||
|
size 219279
|
||||||
@@ -1,3 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 21 12:04:27 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
|
||||||
|
|
||||||
|
- update to version 3.8.0:
|
||||||
|
* Add typing to the entire library, and check it with mypy and pyright
|
||||||
|
* Update the Fedora certificates
|
||||||
|
* Make the factory directly available as an attribute of the service
|
||||||
|
* Drop support for Python 3.8 and Pika < 1.0
|
||||||
|
* Support Python 3.13
|
||||||
|
- update to version 3.7.1:
|
||||||
|
* Add the new CAs to the trusted CA certs
|
||||||
|
* Documentation Improvements
|
||||||
|
- update to version 3.7.0:
|
||||||
|
* Indicate which package a schema comes from when missing
|
||||||
|
* Add a new reconsume CLI command
|
||||||
|
* Add an embedded HTTP server to monitor the service
|
||||||
|
* Documentation Improvements
|
||||||
|
- update to version 3.6.0:
|
||||||
|
* nothing of relevance
|
||||||
|
- update to version 3.5.0:
|
||||||
|
* Add a replay command
|
||||||
|
* Add support Python 3.11 and 3.12, drop support for Python 3.6 and 3.7
|
||||||
|
* Better protection against invalid bodies breaking the headers generation
|
||||||
|
and the instanciation of a message
|
||||||
|
* Testing framework: make the sent messages available in the context manager
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 4 14:50:05 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
Mon Mar 4 14:50:05 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-fedora-messaging
|
# spec file for package python-fedora-messaging
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,15 +16,33 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define _modname fedora-messaging
|
||||||
Name: python-fedora-messaging
|
Name: python-fedora-messaging
|
||||||
Version: 3.4.1
|
Version: 3.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python tools for Fedora's messaging infrastructure
|
Summary: Python tools for Fedora's messaging infrastructure
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
URL: https://github.com/fedora-infra/fedora-messaging
|
URL: https://github.com/fedora-infra/fedora-messaging
|
||||||
Source: https://github.com/fedora-infra/fedora-messaging/archive/refs/tags/v%{version}.tar.gz#/fedora-messaging-%{version}.tar.gz
|
Source: https://github.com/fedora-infra/fedora-messaging/archive/refs/tags/v%{version}.tar.gz#/fedora-messaging-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module Sphinx}
|
||||||
|
BuildRequires: %{python_module Twisted}
|
||||||
|
BuildRequires: %{python_module base >= 3.9}
|
||||||
|
BuildRequires: %{python_module blinker}
|
||||||
|
BuildRequires: %{python_module click}
|
||||||
|
BuildRequires: %{python_module coverage}
|
||||||
|
BuildRequires: %{python_module crochet}
|
||||||
|
BuildRequires: %{python_module jsonschema}
|
||||||
|
BuildRequires: %{python_module pika >= 1.0.0}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module poetry-core}
|
||||||
|
BuildRequires: %{python_module pyOpenSSL}
|
||||||
|
BuildRequires: %{python_module pytest-mock}
|
||||||
|
BuildRequires: %{python_module pytest-twisted}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module service_identity}
|
||||||
|
BuildRequires: %{python_module tomli}
|
||||||
|
BuildRequires: %{python_module towncrier}
|
||||||
|
BuildRequires: %{python_module treq}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -36,81 +54,43 @@ Requires: python-jsonschema
|
|||||||
Requires: python-pika >= 1.0.1
|
Requires: python-pika >= 1.0.1
|
||||||
Requires: python-pyOpenSSL
|
Requires: python-pyOpenSSL
|
||||||
Requires: python-pytz
|
Requires: python-pytz
|
||||||
|
Requires: python-requests
|
||||||
Requires: python-service_identity
|
Requires: python-service_identity
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
Requires: python-tomli
|
Requires: python-tomli
|
||||||
BuildArch: noarch
|
|
||||||
# SECTION test requirements
|
|
||||||
BuildRequires: %{python_module Sphinx}
|
|
||||||
BuildRequires: %{python_module Twisted}
|
|
||||||
BuildRequires: %{python_module blinker}
|
|
||||||
BuildRequires: %{python_module click}
|
|
||||||
BuildRequires: %{python_module coverage}
|
|
||||||
BuildRequires: %{python_module crochet}
|
|
||||||
BuildRequires: %{python_module jsonschema}
|
|
||||||
BuildRequires: %{python_module pika >= 1.0.1}
|
|
||||||
BuildRequires: %{python_module pyOpenSSL}
|
|
||||||
BuildRequires: %{python_module pytest-mock}
|
|
||||||
BuildRequires: %{python_module pytest-twisted}
|
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module pytz}
|
|
||||||
BuildRequires: %{python_module service_identity}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module tomli}
|
|
||||||
BuildRequires: %{python_module towncrier}
|
|
||||||
BuildRequires: %{python_module treq}
|
|
||||||
# /SECTION
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A set of Python tools for using Fedora's messaging infrastructure.
|
A set of Python tools for using Fedora's messaging infrastructure.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n fedora-messaging-%{version}
|
%autosetup -p1 -n %{_modname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/fedora-messaging
|
%python_clone -a %{buildroot}%{_bindir}/%{_modname}
|
||||||
%{python_expand rm -r %{buildroot}%{$python_sitelib}/fedora_messaging/tests/
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%fdupes %{buildroot}%{$python_sitelib}
|
|
||||||
}
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative fedora-messaging
|
%python_install_alternative %{_modname}
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative fedora-messaging
|
%python_uninstall_alternative %{_modname}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export PATH=$PATH:%{buildroot}%{_bindir}
|
%pytest -k "not test_no_conf" tests/unit
|
||||||
export PYTHONDONTWRITEBYTECODE=1
|
|
||||||
export LANG=en_US.UTF-8
|
|
||||||
# to avoid import collision
|
|
||||||
pushd fedora_messaging
|
|
||||||
# Tests that fails on python 3.12 because unittest.mock
|
|
||||||
donttest="test_bindings_dict"
|
|
||||||
donttest+=" or test_bindings_list_of_dict"
|
|
||||||
donttest+=" or test_defaults"
|
|
||||||
donttest+=" or test_with_queues"
|
|
||||||
donttest+=" or test_wrap_bindings"
|
|
||||||
donttest+=" or test_app_name"
|
|
||||||
donttest+=" or test_callable_getattr_failure"
|
|
||||||
donttest+=" or test_cli_callable_import_failure_cli_opt"
|
|
||||||
donttest+=" or test_cli_callable_wrong_format"
|
|
||||||
donttest+=" or test_missing_cli_and_conf_callable"
|
|
||||||
%pytest -k "not ($donttest)" tests/unit
|
|
||||||
popd
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
%license LICENSES/GPL-2.0-or-later.txt
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%python_alternative %{_bindir}/%{_modname}
|
||||||
%python_alternative %{_bindir}/fedora-messaging
|
|
||||||
%{python_sitelib}/fedora_messaging
|
%{python_sitelib}/fedora_messaging
|
||||||
%{python_sitelib}/fedora_messaging-%{version}*-info
|
%{python_sitelib}/fedora_messaging-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user