-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix #6371: make pip install respect --ignore-requires-python #6518
Fix #6371: make pip install respect --ignore-requires-python #6518
Conversation
89c9ae8
to
795946e
Compare
795946e
to
d71157e
Compare
Rebased after PR #6514. |
d71157e
to
5b1f797
Compare
src/pip/_internal/index.py
Outdated
return False | ||
|
||
logger.debug( | ||
'Ignoring incompatible Requires-Python (%s not in: %r) ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This log message could (when read quickly) lead the user to think that the link was ignored.
Maybe 'Ignoring incompatible Requires-Python check result (%s not in: %r) for link: %s'
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good suggestion! I went ahead and changed it to:
Ignoring failed Requires-Python check (3.6.5 not in: '== 3.6.4') for link: ...
5b1f797
to
5528d35
Compare
Thanks for reviewing, @xavfernandez! |
This fixes #6371.