-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
recommended pytest-runner in setup_requires means packages fail to install often #3814
Comments
Going foward it's probably better to recommend only the conditional requirement https://github.com/pytest-dev/pytest-runner#conditional-requirement |
I agree - that section should at least discuss the downsides of using IMO we should present the manual option first, then discuss how this bypasses standard packaging tools, advise against it for libraries, and finally point to |
pytest runner should not be unconditionally included in setup_requires This change makes it conditional on setup.py invocation arguments as recommended upstream [1] See: pytest-dev/pytest#3814 [1] https://pytest-runner.readthedocs.io/en/latest/#conditional-requirement
pytest runner should not be unconditionally included in setup_requires. This change makes it conditional on setup.py invocation arguments as recommended upstream [1]. See: pytest-dev/pytest#3814 Identified via: [FreeBSD Ports Bug 242065](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242065) Closes #417 Closes #420 [1] https://pytest-runner.readthedocs.io/en/latest/#conditional-requirement
See more details here: https://pytest-runner.readthedocs.io/en/latest/#conditional-requirement and here: pytest-dev/pytest#3814
See more details here: https://pytest-runner.readthedocs.io/en/latest/#conditional-requirement and here: pytest-dev/pytest#3814
The recommendation to add
pytest-runner
tosetup_requires
means that all users of that package end up with an unnecessary pytest-runner package installed. This is bad because it bypasses pip hashes and--trusted-host
https://docs.pytest.org/en/latest/goodpractices.html#integrating-with-setuptools-python-setup-py-test-pytest-runner
MechanicalSoup/MechanicalSoup#224
rxcomm/pyaxo#26
jpadilla/pyjwt#179
The text was updated successfully, but these errors were encountered: