From da989a67972563dce2356531fa3d16013e8ca024 Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Wed, 24 Sep 2025 18:40:56 +0100 Subject: [PATCH] Update `depends_on macos` --- Formula/powershell-daily.rb | 5 +++-- Formula/powershell-lts.rb | 5 +++-- Formula/powershell-preview.rb | 5 +++-- Formula/powershell.rb | 5 +++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Formula/powershell-daily.rb b/Formula/powershell-daily.rb index 65ceb234..8bb5761b 100644 --- a/Formula/powershell-daily.rb +++ b/Formula/powershell-daily.rb @@ -32,8 +32,9 @@ class PowershellDaily < Formula # Disabled because we are unable to maintain the automation to update the formula disable! date: "2023-03-03", because: :unmaintained - # .NET Core 3.1 requires High Sierra - https://docs.microsoft.com/en-us/dotnet/core/install/dependencies?pivots=os-macos&tabs=netcore31 - depends_on macos: :high_sierra + # .NET 10 RC 1 shipped with macOS 14 (Sonoma) as the minimum supported OS + # https://github.com/dotnet/core/blob/v10.0.0-rc.1/release-notes/10.0/supported-os.md#apple + depends_on macos: :sonoma def install libexec.install Dir["*"] diff --git a/Formula/powershell-lts.rb b/Formula/powershell-lts.rb index fe82019b..1011afdc 100644 --- a/Formula/powershell-lts.rb +++ b/Formula/powershell-lts.rb @@ -29,8 +29,9 @@ class PowershellLts < Formula version "7.4.11" version_scheme 1 - # .NET Core 3.1 requires High Sierra - https://docs.microsoft.com/en-us/dotnet/core/install/dependencies?pivots=os-macos&tabs=netcore31 - depends_on macos: :high_sierra + # .NET 8 RC 1 shipped with macOS 10.15 (Catalina) as the minimum supported OS + # https://github.com/dotnet/core/blob/v8.0.0-rc.1/release-notes/8.0/supported-os.md#apple + depends_on macos: :catalina def install libexec.install Dir["*"] diff --git a/Formula/powershell-preview.rb b/Formula/powershell-preview.rb index 6e1affa0..641be71b 100644 --- a/Formula/powershell-preview.rb +++ b/Formula/powershell-preview.rb @@ -33,8 +33,9 @@ class PowershellPreview < Formula url :head end - # .NET Core 3.1 requires High Sierra - https://docs.microsoft.com/en-us/dotnet/core/install/dependencies?pivots=os-macos&tabs=netcore31 - depends_on macos: :high_sierra + # .NET 10 RC 1 shipped with macOS 14 (Sonoma) as the minimum supported OS + # https://github.com/dotnet/core/blob/v10.0.0-rc.1/release-notes/10.0/supported-os.md#apple + depends_on macos: :sonoma def install libexec.install Dir["*"] diff --git a/Formula/powershell.rb b/Formula/powershell.rb index 618bdc29..9b7c05fb 100644 --- a/Formula/powershell.rb +++ b/Formula/powershell.rb @@ -29,8 +29,9 @@ class Powershell < Formula version "7.5.2" version_scheme 1 - # .NET Core 3.1 requires High Sierra - https://docs.microsoft.com/en-us/dotnet/core/install/dependencies?pivots=os-macos&tabs=netcore31 - depends_on macos: :high_sierra + # .NET 9 RC 1 shipped with macOS 11 (Monterey) as the minimum supported OS + # https://github.com/dotnet/core/blob/v9.0.0-rc.1/release-notes/9.0/supported-os.md#apple + depends_on macos: :monterey def install libexec.install Dir["*"]