[#426](https://github.com/pytest-dev/pluggy/issues/426) <https://github.com/pytest-dev/pluggy/issues/426>_: Python 3.7 is no longer supported.
Features
[#428](https://github.com/pytest-dev/pluggy/issues/428) <https://github.com/pytest-dev/pluggy/issues/428>_: Pluggy now exposes its typings to static type checkers.
As part of this, the following changes are made:
Renamed _Result to Result, and exported as :class:pluggy.Result.
Renamed _HookRelay to HookRelay, and exported as :class:pluggy.HookRelay.
Renamed _HookCaller to HookCaller, and exported as :class:pluggy.HookCaller.
Exported HookImpl as :class:pluggy.HookImpl.
Renamed _HookImplOpts to HookimplOpts, and exported as :class:pluggy.HookimplOpts.
Renamed _HookSpecOpts to HookspecOpts, and exported as :class:pluggy.HookspecOpts.
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.
We do not plan to remove the aliases, but we strongly recommend to only import from pluggy.* to ensure future compatibility.
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.
pluggy 1.2.0 (2023-06-21)
Features
[#405](https://github.com/pytest-dev/pluggy/issues/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.
pluggy 1.1.0 (YANKED)
.. note::
This release was yanked because unfortunately the implicit new-style hook wrappers broke some downstream projects.
See [#403](https://github.com/pytest-dev/pluggy/issues/403) <https://github.com/pytest-dev/pluggy/issues/403>__ for more information.
This was rectified in the 1.2.0 release.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pluggy from 1.0.0 to 1.3.0.
Changelog
Sourced from pluggy's changelog.
... (truncated)
Commits
e13a58c
Preparing release 1.3.0c53af98
Merge pull request #434 from bluetech/typing462da97c
Export pluggy's typing973fb56
tracing: more compatible types for_Writer
and_Processor
b5fb741
Export__version__
1b1042e
Merge pull request #430 from bluetech/typing3ba6fb4a
[pre-commit.ci] pre-commit autoupdateaea172a
[pre-commit.ci] pre-commit autoupdate20b419d
docs: enable nitpicky mode80a73dc
Mark some fields and classesFinal
and@final
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show