]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-127359: Pin Tcl/Tk to 8 (8.6) for testing macOS (#127365)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Thu, 28 Nov 2024 17:03:09 +0000 (19:03 +0200)
committerGitHub <noreply@github.com>
Thu, 28 Nov 2024 17:03:09 +0000 (19:03 +0200)
.github/workflows/reusable-macos.yml

index 915481d0737c7dd21a0aea2b9bb6ba609a1e0d44..4c3dd10194f8cb68ec01beddef6f8c1c64208e90 100644 (file)
@@ -37,7 +37,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 make
+      run: |
+        brew install pkg-config openssl@3.0 xz gdbm tcl-tk@8 make
+        # 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" \