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

Remove pytest-runner from setup_requires #20

Open
walsvid opened this issue Feb 1, 2024 · 0 comments
Open

Remove pytest-runner from setup_requires #20

walsvid opened this issue Feb 1, 2024 · 0 comments

Comments

@walsvid
Copy link

walsvid commented Feb 1, 2024

Due to pytest-runner being in a deprecated state (as seen in references [1] [2]), it is recommended that the author clean up the dependency of imgcat on pytest-runner. Conflicts caused by this dependency can lead to incorrect installation issues during pip install.

[1] https://github.com/pytest-dev/pytest-runner/
[2] https://pypi.org/project/pytest-runner/

Deprecation Notice
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 tests_requires option.

Select a tool to bootstrap and then run tests such as tox.

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