Issues with the latest version of LTS on homebrew
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
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
https://github.com/PowerShell/Homebrew-Tap/blob/master/Formula/powershell-lts.rb#L33
Expected behavior
I would expect no warning of depreciation
Actual behavior
I got a warning of depreciation
Error details
Environment data
macos
Version
latest
Visuals
No response
See also: https://github.com/PowerShell/Homebrew-Tap/pull/1297#issuecomment-3493120431
~~I submitted a PR to remove this check since it's deprecated: https://github.com/PowerShell/Homebrew-Tap/pull/1314~~ This may not be the best solution, though, it looks like another PR exists, as well: https://github.com/PowerShell/Homebrew-Tap/pull/1297
I'm not sure whether the "depends_on macos" call is deprecated or only references to old versions of MacOS, such as High Sierra are.
Did some additional testing and it looks like it's just the old version reference, so I canceled my PR. https://github.com/PowerShell/Homebrew-Tap/pull/1297 is the better solution.