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 the -s flag to rez-pip because "pip search" is decommissioned #1105

Conversation

JeanChristopheMorinPerso
Copy link
Member

@JeanChristopheMorinPerso JeanChristopheMorinPerso commented Jul 9, 2021

Fixes #1104 .
As the title says, remove the -s flag to rez-pip because pip search functionality that was provided by PyPI has been decommissioned, see https://status.python.org/incidents/grk0k7sz6zkp.

Recent pip versions prints a nice error message, but studios using an older version just gets an unhandled error from pip.

So the safe thing to do is to remove the flag. I could keep the flag and simply print an error, but in my opinion, just getting rid of the flag should be enough... In any case, let me know and I can re-introduce the flag and print a user friendly error message.

@nerdvegas nerdvegas merged commit 6b780dd into AcademySoftwareFoundation:master Jul 13, 2021
@JeanChristopheMorinPerso JeanChristopheMorinPerso deleted the remove_rez_pip_search branch July 18, 2021 17:40
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 this pull request may close these issues.

Deprecate rez-pip -s flag because pip-search is disabled and will likely not return
2 participants