Skip to content

Commit

Permalink
Drop 8612 special case
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Feb 11, 2025
1 parent e829b83 commit c349f9b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions cpython-windows/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"_lzma": ["xz"],
"_sqlite3": ["sqlite"],
"_ssl": ["openssl"],
"_tkinter": ["tcl-8612", "tk-8612", "tix"],
"_tkinter": ["tcl", "tk", "tix"],
"_uuid": ["uuid"],
"zlib": ["zlib"],
}
Expand Down Expand Up @@ -362,7 +362,7 @@ def hack_props(
if meets_python_minimum_version(python_version, "3.14"):
tcltk_commit = DOWNLOADS["tk-windows-bin"]["git_commit"]
else:
tcltk_commit = DOWNLOADS["tk-windows-bin-8612"]["git_commit"]
tcltk_commit = DOWNLOADS["tk-windows-bin"]["git_commit"]

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

# On 3.14+, we use the latest tcl/tk version
if ext == "_tkinter" and python_majmin == "314":
name = name.replace("-8612", "")

download_entry = DOWNLOADS[name]

# This will raise if no license metadata defined. This is
Expand Down Expand Up @@ -1230,7 +1226,7 @@ def build_cpython(
)
else:
tk_bin_archive = download_entry(
"tk-windows-bin-8612", BUILD, local_name="tk-windows-bin.tar.gz"
"tk-windows-bin", BUILD, local_name="tk-windows-bin.tar.gz"
)

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

0 comments on commit c349f9b

Please sign in to comment.