Skip to content

Calling depends_on macos: :high_sierra is deprecated! There is no replacement. #1322

@ds-brandao

Description

@ds-brandao

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

when upgrading brew packages after updating my MacBook to Tahoe 26.2, I am getting the following error:

Warning: Calling `depends_on macos: :high_sierra` is deprecated! There is no replacement.
Please report this issue to the powershell/homebrew-tap tap (not Homebrew/* repositories):
  /opt/homebrew/Library/Taps/powershell/homebrew-tap/Formula/powershell.rb:33

Expected behavior

upgrade brew package

Actual behavior

doesn't upgrade and throw the error `Calling `depends_on macos: :high_sierra` is deprecated!`

Error details

Environment data

Name                           Value
----                           -----
PSVersion                      7.5.2
PSEdition                      Core
GitCommitId                    7.5.2
OS                             Darwin 25.2.0 Darwin Kernel Version 25.2.0: Tue…
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

7.5.2

Visuals

Steps to Reproduce

  1. On macOS Tahoe 26.2, open terminal
  2. Run brew update && brew upgrade
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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