zunit-zsh / zunit

A powerful testing framework for ZSH projects
https://zunit.xyz
MIT License
208 stars 23 forks source link

The homebrew statement "bottle :unneeded" is deprecated and needs to be removed #123

Closed paltherr closed 2 years ago

paltherr commented 2 years ago

The statement "bottle :unneeded" in the homebrew formula zunit.rb is deprecated:

https://github.com/zunit-zsh/homebrew-zunit/blob/master/Formula/zunit.rb#L14

It prevents homebrew from installing zunit:

% brew install zunit-zsh/zunit/zunit ==> Tapping zunit-zsh/zunit Cloning into '/usr/local/Homebrew/Library/Taps/zunit-zsh/homebrew-zunit'... remote: Enumerating objects: 41, done. remote: Total 41 (delta 0), reused 0 (delta 0), pack-reused 41 Receiving objects: 100% (41/41), 10.29 KiB | 5.15 MiB/s, done. Resolving deltas: 100% (8/8), done. Error: Invalid formula: /usr/local/Homebrew/Library/Taps/zunit-zsh/homebrew-zunit/Formula/zunit.rb zunit: Calling bottle :unneeded is disabled! There is no replacement. Please report this issue to the zunit-zsh/zunit tap (not Homebrew/brew or Homebrew/core): /usr/local/Homebrew/Library/Taps/zunit-zsh/homebrew-zunit/Formula/zunit.rb:14

Error: Cannot tap zunit-zsh/zunit: invalid syntax in tap!

Removing the statement should resolve the problem.