Skip to content

Commit 929b22f

Browse files
committed
Add Python 3.14 support on Windows
1 parent 2d8972d commit 929b22f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ci-targets.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ windows:
320320
- "3.11"
321321
- "3.12"
322322
- "3.13"
323+
- "3.14"
323324
build_options:
324325
- pgo
325326
build_options_conditional:
@@ -336,6 +337,7 @@ windows:
336337
- "3.11"
337338
- "3.12"
338339
- "3.13"
340+
- "3.14"
339341
build_options:
340342
- pgo
341343
build_options_conditional:

cpython-windows/build.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,8 @@ def hack_project_files(
568568

569569
# 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+.
571-
if meets_python_minimum_version(python_version, "3.12"):
571+
# On 3.14, something changed
572+
if meets_python_minimum_version(python_version, "3.12") and meets_python_maximum_version(python_version, "3.13"):
572573
static_replace_in_file(
573574
pcbuild_path / "_tkinter.vcxproj",
574575
rb'<_TclTkDLL Include="$(tcltkdir)\bin\$(tclZlibDllName)" />',
@@ -1690,6 +1691,7 @@ def main() -> None:
16901691
"cpython-3.11",
16911692
"cpython-3.12",
16921693
"cpython-3.13",
1694+
"cpython-3.14",
16931695
},
16941696
default="cpython-3.11",
16951697
help="Python distribution to build",

0 commit comments

Comments
 (0)