Skip to content

Commit c349f9b

Browse files
committed
Drop 8612 special case
1 parent e829b83 commit c349f9b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

cpython-windows/build.py

Lines changed: 3 additions & 7 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-8612", "tk-8612", "tix"],
117+
"_tkinter": ["tcl", "tk", "tix"],
118118
"_uuid": ["uuid"],
119119
"zlib": ["zlib"],
120120
}
@@ -362,7 +362,7 @@ def hack_props(
362362
if meets_python_minimum_version(python_version, "3.14"):
363363
tcltk_commit = DOWNLOADS["tk-windows-bin"]["git_commit"]
364364
else:
365-
tcltk_commit = DOWNLOADS["tk-windows-bin-8612"]["git_commit"]
365+
tcltk_commit = DOWNLOADS["tk-windows-bin"]["git_commit"]
366366

367367
sqlite_path = td / ("sqlite-autoconf-%s" % sqlite_version)
368368
bzip2_path = td / ("bzip2-%s" % bzip2_version)
@@ -1138,10 +1138,6 @@ def find_additional_dependencies(project: pathlib.Path):
11381138
if name == "openssl":
11391139
name = openssl_entry
11401140

1141-
# On 3.14+, we use the latest tcl/tk version
1142-
if ext == "_tkinter" and python_majmin == "314":
1143-
name = name.replace("-8612", "")
1144-
11451141
download_entry = DOWNLOADS[name]
11461142

11471143
# This will raise if no license metadata defined. This is
@@ -1230,7 +1226,7 @@ def build_cpython(
12301226
)
12311227
else:
12321228
tk_bin_archive = download_entry(
1233-
"tk-windows-bin-8612", BUILD, local_name="tk-windows-bin.tar.gz"
1229+
"tk-windows-bin", BUILD, local_name="tk-windows-bin.tar.gz"
12341230
)
12351231

12361232
# CPython 3.13+ no longer uses a bundled `mpdecimal` version so we build it

0 commit comments

Comments
 (0)