[3.14] gh-124111: Update Windows build to use Tcl/Tk 9.0.4 (GH-150102) (GH-149477) (GH-151562) (GH-153901) - #150197
[3.14] gh-124111: Update Windows build to use Tcl/Tk 9.0.4 (GH-150102) (GH-149477) (GH-151562) (GH-153901)#150197zware wants to merge 5 commits into
Conversation
(cherry picked from commit c62c371) Keep tests passing for Tcl prior to 9.0 (pythonGH-150102) (cherry picked from commit ec9ce3e) Co-Authored-By: Steve Dower <steve.dower@python.org>
|
Let's resolve #150836 first :) |
…GH-151562) Tcl/Tk 9 may embed the Tk script library in the Tk DLL on Windows. This embedded library is not found by Tcl by default. Mount the loaded Tk DLL as a zipfs archive before calling Tk_Init(), so Tk can find its embedded tk_library using its existing library discovery logic. Preserve Tk_Init()'s normal path if the library is not embedded.
|
As of 2026-06-26, Tcl/Tk 9.0.4 is current. |
|
I'll start the process of getting |
|
What's the plan with 9.0.4 on Python 3.14? |
We've had it in 3.15 since b2. That issue was a bug in b2, fixed in b3, and b4 has since also come out, and it seems fine. We already use Tck/Tk 9 in the macOS installer for both 3.14 and 3.15. So I think we're ready to merge this for 3.14 as well. |
|
Just found this from the b4 logs: https://dev.azure.com/Python/cpython/_build/results?buildId=172790&view=results Under: "Generate layouts" > "Make layouts amd64 / amd64_t / etc" > "Generate full layout" and: "Generate layouts" > "Make PyManager layouts amd64 / amd64_t / etc" > "Generate PyManager layout" Claude summary: Windows release layouts silently ship without
|
|
Possible fix at python/release-tools#424. |
(cherry picked from commit c62c371)
Keep tests passing for Tcl prior to 9.0 (GH-150102)
(cherry picked from commit ec9ce3e)
Co-Authored-By: Steve Dower steve.dower@python.org