11
0
forked from pool/python-pluggy

- 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pluggy?expand=0&rev=30
This commit is contained in:
2024-05-06 05:24:49 +00:00
committed by Git OBS Bridge
parent 8e1c4fc208
commit 9cf6bebda0
4 changed files with 32 additions and 15 deletions

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Mon May 6 05:24:03 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- 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.
-------------------------------------------------------------------
Tue Feb 20 19:49:28 UTC 2024 - Ben Greiner <code@bnavigator.de>