3 ms·
I'm not talking about CLI tools. I'm talking about Python libraries, like Pandas and Numpy.
by nerdponx 9y ago
I'm not talking about CLI tools. I'm talking about Python libraries, like Pandas and Numpy.
- ellisv 9y agoHomebrew is a package manager for macOS, not language libraries. I know there is a bottle for Numpy (and I'm sure other libraries as well) but I'd suggest not co-mingling your OS and Python package managers.
- WillyOnWheels 9y agoI think most users should and would add python libraries with pip3.
- rleigh 9y agoDownside: numpy, h5py and others use an embedded libhdf5 which is quite outdated. Meanwhile, homebrew has the current version, but they ignore it. In contrast, the Debian/Ubuntu/FreeBSD ports have python packages built against the packaged libhdf5. The pip packaging is inferior to the properly packaged stuff, which is what you get when language-specific packaging exists in its own isolated bubble.
- rmwaite 9y agoI feel like the correct move here is to push the library maintainers to update to the new version. Distribution package mods should really be seen as temporary.
- rleigh 9y agoI have already opened an issue for this. However, it doesn't resolve the underlying and rather harder to fix problem of different language-specific package managers embedding copies of C and C++ libraries which can end up in a horrible incompatible mess. It's not specific to pip/pypy, it also applies to Java jars with embedded libraries and other systems which also embed. Sometimes, this embedded copy can be more up to date than the system copy, but the convenience of embedding is often outweighed by the binary compatibility problems and being neglected and out of date.
- JulianWasTaken 9y agoHomebrew really shouldn't ship libraries in the first place, for that we have our own language's package management (and for cases where we have difficult to install binary dependencies, we have our own language's mechanism for dealing with them).
- bandrami 9y agoLanguage package managers are for developers. End users should use their platform's package manager to install whatever libraries their application needs. E.g. Apt knows what version of numpy easypaint works with, while pip simply gives you the most recent.