-
Notifications
You must be signed in to change notification settings - Fork 225
use ensurepip, other small cleanups #497
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
Conversation
mattip
commented
Mar 19, 2020
- document quay.io/organization/pypa for easy reference
- remove 3.4 from the documents
- replace get-pip with ensurepip
- add a hash for wheel
- pin python2.7 requirements since setuptools 46 doesn't support it xref Bump setuptools from 43.0.0 to 46.0.0 in /docker/build_scripts #491)
docker/build_scripts/build_utils.sh
Outdated
@@ -54,14 +54,18 @@ function do_cpython_build { | |||
if [ -e ${prefix}/bin/python3 ]; then | |||
ln -s python3 ${prefix}/bin/python | |||
fi | |||
${prefix}/bin/python get-pip.py | |||
${prefix}/bin/python -mensurepip |
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.
-m ensurepip?
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 catch!
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.
why? Both -mensurepip
and -m ensurepip
work.
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.
I see. Yes, but the second one is more readable.
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.
changing, thanks
What is the proper git incantation to merge this to manylinux2014? Do we merge the branch into manylinux2014 or cherry-pick the commits? |
@mattip, that would be cherry-picking the commits. |