pytest-dev/pluggy
### [`v1.1.0`](https://togithub.com/pytest-dev/pluggy/blob/HEAD/CHANGELOG.rst#pluggy-110-2023-06-19)
[Compare Source](https://togithub.com/pytest-dev/pluggy/compare/1.0.0...1.1.0)
\=========================
## Deprecations and Removals
- `#364 `\_: Python 3.6 is no longer supported.
## Features
- `#260 `\_: Added "new-style" hook wrappers, a simpler but equally powerful alternative to the existing `hookwrapper=True` wrappers.
New-style wrappers are generator functions, similarly to `hookwrapper`, but do away with the :class:`result ` object.
Instead, the return value is sent directly to the `yield` statement, or, if inner calls raised an exception, it is raised from the `yield`.
The wrapper is expected to return a value or raise an exception, which will become the result of the hook call.
New-style wrappers are fully interoperable with old-style wrappers.
We encourage users to use the new style, however we do not intend to deprecate the old style any time soon.
See :ref:`hookwrappers` for the full documentation.
- `#364 `\_: Python 3.11 and 3.12 are now officially supported.
- `#394 `\_: Added the :meth:`~pluggy._callers._Result.force_exception` method to `_Result`.
`force_exception` allows (old-style) hookwrappers to force an exception or override/adjust an existing exception of a hook invocation,
in a properly behaving manner. Using `force_exception` is preferred over raising an exception from the hookwrapper,
because raising an exception causes other hookwrappers to be skipped.
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
==1.0.0
->==1.1.0
Release Notes
pytest-dev/pluggy
### [`v1.1.0`](https://togithub.com/pytest-dev/pluggy/blob/HEAD/CHANGELOG.rst#pluggy-110-2023-06-19) [Compare Source](https://togithub.com/pytest-dev/pluggy/compare/1.0.0...1.1.0) \========================= ## Deprecations and Removals - `#364Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.