]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-127359: Pin Tcl/Tk to 8 (8.6) for testing macOS (GH-127365) (#127407)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Sat, 30 Nov 2024 16:38:21 +0000 (18:38 +0200)
committerGitHub <noreply@github.com>
Sat, 30 Nov 2024 16:38:21 +0000 (18:38 +0200)
.github/workflows/reusable-macos.yml

index 6df27b172a97295af98ce263af595735f8aee179..96878ae6b6bf0300184508e50e8bf080ea0bc4e6 100644 (file)
@@ -37,7 +37,10 @@ jobs:
         path: config.cache
         key: ${{ github.job }}-${{ matrix.os }}-${{ env.IMAGE_VERSION }}-${{ inputs.config_hash }}
     - name: Install Homebrew dependencies
-      run: brew install pkg-config openssl@3.0 xz gdbm tcl-tk
+      run: |
+        brew install pkg-config openssl@3.0 xz gdbm tcl-tk@8
+        # Because alternate versions are not symlinked into place by default:
+        brew link tcl-tk@8
     - name: Configure CPython
       run: |
         GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \