From 620878f491e194759cd07fd453105ce5d390f548a525f80654dced410151866f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 25 Sep 2024 17:16:20 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-pluggy revision 60676ed5d6e33c655b02dd0a5ed31d80 --- pluggy-1.0.0.tar.gz | 3 --- pluggy-1.3.0.tar.gz | 3 +++ python-pluggy.changes | 28 +++++++++++++++++++++++----- python-pluggy.spec | 5 +++-- 4 files changed, 29 insertions(+), 10 deletions(-) delete mode 100644 pluggy-1.0.0.tar.gz create mode 100644 pluggy-1.3.0.tar.gz diff --git a/pluggy-1.0.0.tar.gz b/pluggy-1.0.0.tar.gz deleted file mode 100644 index 52f5dbb..0000000 --- a/pluggy-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159 -size 51510 diff --git a/pluggy-1.3.0.tar.gz b/pluggy-1.3.0.tar.gz new file mode 100644 index 0000000..75e6484 --- /dev/null +++ b/pluggy-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12 +size 63670 diff --git a/python-pluggy.changes b/python-pluggy.changes index 635f7c0..3dc4ea1 100644 --- a/python-pluggy.changes +++ b/python-pluggy.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Tue Nov 7 20:23:11 UTC 2023 - Dirk Müller + +- 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 @@ -12,17 +30,17 @@ Thu Apr 13 22:43:04 UTC 2023 - Matej Cepl Sun Oct 17 12:12:42 UTC 2021 - Ben Greiner - Update to version 1.0.0 - Deprecations and Removals + Deprecations and Removals * #116: Remove deprecated implprefix support. Decorate hook implementations using an instance of HookimplMarker instead. - The deprecation was announced in release 0.7.0. + The deprecation was announced in release 0.7.0. * #120: Remove the deprecated proc argument to call_historic. Use result_callback instead, which has the same behavior. The - deprecation was announced in release 0.7.0. + deprecation was announced in release 0.7.0. * #265: Remove the _Result.result property. Use _Result.get_result() instead. Note that unlike result, get_result() raises the exception if the hook raised. The - deprecation was announced in release 0.6.0. + deprecation was announced in release 0.6.0. * #267: Remove official support for Python 3.4. * #272: Dropped support for Python 2. Continue to use pluggy 0.13.x for Python 2 support. @@ -200,7 +218,7 @@ Fri Apr 7 15:09:41 UTC 2017 - jmatejek@suse.com * add has_plugin(name) method to pluginmanager. thanks Bruno Oliveira. * fix issue11: make plugin parsing more resilient against exceptions from __getattr__ functions. Thanks Bruno Oliveira. - * fix issue #4: specific HookCallError exception for when a hook call + * fix issue #4: specific HookCallError exception for when a hook call provides not enough arguments. * better error message when loading setuptools entrypoints fails due to a VersionConflict. Thanks Daniel Hahler. diff --git a/python-pluggy.spec b/python-pluggy.spec index b2e2284..a63cc9f 100644 --- a/python-pluggy.spec +++ b/python-pluggy.spec @@ -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