Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

python3: don't run ensurepip during build #41544

Closed
wants to merge 2 commits into from

Conversation

tdsmith
Copy link
Contributor

@tdsmith tdsmith commented Jul 9, 2015

We don't want to run ensurepip, which installs an old version of pip; we
take care of this ourselves in postinstall.

On flat (i.e. non-Framework) builds, ensurepip causes an error in
postinstall because the pip-3.4 script already exists in prefix/bin.

Will resolve Linuxbrew/legacy-linuxbrew#469.

tdsmith added 2 commits July 9, 2015 13:20
We don't want to run ensurepip, which installs an old version of pip; we
take care of this ourselves in postinstall.

On flat (i.e. non-Framework) builds, ensurepip causes an error in postinstall
because the pip-3.4 script already exists in prefix/bin.

Will resolve Linuxbrew/legacy-linuxbrew#469.
This is the default setting for python 2.7, but we're applying this
change to python3, so we may as well apply the symmetric change here in
case the default changes in future micro releases.
@sjackman
Copy link
Member

sjackman commented Jul 9, 2015

I'll merge Homebrew into Linuxbrew once this PR is merged into Homebrew.

@tdsmith
Copy link
Contributor Author

tdsmith commented Jul 9, 2015

Done!

@tdsmith tdsmith closed this in 6bdc10d Jul 9, 2015
@tdsmith tdsmith deleted the python-ensurepip branch July 9, 2015 21:05
@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

python3 incorrect permissions on pip
2 participants