Skip to content

Deprecation warning in puremac.rb: depends_on macos: string comparison is deprecated #118

@rawvoid

Description

@rawvoid

Describe the bug
When running brew outdated or managing packages via Homebrew, a deprecation warning is triggered by the puremac.rb formula due to an outdated depends_on macos: syntax.

To reproduce
Steps to reproduce the behavior:

  1. Open Terminal.
  2. Run brew update followed by brew outdated (or any brew command that parses the tap).
  3. See the following warning:
Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :ventura` instead.
Please report this issue to the momenbasel/homebrew-tap tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/momenbasel/homebrew-tap/Casks/puremac.rb:10

Expected behavior
The Homebrew command should run cleanly without any deprecation warnings. Line 10 in puremac.rb should be updated to use the modern syntax: depends_on macos: :ventura.

Screenshots
(If applicable, you can drag and drop a screenshot of your terminal here)

Environment

  • macOS version: 15.7.5
  • PureMac version: Latest Cask version
  • Install method: Homebrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions