From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 17 Apr 2025 19:37:30 +0000 (+0200) Subject: gh-132649: Allow passing --include-tcltk to PC\layout on Windows ARM64 (GH-132650) X-Git-Tag: v3.13.4~259 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=afd865aad650fa8cf0e2277eccab60d88491ac9c;p=thirdparty%2FPython%2Fcpython.git gh-132649: Allow passing --include-tcltk to PC\layout on Windows ARM64 (GH-132650) (cherry picked from commit b87189deae7cdd65083da60cf3ba6e5bba117663) Co-authored-by: Steve Dower --- 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 000000000000..358d4b0f476d --- /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 8bd435456c63..6321c33b3f78 100644 --- a/PC/layout/main.py +++ b/PC/layout/main.py @@ -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")