duggan / homebrew-protobuf3

Homebrew tap for Protocol Buffers 3 [DEPRECATED - use official formula]
5 stars 0 forks source link

Error: Calling 'depends_on :python' is disabled! #2

Open rene-demonsters opened 6 years ago

rene-demonsters commented 6 years ago

I'm not entirely sure what's breaking, but when using brew install xxx or using brew services list for example, I get the following error and homebrew crashes:

Use 'depends_on "python@2"' instead.
/usr/local/Homebrew/Library/Taps/duggan/homebrew-protobuf3/protobuf3.rb:56:in `<class:Protobuf3>'
Please report this to the duggan/protobuf3 tap!
Or, even better, submit a PR to fix it!
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/duggan/homebrew-protobuf3/issues
duggan commented 6 years ago

This formula is deprecated, there's an official formula for protobuf 3.

I think if you remove this tap (with brew untap duggan/homebrew-protobuf3) it should fix your problem. You might need or want to install the official one thereafter.

rene-demonsters commented 6 years ago

I did something similar to that. I hand patched it, got another error, patched that by commenting it out and then I was able to brew uninstall the formula. Thanks for the heads up on the depreciation, luckily it's just a left over from an afternoon of messing around.

On Thu, May 3, 2018, 15:47 Ross Duggan notifications@github.com wrote:

This formula is deprecated, there's an official formula for protobuf 3 https://libraries.io/homebrew/protobuf.

I think if you remove this tap (with brew untap duggan/homebrew-protobuf3) it should fix your problem. You might need or want to install the official one thereafter.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/duggan/homebrew-protobuf3/issues/2#issuecomment-386301247, or mute the thread https://github.com/notifications/unsubscribe-auth/ATYX09-bq8Fuv9pEno31RM1pc6hjdQYeks5tuwpzgaJpZM4TxBza .