GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
Once pypa/setuptools#631 is merged, it should be easier to add functionnal tests
I'm wondering wheither pip should provide an escape hatch via some --ignore-requires-python or not.
Yes, it should have an escape hatch.
Escape hatch added.
This PR would also help avoid further issues like #3390
This is exciting!
@pfmoore @dstufft does this look ok to you ?
Other than the one minor comment, LGTM.
Abort install if Requires-Python do not match the running version
Add --ignore-requires-python escape hatch
Add tests for python_requires
and cleanup when install is aborted
Bump invalid specifier log to warning level
Update UnsupportedPythonVersion docstring
Thanks for this!
I added it as a solution to the old standing question How to write Python code that is able to properly require a minimal python version? at SO.