Sync from SUSE:SLFO:Main python-pluggy revision 60676ed5d6e33c655b02dd0a5ed31d80

This commit is contained in:
Adrian Schröter 2024-09-25 17:16:20 +02:00
parent 82cd29469a
commit 620878f491
4 changed files with 29 additions and 10 deletions

BIN
pluggy-1.0.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pluggy-1.3.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Tue Nov 7 20:23:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.3.0:
* Python 3.7 is no longer supported.
* Pluggy now exposes its typings to static type checkers.
* Some fields and classes are marked ``Final`` and ``@final``.
* The :ref:`api-reference` is updated to clearly delineate
pluggy's public API.
Compatibility aliases are put in place for the renamed types.
Please note that pluggy is currently unable to provide strong
typing for hook calls, e.g. ``pm.hook.my_hook(...)``,
nor to statically check that a hook implementation matches
the hook specification's type.
* The new-style hook wrappers, added in the yanked 1.1.0
release, now require an explicit ``wrapper=True`` designation
in the ``@hookimpl()`` decorator.
-------------------------------------------------------------------
Fri Apr 21 12:29:29 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -28,7 +28,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-pluggy%{psuffix}
Version: 1.0.0
Version: 1.3.0
Release: 0
Summary: A minimalist production ready plugin system
License: MIT
@ -45,7 +45,8 @@ Requires: python-importlib-metadata >= 0.12
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module importlib-metadata >= 0.12 if %python-base < 3.8}
BuildRequires: %{python_module pytest >= 6.2.5}
BuildRequires: %{python_module pluggy = %{version}}
BuildRequires: %{python_module pytest >= 7.3.0}
%endif
%python_subpackages