Skip to content

fix(casks): update depends_on macos syntax to resolve Homebrew deprecation warnings - #3

Open
Zettt wants to merge 1 commit into
OpenCoworkAI:mainfrom
Zettt:fix/macos-depends-on-deprecation
Open

fix(casks): update depends_on macos syntax to resolve Homebrew deprecation warnings#3
Zettt wants to merge 1 commit into
OpenCoworkAI:mainfrom
Zettt:fix/macos-depends-on-deprecation

Conversation

@Zettt

@Zettt Zettt commented Aug 5, 2026

Copy link
Copy Markdown

Fixes Homebrew deprecation warnings emitted during brew update and brew upgrade.

  • Replaced deprecated depends_on macos: ">= :<version>" string comparison syntax with modern symbol syntax (depends_on macos: :big_sur and depends_on macos: :ventura).
  • Reordered Cask stanzas and array items to comply with brew style (Homebrew/OSDependsOn cop).

Changes

  • Casks/open-codesign.rb:
    • depends_on macos: ">= :big_sur" -> depends_on macos: :big_sur
    • Reordered url, sha256, zap, and caveats stanzas per Homebrew Cask specification.
    • Alphabetized zap trash paths.
  • Casks/open-cowork.rb:
    • depends_on macos: ">= :ventura" -> depends_on macos: :ventura
    • Reordered zap and caveats stanzas.

Verification

Ran brew style locally:

$ brew style Casks/open-codesign.rb Casks/open-cowork.rb
2 files inspected, no offenses detected

Fixes #1 and #2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Calling string comparison format for depends_on macos: is deprecated!

1 participant