GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing github.com — MNT: Compat with pytest 8.1 by pllim · Pull Request #219 · matplotlib/pytest-mpl Conversation
|
|
Good catch; reverted. Thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I have no idea what this test failure is in pytest-dev job |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
That commit I reverted was from #215 by @ConorMacBride . I have no idea what he meant by "Skip pytestdev until hook wrapper issue is fixed" as there is no further explanation in the PR nor any linked issue. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The hook wrapper issue is #216 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
When I tested a fix for #216 last month, the tests passed with the pytest main branch installed. I did not see any mention of this issue, which seems strange as I would have expected the deprecation warning to be raised as an exception. Have you seen this pytest-mpl hook raise an exception?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
We didn't see deprecation warnings in other plugins either and similar failures popped up when they became actual errors. I haven't dug deep enough to get a full understanding but the plugins/pytest doesn't always behave the same predictable way as a normal test dependency library. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
and fix up the other pytest 8 compat problem with old-style hook wrapper. Update flake8 setting to reflect what is actually in the code.
and remove unnecessary pytest version check I added earlier.
|
pytestdev is green but the log has traceback, is this expected? I don't maintain this plugin so I don't know what the test is supposed to do. https://github.com/matplotlib/pytest-mpl/actions/runs/7464235520/job/20310772695?pr=219 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Would be nice to get this merged sooner than later if this patch is acceptable. astropy devinfra job is failing without this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@ConorMacBride , does this look good to you now? Can we merge this? I don't have write access to this repo but astropy depends on it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Upgrade to new-style hook wrappers
There was an error while loading. Please reload this page.