Repository navigation
ENH: integrate with pytest 9's strict mode - #111
neutrinoceros wants to merge 1 commit into
Conversation
03de5f6 to
bde92a8
Compare
|
I wonder how backward compatible this is or we have to bump pytest minversion. Hard to tell with failing CI. 🤔 |
|
This is supposed to be almost fully backwards compatible. where It's not expected to happen in practice: the global Failures may actually reveal remaining bugs in pytest itself. In any case I need more time to figure it out. |
6cdbe18 to
19ca6be
Compare
|
A couple minutes more down the rabbit hole and I found the root causes for failing tests were all contained in the plugin. One defect was with my patch itself, and the other one was in the default value for |
|
I think I can rework this to avoid dropping support for pytest 7 and 8. Will keep it a draft until then |
19ca6be to
13b6974
Compare
13b6974 to
c5a24d3
Compare
|
This is now complete with unchanged requirements. Features added here however do need pytest 9 so they are only available at runtime if this requirement is met |
6bbb48c to
0b9e847
Compare
pllim
left a comment
There was a problem hiding this comment.
I think this is a good compromise. Thanks for putting in the extra work for backward compatibility.
I will leave it open for a bit so @astrofrog or @bsipocz have a chance to review. LGTM though.
0b9e847 to
05ff4a3
Compare
05ff4a3 to
346d825
Compare
based off #110
The idea is that, in line with similar, builtin options such as
strict_markersorstrict_xfail, enabling pytest'sstrictmode should implicitly turn onstrict_remote_dataif it's not explicitly configured.I'm opening as a draft for now because one of the tests added is failing. I've marked it as xfail to filter out CI noise but this marker needs to be removed before I can undraft the PR