Thanks to visit codestin.com
Credit goes to github.com

Skip to content

patch piphack script versions of pip 19.1+ #1

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

Merged
merged 2 commits into from
Feb 19, 2021
Merged

Conversation

yacn
Copy link

@yacn yacn commented Feb 18, 2021

also removed a blurb that wasn't doing anything in python_runtime_pip.rb
tested on pip versions 20+ as well as 19 and 18. should still be careful reviewing this and testing though.

Copy link

@abakhru abakhru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pip>20 and above has 'new resolver' which could cause troubles (https://pip.pypa.io/en/stable/news/), need to test it throughly.

@zdelagrange
Copy link

1 nit from me.

without knowing enough about pip. the code looks sane.

@yacn
Copy link
Author

yacn commented Feb 18, 2021

pip>20 and above has 'new resolver' which could cause troubles (https://pip.pypa.io/en/stable/news/), need to test it throughly.

yeah, agree, lots of testing needed for pip upgrade and not proposing we go ahead w/ that after this PR. it's just that some boxes come w/ pip 20 installed which was breaking the script in this cookbook since all the internal apis changed which was preventing pip from being downgraded to 18.

@yacn yacn merged commit 6076237 into master Feb 19, 2021
@yacn yacn deleted the piphack-script-fix branch February 19, 2021 21:48
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.

5 participants