Homebrew-Tap icon indicating copy to clipboard operation
Homebrew-Tap copied to clipboard

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

Open ds-brandao opened this issue 11 months ago • 3 comments

Prerequisites

  • [x] Write a descriptive title.
  • [x] Make sure you are able to repro it on the latest version
  • [x] 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

ds-brandao avatar Dec 15 '25 20:12 ds-brandao

yep, PR #1297 has been open for over 3 months now. Looks like it still needs codeowner approval.

kevindashton avatar Dec 17 '25 15:12 kevindashton

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-lts.rb:33

En1gma2u avatar Feb 10 '26 15:02 En1gma2u

People subscribed to this issue: you may be interested to know that powershell has just become an official formula in the homebrew/core tap following merge of https://github.com/Homebrew/homebrew-core/pull/268901. If you want to install it, run brew update, and then brew uninstall powershell followed by brew install powershell. That should pick up the formula from the official homebrew/core tap.

Note that there are no bottles (pre-built binaries) for the powershell formula on Intel macOS due to dotnet@9 build issues (see https://github.com/Homebrew/homebrew-core/issues/197546).

ZhongRuoyu avatar Mar 11 '26 17:03 ZhongRuoyu