Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop pytest-runner use #82

Open
brews opened this issue Aug 5, 2020 · 0 comments
Open

Drop pytest-runner use #82

brews opened this issue Aug 5, 2020 · 0 comments

Comments

@brews
Copy link
Member

brews commented Aug 5, 2020

From https://pypi.org/project/pytest-runner/:

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’ bypass pip --require-hashes. See also pypa/setuptools#1684.

It is recommended that you:

  • Remove ‘pytest-runner’ from your ‘setup_requires’, preferably removing the setup_requires option.
  • Remove ‘pytest’ and any other testing requirements from ‘tests_require’, preferably removing the setup_requires option.
  • Select a tool to bootstrap and then run tests such as tox

I don't think dropping this would radically change the package, or how tests are run. It's just a matter of carefully removing it and everything created for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant