In python formulae, what is the difference between depends_on
and a resource
for the same PyPI package?
#5211
-
What (if any) is the difference in a formula between, say
and
for a formula which depends on cython from PyPI? Is it always redundant to have both? If so, which is preferred? (Context: I am working on a manim formula and trying to clean up my resources/dependencies.) Update/ExampleIn testing, I've discovered using
However, removing
builds and passes |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, since they represent the same dependency. The |
Beta Was this translation helpful? Give feedback.
Yes, since they represent the same dependency. The
depends_on
is preferred since it will automatically allow updates without bumping the formula.Homebrew as a project is reducing the duplication between python resources and formulae though, by removing formulae that do not provide much benefit over resources: Homebrew/homebrew-core#157500