-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
brew-pip no longer works #20080
Comments
Since you've found the source of this, I suggest you submit a pull request to brew-pip and brew-gem. |
@mistydemeo If |
Fixed in fc3cd4d |
@jacknagel |
@jacknagel, the error now is the following:
|
They already have stubs for Anyway, we should just remove them. We've tried submitting patches for other issues before and they've been rejected. |
I think that they are useful. Like I have said, I could for fork the projects, fix them, then update the formulas to point to my forks. |
Since these depend on implementation details of the Formula class, they should either be carried as Contributions, or ownership should be taken over. |
I don't use them personally, so I don't have a strong opinion. |
@adamv There isn't much to do. One just has to fix them then fix them again when Homebrew diverges. |
If you can make a pull request to fix these that would be great, thanks. |
For the brew-test-bot, we had a discussion how to automatically install python dependencies that are installable via pip. We could use |
@samueljohn Both |
I don't really see the benefit of brew-pip any more at all when we (very soon) allow pip to install into $(brew --prefix)/bin and other improvements. Therefore I vote to remove brew-pip once the Python 2.x and 3.x support has been pulled in. The only benefit of brew-pip is that brew rm is possible (however brew upgrade was never really supported). Installing into a virtualenv is another problem. Homebrew right now installs all python bindings into $(brew --prefix)/lib/python2.7/site-packages and having a virtualenv activated is not supported right now because the bindings often have to find the other libs and either hardcore these or use pythons default ctypes lookup. The latter will work with a brewed python because I will add the homebrew prefix to the search path (in case brew is not at /usr/local). Within a virtualenv, DYLD_FALLBACK_PATH or something has to be set I guess in order to find the brewed .so files or .dylibs. I am open to suggestions. |
Placing binaries in the I'm in favour of creating a new Is there no Ruby bundler equivalent in the Python world? I dislike that virtual environments have to be activated and deactivated. If one were to use virtual environments, wrapper scripts would have to be placed in /bin that would activate the virtual environment and execute the Python script in a subshell. |
A tangent but I wish you wouldn't recommend this. It means people don't get binaries. |
@MikeMcQuaid, yes, it's unfortunate that |
Brew does build relocatable binaries when it can. Most upstream software means it cannot. |
Is it not possible to test for and flag relocatable bottles to at least install some binaries? On 31 May 2013, at 13:26, Mike McQuaid wrote:
|
We already do. |
Virtualenvs have quite a different use case. They are more for project specific encapsulation. Something like bundler for python? I don't know. There is py2app and its not exactly the same (a often buggy,too because relocating is difficult). I personally have a homebrew at /homebrew and 99% works. Some tools hard code to usr/local. I am not sure if we shouldn't just trust pip for pure python packages. It's getting better with recent distutils in python 2.7.5. |
The following error occurs:
The error is caused by formula.rb#L179 because class AbstractDownloadStrategy no longer defines the
cached_download
method.brew-pip
extendsAbstractDownloadStrategy
to create its own download strategy.brew-gem
is also affected.The text was updated successfully, but these errors were encountered: