Closed johningve closed 8 months ago
Hmm, looks like pytest-randomly doesn't support Python 3.7 :(
Python 3.7 is EOL since this summer. @eskaur should we drop support?
Python 3.7 is EOL since this summer. @eskaur should we drop support?
@johningve Fine by me, but not really my call anymore. Two things:
@eskaur Two things are needed to bring back 3.7 and at the same time support 3.12:
pytest-randomly
needs to be frozen at version 3.12. This version does not claim to support Python 3.12, but it appears to work._version.py
needs to use a fallback on 3.7 since 3.7 doesn't have importlib.metadata
.@eskaur Two things are needed to bring back 3.7 and at the same time support 3.12:
pytest-randomly
needs to be frozen at version 3.12. This version does not claim to support Python 3.12, but it appears to work._version.py
needs to use a fallback on 3.7 since 3.7 doesn't haveimportlib.metadata
.
The previous PR changed _version.py
to use importlib.metadata
.
This PR randomizes the order unit tests are executed in. In the process of enabling this I also fixed several order-dependency problems in the unit tests.