Skip to content

Commit 6c44d1a

Browse files
authored
Merge pull request #20681 from Homebrew/support-tahoe-drop-mojave
Support Tahoe, drop Mojave and older
2 parents 5f1241b + f1aa789 commit 6c44d1a

File tree

12 files changed

+19
-77
lines changed

12 files changed

+19
-77
lines changed

.github/workflows/pkg-installer.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
TEMPORARY_CERTIFICATE_FILE: 'homebrew_developer_id_installer_certificate.p12'
3333
TEMPORARY_KEYCHAIN_FILE: 'homebrew_installer_signing.keychain-db'
3434
# Set to the oldest supported version of macOS
35-
HOMEBREW_MACOS_OLDEST_SUPPORTED: '13.0'
35+
HOMEBREW_MACOS_OLDEST_SUPPORTED: '14.0'
3636
permissions:
3737
contents: read # for code access
3838
attestations: write # for actions/attest-build-provenance
@@ -152,10 +152,6 @@ jobs:
152152
fail-fast: false
153153
matrix:
154154
include:
155-
# Intel
156-
- runner: macos-13
157-
name: macos-13-x86_64
158-
# Apple Silicon
159155
- runner: macos-14
160156
name: macos-14-arm64
161157
- runner: macos-15

Library/Homebrew/brew.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -576,18 +576,19 @@ esac
576576
# - docs/Installation.md
577577
# - https://github.com/Homebrew/install/blob/HEAD/install.sh
578578
# - Library/Homebrew/os/mac.rb (latest_sdk_version)
579+
# - Library/Homebrew/os/mac/xcode.rb (latest_version), (minimum_version)
579580
# and, if needed:
580581
# - MacOSVersion::SYMBOLS
581-
HOMEBREW_MACOS_NEWEST_UNSUPPORTED="16"
582+
HOMEBREW_MACOS_NEWEST_UNSUPPORTED="27"
582583
# TODO: bump version when new macOS is released
583-
HOMEBREW_MACOS_NEWEST_SUPPORTED="15"
584+
HOMEBREW_MACOS_NEWEST_SUPPORTED="26"
584585
# TODO: bump version when new macOS is released and update references in:
585586
# - docs/Installation.md
586587
# - HOMEBREW_MACOS_OLDEST_SUPPORTED in .github/workflows/pkg-installer.yml
587588
# - `os-version min` in package/Distribution.xml
588589
# - https://github.com/Homebrew/install/blob/HEAD/install.sh
589-
HOMEBREW_MACOS_OLDEST_SUPPORTED="13"
590-
HOMEBREW_MACOS_OLDEST_ALLOWED="10.11"
590+
HOMEBREW_MACOS_OLDEST_SUPPORTED="14"
591+
HOMEBREW_MACOS_OLDEST_ALLOWED="10.15"
591592

592593
if [[ -n "${HOMEBREW_MACOS}" ]]
593594
then

Library/Homebrew/os/mac.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def self.full_version=(version)
5656
def self.latest_sdk_version
5757
# TODO: bump version when new Xcode macOS SDK is released
5858
# NOTE: We only track the major version of the SDK.
59-
::Version.new("15")
59+
::Version.new("26")
6060
end
6161

6262
sig { returns(String) }

Library/Homebrew/os/mac/xcode.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ module Xcode
1717
def self.latest_version(macos: MacOS.version)
1818
macos = macos.strip_patch
1919
case macos
20+
when "26" then "26.0"
2021
when "15" then "16.4"
2122
when "14" then "16.2"
2223
when "13" then "15.2"
@@ -43,6 +44,7 @@ def self.latest_version(macos: MacOS.version)
4344
def self.minimum_version
4445
macos = MacOS.version
4546
case macos
47+
when "26" then "26.0"
4648
when "15" then "16.0"
4749
when "14" then "15.0"
4850
when "13" then "14.1"

