Description
Here's a quick checklist in what to include:
- Include a detailed description of the bug or suggestion
With #4250 the __pycache__
directories are skipped during the collection phase to improve performance. Since then the plugin pytest-remove-stale-bytecode
(history #590) has not been working anymore.
As the skipping is performed outside the pytest_ignore_collect
it is also not easily possible to change the behaviour or to configure it somehow.
The package will be put in inactive mode for now, as this seems to be too much of a change for this plugin. If the interest in this plugin is reasonable high, this can be changed of course.
What is your opinion to that? Do you see any other option to get rid of the cache between test runs?
-
pip list
of the virtual environment you are using- This is more conceptional and not needed.
-
pytest and operating system versions:
- Pytest >= 3.10, Linux and Mac
-
Minimal example if possible
- Run the tests of pytest-remove-stale-bytecode at this commit 77bc935b014c