]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-132649: Allow passing --include-tcltk to PC\layout on Windows ARM64 (GH-132650)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 17 Apr 2025 19:37:30 +0000 (21:37 +0200)
committerGitHub <noreply@github.com>
Thu, 17 Apr 2025 19:37:30 +0000 (19:37 +0000)
(cherry picked from commit b87189deae7cdd65083da60cf3ba6e5bba117663)

Co-authored-by: Steve Dower <steve.dower@python.org>
Misc/NEWS.d/next/Build/2025-04-17-19-10-15.gh-issue-132649.DZqGoq.rst [new file with mode: 0644]
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 (file)
index 0000000..358d4b0
--- /dev/null
@@ -0,0 +1,2 @@
+The :file:`PC\layout` script now allows passing ``--include-tcltk`` on
+Windows ARM64.
index 8bd435456c635a4c0787db06109a37147a694f5b..6321c33b3f780abf2fa536971c2ef74f237571c7 100644 (file)
@@ -657,7 +657,7 @@ Catalog: {ns.catalog}""",
     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")