Skip to content

Switch to new-style pluggy hook wrappers #11122

Closed
@bluetech

Description

@bluetech

This is a new feature in pluggy 1.1.0: https://pluggy.readthedocs.io/en/latest/changelog.html#pluggy-1-1-0-2023-06-19

They are slightly cleaner, faster (if only new-style wrappers are used) and safer (better handling of exceptions thrown after the yield). They are fully interoperable with hookwrapper=True wrappers.

This will require pluggy>=1.1.0.

Metadata

Metadata

Assignees

Labels

type: proposalproposal for a new feature, often to gather opinions or design the API around the new feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions