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 #232

Closed
NEGU93 opened this issue Dec 8, 2023 · 1 comment · Fixed by #234
Closed

remove pytest-runner from setup requires #232

NEGU93 opened this issue Dec 8, 2023 · 1 comment · Fixed by #234

Comments

@NEGU93
Copy link

NEGU93 commented Dec 8, 2023

I cannot seem to find why pytest-runner package is necessary (see here).
My work proxy don't have this module and therefore it prevents me from installing upsetplot. (I tried --no-deps but fails anyway).

Is it possible to remove it?

@NEGU93
Copy link
Author

NEGU93 commented Dec 8, 2023

Also, it seems deprecated. Source

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

Successfully merging a pull request may close this issue.

1 participant