Skip to content

In python formulae, what is the difference between depends_on and a resource for the same PyPI package? #5211

Discussion options

You must be logged in to vote

Is it always redundant to have both? If so, which is preferred?

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@unitof
Comment options

Answer selected by unitof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants