Skip to content

Homebrew: Fix deprecated depends_on macos string comparison #1135

Description

@muescha

Describe the bug

Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :catalina` instead.
Please report this issue to the peripheryapp/homebrew-periphery tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/peripheryapp/homebrew-periphery/Casks/periphery.rb:8

Reproduction

run any homebrew command - it prints always.

for example:

brew tap-info peripheryapp/periphery
peripheryapp/periphery: Installed
1 cask
/opt/homebrew/Library/Taps/peripheryapp/homebrew-periphery (126 files, 145.1KB)
From: https://github.com/peripheryapp/homebrew-periphery
HEAD: 6dcdbdb8dc0d78aa8a3c4594cb483af6f38d2f38
last commit: 1 year, 7 months ago
Warning: Calling string comparison format for `depends_on macos:` is deprecated! Use `depends_on macos: :catalina` instead.
Please report this issue to the peripheryapp/homebrew-periphery tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/peripheryapp/homebrew-periphery/Casks/periphery.rb:8

==> Casks
periphery ✔

Environment

It is in the homebrew tap

Workaround

untap the homebrew tap

Fix

Check this pull request: peripheryapp/homebrew-periphery#4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions