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
deprecate marker based hook metadata #4562
Comments
Just for reference: instead of pytest/src/_pytest/config/__init__.py Lines 259 to 287 in 19035f4
(I've just came along about a plugin using @pytest.mark.hookwrapper and looked it up)
|
I added this to the 6.1 milestone: hopefully we can start emitting deprecation warnings in 6.x. However the |
@nicoddemus while investigating i noted, that it seems like we dont have a good way to issue/record warnings with specific locations at that point in time, this seems hard to correctly fix at first glance, so i will defer it until i can spend some more time with the issue at hand |
followup to #891
while implementing i noticed we support attribute/mark based hook metadata just in pytest,
we should deprecate that custom parsing and rely entirely on pluggy markers
The text was updated successfully, but these errors were encountered: