Skip to content

Switch to new-style pluggy hook wrappers#11123

Merged
bluetech merged 1 commit intopytest-dev:mainfrom
bluetech:new-style-wrappers
Jul 15, 2023
Merged

Switch to new-style pluggy hook wrappers#11123
bluetech merged 1 commit intopytest-dev:mainfrom
bluetech:new-style-wrappers

Conversation

@bluetech
Copy link
Member

Fix #11122.

Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's wait on pytest-dev/pluggy#405 before moving this forward. 👍

@bluetech bluetech force-pushed the new-style-wrappers branch from 52c1a7e to 147ad6b Compare June 21, 2023 06:54
@bluetech
Copy link
Member Author

Updated, pending pluggy 1.2.0 release (the pluggymain variants should pass).

@bluetech bluetech force-pushed the new-style-wrappers branch from 147ad6b to d9290ce Compare June 21, 2023 09:15
@bluetech bluetech force-pushed the new-style-wrappers branch from d9290ce to b41acae Compare July 14, 2023 19:48
@bluetech
Copy link
Member Author

Rebased, should be good to merge.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonder if this should be considered an improvement? Feels more like an internal change that does not affect users, so perhaps trivial would be more appropriate?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has some behavioral changes in exception handling, however mostly I want plugin authors to see it, so let's keep it as improvement.

@bluetech bluetech merged commit 78d81ef into pytest-dev:main Jul 15, 2023
@bluetech bluetech deleted the new-style-wrappers branch July 15, 2023 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch to new-style pluggy hook wrappers

2 participants