Library/Homebrew/test/cask/cask_spec.rb

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -364,26 +364,6 @@
364364
"url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine/darwin/1.0.0/intel.zip",
365365
"version": "1.0.0",
366366
"sha256": "1866dfa833b123bb8fe7fa7185ebf24d28d300d0643d75798bc23730af734216"
367-
},
368-
"mojave": {
369-
"url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine/darwin/1.0.0/intel.zip",
370-
"version": "1.0.0",
371-
"sha256": "1866dfa833b123bb8fe7fa7185ebf24d28d300d0643d75798bc23730af734216"
372-
},
373-
"high_sierra": {
374-
"url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine/darwin/1.0.0/intel.zip",
375-
"version": "1.0.0",
376-
"sha256": "1866dfa833b123bb8fe7fa7185ebf24d28d300d0643d75798bc23730af734216"
377-
},
378-
"sierra": {
379-
"url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine/darwin/1.0.0/intel.zip",
380-
"version": "1.0.0",
381-
"sha256": "1866dfa833b123bb8fe7fa7185ebf24d28d300d0643d75798bc23730af734216"
382-
},
383-
"el_capitan": {
384-
"url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine/darwin/1.0.0/intel.zip",
385-
"version": "1.0.0",
386-
"sha256": "1866dfa833b123bb8fe7fa7185ebf24d28d300d0643d75798bc23730af734216"
387367
}
388368
}
389369
JSON
@@ -418,22 +398,6 @@
418398
"catalina": {
419399
"url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine-intel.zip",
420400
"sha256": "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b"
421-
},
422-
"mojave": {
423-
"url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine-intel.zip",
424-
"sha256": "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b"
425-
},
426-
"high_sierra": {
427-
"url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine-intel.zip",
428-
"sha256": "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b"
429-
},
430-
"sierra": {
431-
"url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine-intel.zip",
432-
"sha256": "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b"
433-
},
434-
"el_capitan": {
435-
"url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine-intel.zip",
436-
"sha256": "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b"
437401
}
438402
}
439403
JSON
@@ -469,22 +433,6 @@
469433
"url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine-intel-darwin.zip",
470434
"sha256": "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b"
471435
},
472-
"mojave": {
473-
"url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine-intel-darwin.zip",
474-
"sha256": "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b"
475-
},
476-
"high_sierra": {
477-
"url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine-intel-darwin.zip",
478-
"sha256": "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b"
479-
},
480-
"sierra": {
481-
"url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine-intel-darwin.zip",
482-
"sha256": "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b"
483-
},
484-
"el_capitan": {
485-
"url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine-intel-darwin.zip",
486-
"sha256": "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b"
487-
},
488436
"x86_64_linux": {
489437
"url": "file://#{TEST_FIXTURE_DIR}/cask/caffeine-intel-linux.zip",
490438
"sha256": "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b"

Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-everything.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
depends_on cask: "local-caffeine"
1010
depends_on cask: "with-depends-on-cask"
1111
depends_on formula: "unar"
12-
depends_on macos: ">= :el_capitan"
12+
depends_on macos: ">= :catalina"
1313

1414
app "Caffeine.app"
1515
end

Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-comparison.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
88
homepage "https://brew.sh/with-depends-on-macos-comparison"
99

10-
depends_on macos: ">= :el_capitan"
10+
depends_on macos: ">= :catalina"
1111

1212
app "Caffeine.app"
1313
end

Library/Homebrew/test/support/fixtures/cask/everything-with-variations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
],
8383
"macos": {
8484
">=": [
85-
"10.11"
85+
"10.15"
8686
]
8787
}
8888
},

Library/Homebrew/test/support/fixtures/cask/everything.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
],
8383
"macos": {
8484
">=": [
85-
"10.11"
85+
"10.15"
8686
]
8787
}
8888
},

docs/Installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
last_review_date: "2025-04-12"
2+
last_review_date: "2025-09-12"
33
---
44

55
# Installation
@@ -13,7 +13,7 @@ The macOS `.pkg` installer also installs Homebrew to its default prefix (`/opt/h
1313
## macOS Requirements
1414

1515
* An Apple Silicon CPU or 64-bit Intel CPU <sup>[1](#1)</sup>
16-
* macOS Ventura (13) (or higher) installed on officially supported hardware<sup>[2](#2)</sup>
16+
* macOS Sonoma (14) (or higher) installed on officially supported hardware<sup>[2](#2)</sup>
1717
* Command Line Tools (CLT) for Xcode (from `xcode-select --install` or
1818
[https://developer.apple.com/download/all/](https://developer.apple.com/download/all/)) or
1919
[Xcode](https://itunes.apple.com/us/app/xcode/id497799835) <sup>[3](#3)</sup>
@@ -116,7 +116,7 @@ Uninstallation is documented in the [FAQ](FAQ.md#how-do-i-uninstall-homebrew).
116116

117117
<a data-proofer-ignore name="1"><sup>1</sup></a> For 32-bit or PPC support see [Tigerbrew](https://github.com/mistydemeo/tigerbrew).
118118

119-
<a data-proofer-ignore name="2"><sup>2</sup></a> macOS 13 (Ventura) or higher is best and supported, 10.11 (El Capitan) – 12 (Monterey) are unsupported but may work and 10.10 (Yosemite) and older will not run Homebrew at all. For 10.4 (Tiger) – 10.6 (Snow Leopard) see [Tigerbrew](https://github.com/mistydemeo/tigerbrew). Using OpenCore Legacy Patcher is a [Tier 2](Support-Tiers.md#tier-2) or [Tier 3](Support-Tiers.md#tier-3) configuration depending on CPU generation.
119+
<a data-proofer-ignore name="2"><sup>2</sup></a> macOS 14 (Sonoma) or higher is best and supported, 10.15 (Catalina) – 13 (Ventura) are unsupported but may work and 10.14 (Mojave) and older will not run Homebrew at all. Using OpenCore Legacy Patcher is a [Tier 2](Support-Tiers.md#tier-2) or [Tier 3](Support-Tiers.md#tier-3) configuration depending on CPU generation.
120120

121121
<a data-proofer-ignore name="3"><sup>3</sup></a> You may need to install Xcode, the CLT, or both depending on the formula, to install a bottle (binary package) which is the only supported configuration. Downloading Xcode may require an Apple Developer account on older versions of Mac OS X. Sign up for free at [Apple's website](https://developer.apple.com/account/).
122122

0 commit comments

Comments
 (0)