Problem
Running brew upgrade emits this warning from the tap:
Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :ventura` instead.
Please report this issue to the msitarzewski/homebrew-brew-browser tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
/opt/homebrew/Library/Taps/msitarzewski/homebrew-brew-browser/Casks/brew-browser.rb:24
The cask currently contains:
depends_on macos: ">= :ventura"
Proposed fix
Change it to:
depends_on macos: :ventura
Current Homebrew parses the symbol form using the depends_on macos: DSL default comparator of >=, so :ventura means Ventura or newer, not Ventura exactly. brew style also reports this as an autocorrectable Homebrew/OSDependsOn offense.
The comment above the stanza currently says the symbol pins to Ventura exactly; that comment should be removed or updated along with the code change.
Environment
- Homebrew:
5.1.15-217-g0d56d56
- Architecture: Apple Silicon (
arm64)
- Observed: June 9, 2026
Problem
Running
brew upgradeemits this warning from the tap:The cask currently contains:
Proposed fix
Change it to:
Current Homebrew parses the symbol form using the
depends_on macos:DSL default comparator of>=, so:venturameans Ventura or newer, not Ventura exactly.brew stylealso reports this as an autocorrectableHomebrew/OSDependsOnoffense.The comment above the stanza currently says the symbol pins to Ventura exactly; that comment should be removed or updated along with the code change.
Environment
5.1.15-217-g0d56d56arm64)