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

Issues with the latest version of LTS on homebrew

Open remyleone opened this issue 3 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

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

remyleone avatar Nov 06 '25 09:11 remyleone

See also: https://github.com/PowerShell/Homebrew-Tap/pull/1297#issuecomment-3493120431

ZhongRuoyu avatar Nov 10 '25 10:11 ZhongRuoyu

~~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.

amaiman avatar Nov 19 '25 16:11 amaiman

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.

amaiman avatar Nov 19 '25 17:11 amaiman