How best to manage binary python package dependencies #5670
Replies: 2 comments
-
This is intentional, since we want Homebrew CI to build an optimised binary. If you have a resource for something like |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Output of
brew config
Output of
brew doctor
Description of issue
I'm looking to add a python package of mine to Homebrew and I am tumbling for a rabbit hole regarding dependencies.
My current Formula lives here and this started using a bunch or resources that are source distributions.
The problem with this is that I ultimately need to pull in some large tooling dependencies to build all these packages from source (such as Rust). This feels like overkill to me and the dependency list would be quite large requiring users to install lots of formulas just for a python package.
My next idea was to explicitly list the packages from PyPI that are the dependencies, but some of these are binary packages so now I am looking at the complexity of architecture detection.
Pip figures this all out of the user and downloads the appropriate wheels. How is this achieved in Homebrew formulas?
Beta Was this translation helpful? Give feedback.
All reactions