-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Update Homebrew Formula to install in Virtualenv #8744
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
|
There is a known issue I'm still working around, where for some reason two versions of wheel are installed simultaneously after the installer finishes. However, I thought I'd get this open now to allow review/commenting on what I do have at the moment. |
This brings us into conformance with the guidelines for how to install Python applications in Homebrew: https://github.com/Homebrew/brew/blob/5eaf4e5c28e7605cd9d8e1631d376b0e46c98624/docs/Python-for-Formula-Authors.md#installing However, it is worth noting that after some internal discussions, it seems that there may be more clever ways to achieve the same levels of isolation. This change is not a philosophic disagreement with those ideas, just a pragmatic way forward until a better way is obvious.
This is a workaround for pypa/pip#6222. It should not be a permanent change.
This allows us to remove our dependency on an older version of the 'wheel' package. Rob Pike has a saying, "A little copy is better than a little dependency". I believe it's very applicable here, and you can here him talk about that philosophy here: https://www.youtube.com/watch?v=PAAkCSZUG1c&t=9m28s
williexu
left a comment
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.
Tested the homebrew install from source code personally with no problems.
This reverts commit 498a066.
Fixes #8689