str0zzapreti / pytest-retry

A simple plugin for retrying flaky tests in CI environments
MIT License
27 stars 6 forks source link

Add support for pytest 8 #34

Closed adamtheturtle closed 5 months ago

adamtheturtle commented 5 months ago

Pytest 8 removed the ability to construct an Item.

Fixes #32 .

str0zzapreti commented 5 months ago

#11676: The classes Node, Collector, Item, File, FSCollector are now marked abstract (see abc).

We do not expect this change to affect users and plugin authors, it will only cause errors when the code is already wrong or problematic.

You're referring to this change, yeah? The absolute shade from the pytest devs 😩😭

adamtheturtle commented 5 months ago

Yes I am. Ha! I thought the same, but I don't know what "problematic" means. Though my guess (not investigated) is that the current implementation might cause some conflict if fakeboi exists somehow. Maybe that's problematic 😄