]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-145098: Use `macos-26-intel` instead of `macos-15-intel` (#149991)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Tue, 19 May 2026 04:41:25 +0000 (07:41 +0300)
committerGitHub <noreply@github.com>
Tue, 19 May 2026 04:41:25 +0000 (07:41 +0300)
This reverts commit cb76ab3819f778e55a3f49ddb1f681ee20978eda.

.github/workflows/build.yml
.github/workflows/reusable-macos.yml

index 1af3a0607f9ad2adb1253890012cbd86e62043b8..47ea859c5fefbb957f685349a47d6440e35c1473 100644 (file)
@@ -206,16 +206,16 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        # macos-26 is Apple Silicon, macos-15-intel is Intel.
-        # macos-15-intel only runs tests against the GIL-enabled CPython.
+        # macos-26 is Apple Silicon, macos-26-intel is Intel.
+        # macos-26-intel only runs tests against the GIL-enabled CPython.
         os:
         - macos-26
-        - macos-15-intel
+        - macos-26-intel
         free-threading:
         - false
         - true
         exclude:
-        - os: macos-15-intel
+        - os: macos-26-intel
           free-threading: true
     uses: ./.github/workflows/reusable-macos.yml
     with:
index 93b419159fa8177c0670583a949c091728198e72..65a7f857fc4c779b166c7e731ab7cdc4349e7081 100644 (file)
@@ -54,15 +54,15 @@ jobs:
           --prefix=/opt/python-dev \
           --with-openssl="$(brew --prefix openssl@3.5)"
     - name: Build CPython
-      if : ${{ inputs.free-threading || inputs.os != 'macos-15-intel' }}
+      if : ${{ inputs.free-threading || inputs.os != 'macos-26-intel' }}
       run: gmake -j8
     - name: Build CPython for compiler warning check
-      if : ${{ !inputs.free-threading && inputs.os == 'macos-15-intel' }}
+      if : ${{ !inputs.free-threading && inputs.os == 'macos-26-intel' }}
       run: set -o pipefail; gmake -j8 --output-sync 2>&1 | tee compiler_output_macos.txt
     - name: Display build info
       run: make pythoninfo
     - name: Check compiler warnings
-      if : ${{ !inputs.free-threading && inputs.os == 'macos-15-intel' }}
+      if : ${{ !inputs.free-threading && inputs.os == 'macos-26-intel' }}
       run: >-
         python3 Tools/build/check_warnings.py
         --compiler-output-file-path=compiler_output_macos.txt