- Update to 1.5.0:
* Features
+ Add support for deprecating specific hook parameters, or more
generally, for issuing a warning whenever a hook implementation
requests certain parameters.
+ A warning ~pluggy.PluggyTeardownRaisedWarning is now issued when an
old-style hookwrapper raises an exception during teardown.
+ Add PluginManager.unblock <pluggy.PluginManager.unblock> method to
unblock a plugin by plugin name.
* Bug Fixes
+ PluginManager.get_plugins() no longer returns None for blocked plugins.
+ Fix ~pluggy.HookCaller.call_extra() extra methods getting ordered
before everything else in some circumstances. Regressed in pluggy 1.1.0.
+ Fix plugins registering other plugins in a hook when the other plugins
implement the same hook itself. Regressed in pluggy 1.1.0.
- Switch to pyproject macros.
- Revert to 1.3.0
* Pytest 7 is not compatible with pluggy 1.4 but many packages
are not compatible with pytest 8 yet
- update to 1.4.0:
* A warning :class:`~pluggy.PluggyTeardownRaisedWarning`
is now issued when an old-style hookwrapper raises an
exception during teardown. See the warning documentation for
more details.
* Add :func:`PluginManager.unblock
<pluggy.PluginManager.unblock>` method to unblock a plugin by
plugin name.
* Fix :func:`~pluggy.HookCaller.call_extra()` extra
OBS-URL: https://build.opensuse.org/request/show/1172296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=19
- 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.
Deprecations and Removals
The deprecation was announced in release 0.7.0.
deprecation was announced in release 0.7.0.
deprecation was announced in release 0.6.0.
* fix issue #4: specific HookCallError exception for when a hook call
OBS-URL: https://build.opensuse.org/request/show/1124102
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=18
- Update to 0.9.0:
* #189: PluginManager.load_setuptools_entrypoints now accepts a name parameter that when given will load only entry points with that name.
* PluginManager.load_setuptools_entrypoints also now returns the number of plugins loaded by the call, as opposed to the number of all plugins loaded by all calls to this method.
- Switch to multibuild in order to avoid build loop
- Update to 0.8.1:
* #166: Add stacklevel=2 to implprefix warning so that the reported location of warning is the caller of PluginManager.
OBS-URL: https://build.opensuse.org/request/show/679233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pluggy?expand=0&rev=10