]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-127359: Pin Tcl/Tk to 8 (8.6) for testing macOS (GH-127365) (#127394)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Fri, 29 Nov 2024 11:02:41 +0000 (13:02 +0200)
committerGitHub <noreply@github.com>
Fri, 29 Nov 2024 11:02:41 +0000 (13:02 +0200)
.github/workflows/reusable-macos.yml

index 6df272c8839f16680038113a2b16f09b4bd712cf..acaab45e5b5e12d43fc2509abd68906e2bce1ea9 100644 (file)
@@ -36,7 +36,10 @@ jobs:
         path: config.cache
         key: ${{ github.job }}-${{ inputs.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" \