https://github.com/python/cpython/commit/afd865aad650fa8cf0e2277eccab60d88491ac9c
commit: afd865aad650fa8cf0e2277eccab60d88491ac9c
branch: 3.13
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: zooba <steve.do...@microsoft.com>
date: 2025-04-17T19:37:30Z
summary:

gh-132649: Allow passing --include-tcltk to PC\layout on Windows ARM64 
(GH-132650)

(cherry picked from commit b87189deae7cdd65083da60cf3ba6e5bba117663)

Co-authored-by: Steve Dower <steve.do...@python.org>

files:
A Misc/NEWS.d/next/Build/2025-04-17-19-10-15.gh-issue-132649.DZqGoq.rst
M PC/layout/main.py

diff --git 
a/Misc/NEWS.d/next/Build/2025-04-17-19-10-15.gh-issue-132649.DZqGoq.rst 
b/Misc/NEWS.d/next/Build/2025-04-17-19-10-15.gh-issue-132649.DZqGoq.rst
new file mode 100644
index 00000000000000..358d4b0f476db9
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2025-04-17-19-10-15.gh-issue-132649.DZqGoq.rst
@@ -0,0 +1,2 @@
+The :file:`PC\layout` script now allows passing ``--include-tcltk`` on
+Windows ARM64.
diff --git a/PC/layout/main.py b/PC/layout/main.py
index 8bd435456c635a..6321c33b3f780a 100644
--- a/PC/layout/main.py
+++ b/PC/layout/main.py
@@ -657,7 +657,7 @@ def main():
     if ns.arch not in ("win32", "amd64", "arm32", "arm64"):
         log_error("--arch is not a valid value (win32, amd64, arm32, arm64)")
         return 4
-    if ns.arch in ("arm32", "arm64"):
+    if ns.arch == "arm32":
         for n in ("include_idle", "include_tcltk"):
             if getattr(ns, n):
                 log_warning(f"Disabling --{n.replace('_', '-')} on unsupported 
platform")

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to