Prerequisites
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
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
- On macOS Tahoe 26.2, open terminal
- Run
brew update && brew upgrade

Prerequisites
Steps to reproduce
when upgrading brew packages after updating my MacBook to Tahoe 26.2, I am getting the following error:
Expected behavior
upgrade brew packageActual behavior
doesn't upgrade and throw the error `Calling `depends_on macos: :high_sierra` is deprecated!`Error details
Environment data
Version
7.5.2
Visuals
Steps to Reproduce
brew update && brew upgrade