Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hooks: fix plugins registering other plugins in a hook #473

Merged
merged 1 commit into from
Jan 21, 2024

Conversation

bluetech
Copy link
Member

when the other plugins implement the same hook itself.

Fix #438.
Regressed in 63b7e90 - pluggy 1.1.0.

Went with the simple solution described in the issue for now, basically undoing most of the rationale for 63b7e90 (though I think it's still better to have a single _hookimpls list).

when the other plugins implement the same hook itself.

Fix pytest-dev#438.
Regressed in 63b7e90 - pluggy 1.1.0.

Went with the simple solution described in the issue for now, basically
undoing most of the rationale for 63b7e90 (though I
think it's still better to have a single `_hookimpls` list).
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.

LGTM!

Should we add a CHANGELOG entry too?

@bluetech bluetech merged commit 4331b7a into pytest-dev:main Jan 21, 2024
16 of 17 checks passed
@bluetech bluetech deleted the iterator-invalidation branch January 21, 2024 10:43
@bluetech
Copy link
Member Author

Should we add a CHANGELOG entry too?

I will update the changelogs before doing a release. I will do a release in the next few days.

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.

pytest won't run root conftest.py's pytest_configure in special circumstances
3 participants