Skip to content

Commit 7e541ab

Browse files
committed
Use old tcl/tk on Windows
1 parent fc87b2d commit 7e541ab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cpython-windows/build.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
"_lzma": ["xz"],
115115
"_sqlite3": ["sqlite"],
116116
"_ssl": ["openssl"],
117-
"_tkinter": ["tcl", "tk", "tix"],
117+
"_tkinter": ["tcl-8612", "tk-8612", "tix"],
118118
"_uuid": ["uuid"],
119119
"zlib": ["zlib"],
120120
}
@@ -355,7 +355,7 @@ def hack_props(
355355
sqlite_version = DOWNLOADS["sqlite"]["version"]
356356
xz_version = DOWNLOADS["xz"]["version"]
357357
zlib_version = DOWNLOADS["zlib"]["version"]
358-
tcltk_commit = DOWNLOADS["tk-windows-bin"]["git_commit"]
358+
tcltk_commit = DOWNLOADS["tk-windows-bin-8612"]["git_commit"]
359359
mpdecimal_version = DOWNLOADS["mpdecimal"]["version"]
360360

361361
sqlite_path = td / ("sqlite-autoconf-%s" % sqlite_version)
@@ -566,7 +566,7 @@ def hack_project_files(
566566
rb'<ClCompile Include="$(opensslIncludeDir)\openssl\applink.c">',
567567
)
568568

569-
# We're still on the pre-built tk-windows-bin 8.6.14 which doesn't have a
569+
# We're still on the pre-built tk-windows-bin 8.6.12 which doesn't have a
570570
# standalone zlib DLL. So remove references to it from 3.12+.
571571
if meets_python_minimum_version(python_version, "3.12"):
572572
static_replace_in_file(
@@ -1197,7 +1197,7 @@ def build_cpython(
11971197
bzip2_archive = download_entry("bzip2", BUILD)
11981198
sqlite_archive = download_entry("sqlite", BUILD)
11991199
tk_bin_archive = download_entry(
1200-
"tk-windows-bin", BUILD, local_name="tk-windows-bin.tar.gz"
1200+
"tk-windows-bin-8612", BUILD, local_name="tk-windows-bin.tar.gz"
12011201
)
12021202
xz_archive = download_entry("xz", BUILD)
12031203
zlib_archive = download_entry("zlib", BUILD)

0 commit comments

Comments
 (0)