Skip to content

Commit 87721c9

Browse files
Fix tkinter issues (#324)
1 parent 5bbc2ca commit 87721c9

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/build-python-packages.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ jobs:
109109
with:
110110
submodules: true
111111

112+
- name: Adding Symlink
113+
if: matrix.os == 'macos-13'
114+
run: ln -sf /usr/local/opt/tcl-tk@8 /usr/local/opt/tcl-tk
115+
112116
- name: Build Python ${{ env.VERSION }}
113117
run: |
114118
./builders/build-python.ps1 -Version $env:VERSION `

builders/macos-python-builder.psm1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ class macOSPythonBuilder : NixPythonBuilder {
8080
$env:CFLAGS = "-I/usr/local/opt/zlib/include"
8181
}
8282

83-
if ($this.Version -gt "3.7.12") {
84-
$configureString += " --with-tcltk-includes='-I /usr/local/opt/tcl-tk/include' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'"
85-
}
83+
# if ($this.Version -gt "3.7.12") {
84+
$configureString += " --with-tcltk-includes='-I /usr/local/opt/tcl-tk/include/tcl-tk' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'"
85+
# }
8686

8787
if ($this.Version -eq "3.7.17") {
8888
$env:LDFLAGS += " -L$(brew --prefix bzip2)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix ncurses)/lib"

0 commit comments

Comments
 (0)