-
Notifications
You must be signed in to change notification settings - Fork 47
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
Pluggy 1.4.0 now warns about deprecated hook wrapper style #221
Comments
@neutrinoceros , are you sure #219 didn't fix the problem in astropy ? CircleCI is also green with dev version of pytest-mpl (astropy/astropy#15942). Maybe instead of implementing #216 , all we need is a new release of pytest-mpl (which would be faster to do and is needed anyway since the last release was 2 years ago). |
Now I am confused, see astropy/astropy#15929 (comment) |
It cannot officially "fix the CI" but would indicate a new patch here isn't necessary, just a new release. But again, maybe I was just lucky that it passed using dev version of pytest-mpl if the failures don't pop up all the time. 🤷♀️ |
If the only error you are seeing is When I was seeing that error before (i.e. error raised in teardown) it was very flaky. It appeared in different tests every time I ran pytest. If you temporarily replace There's just one PR that needs reviewed and merged before a new |
Thanks a lot for the clarification @ConorMacBride ! |
Pluggy 1.4.0 was released a couple hours ago.
It nows warns about old-style hook wrappers:
pytest-mpl/pytest_mpl/plugin.py
Lines 762 to 763 in db0ea36
pytest-mpl/pytest_mpl/plugin.py
Lines 930 to 931 in db0ea36
See the release notes and docs.
The text was updated successfully, but these errors were encountered: