Update dependency pluggy to v1.2.0 #51

Merged
renovate[bot] merged 1 commits from renovate/pluggy-1.x into main 2023-06-23 08:15:21 +02:00
renovate[bot] commented 2023-06-19 16:51:09 +02:00 (Migrated from github.com)

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pluggy ==1.0.0 -> ==1.2.0 age adoption passing confidence

Release Notes

pytest-dev/pluggy

v1.2.0

Compare Source

=========================

Features

  • #&#8203;405 <https://github.com/pytest-dev/pluggy/issues/405>_: The new-style hook wrappers, added in the yanked 1.1.0 release, now require an explicit wrapper=True designation in the @hookimpl() decorator.

v1.1.0

Compare Source

=====================

.. note::

This release was yanked because unfortunately the implicit new-style hook wrappers broke some downstream projects.
See #&#8203;403 <https://github.com/pytest-dev/pluggy/issues/403>__ for more information.
This was rectified in the 1.2.0 release.

Deprecations and Removals

  • #&#8203;364 <https://github.com/pytest-dev/pluggy/issues/364>_: Python 3.6 is no longer supported.

Features

  • #&#8203;260 <https://github.com/pytest-dev/pluggy/issues/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 <pluggy._callers._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.

  • #&#8203;364 <https://github.com/pytest-dev/pluggy/issues/364>_: Python 3.11 and 3.12 are now officially supported.

  • #&#8203;394 <https://github.com/pytest-dev/pluggy/issues/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 is behind base branch, 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.

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pluggy](https://togithub.com/pytest-dev/pluggy) | `==1.0.0` -> `==1.2.0` | [![age](https://badges.renovateapi.com/packages/pypi/pluggy/1.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/pluggy/1.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/pluggy/1.2.0/compatibility-slim/1.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/pluggy/1.2.0/confidence-slim/1.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pytest-dev/pluggy</summary> ### [`v1.2.0`](https://togithub.com/pytest-dev/pluggy/blob/HEAD/CHANGELOG.rst#pluggy-120-2023-06-21) [Compare Source](https://togithub.com/pytest-dev/pluggy/compare/1.1.0...1.2.0) \========================= ## Features - `#&#8203;405 <https://github.com/pytest-dev/pluggy/issues/405>`\_: The new-style hook wrappers, added in the yanked 1.1.0 release, now require an explicit `wrapper=True` designation in the `@hookimpl()` decorator. ### [`v1.1.0`](https://togithub.com/pytest-dev/pluggy/blob/HEAD/CHANGELOG.rst#pluggy-110-YANKED) [Compare Source](https://togithub.com/pytest-dev/pluggy/compare/1.0.0...1.1.0) \===================== .. note:: This release was yanked because unfortunately the implicit new-style hook wrappers broke some downstream projects. See `#&#8203;403 <https://github.com/pytest-dev/pluggy/issues/403>`\__ for more information. This was rectified in the 1.2.0 release. ## Deprecations and Removals - `#&#8203;364 <https://github.com/pytest-dev/pluggy/issues/364>`\_: Python 3.6 is no longer supported. ## Features - `#&#8203;260 <https://github.com/pytest-dev/pluggy/issues/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 <pluggy._callers._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. - `#&#8203;364 <https://github.com/pytest-dev/pluggy/issues/364>`\_: Python 3.11 and 3.12 are now officially supported. - `#&#8203;394 <https://github.com/pytest-dev/pluggy/issues/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. </details> --- ### 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 is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/luketainton/roboluke-tasks). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
luketainton (Migrated from github.com) reviewed 2023-06-19 16:51:09 +02:00
sonarqubecloud[bot] commented 2023-06-23 08:12:26 +02:00 (Migrated from github.com)

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Kudos, SonarCloud Quality Gate passed!&nbsp; &nbsp; [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=luketainton_roboluke-tasks&pullRequest=51) [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=luketainton_roboluke-tasks&pullRequest=51&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=luketainton_roboluke-tasks&pullRequest=51&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=luketainton_roboluke-tasks&pullRequest=51&resolved=false&types=BUG) [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=luketainton_roboluke-tasks&pullRequest=51&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=luketainton_roboluke-tasks&pullRequest=51&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=luketainton_roboluke-tasks&pullRequest=51&resolved=false&types=VULNERABILITY) [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=luketainton_roboluke-tasks&pullRequest=51&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=luketainton_roboluke-tasks&pullRequest=51&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=luketainton_roboluke-tasks&pullRequest=51&resolved=false&types=SECURITY_HOTSPOT) [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=luketainton_roboluke-tasks&pullRequest=51&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=luketainton_roboluke-tasks&pullRequest=51&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=luketainton_roboluke-tasks&pullRequest=51&resolved=false&types=CODE_SMELL) [![No Coverage information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png 'No Coverage information')](https://sonarcloud.io/component_measures?id=luketainton_roboluke-tasks&pullRequest=51&metric=coverage&view=list) No Coverage information [![No Duplication information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png 'No Duplication information')](https://sonarcloud.io/component_measures?id=luketainton_roboluke-tasks&pullRequest=51&metric=duplicated_lines_density&view=list) No Duplication information
Sign in to join this conversation.
No description provided.