Move away from pytest-runner
From pytest-runner
's README:
pytest-runner
depends on deprecated features of setuptools and relies on features that break security mechanisms in pip. For example ‘setup_requires
’ and ‘tests_require
’ bypasspip --require-hashes
. See also pypa/setuptools#1684.It is recommended that you:
- Remove '
pytest-runner
' from yoursetup_requires
, preferably removing thesetup_requires
option.- Remove '
pytest
' and any other testing requirements fromtests_require
, preferably removing thetests_requires
option.- Select a tool to bootstrap and then run tests such as
tox
.