Skip to content

[3.14] gh-124111: Update Windows build to use Tcl/Tk 9.0.3 (GH-150102) (GH-149477)#150197

Draft
zware wants to merge 4 commits into
python:3.14from
zware:backport-c62c371-3.14
Draft

[3.14] gh-124111: Update Windows build to use Tcl/Tk 9.0.3 (GH-150102) (GH-149477)#150197
zware wants to merge 4 commits into
python:3.14from
zware:backport-c62c371-3.14

Conversation

@zware

@zware zware commented May 21, 2026

Copy link
Copy Markdown
Member

(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

(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>
@zware zware changed the title [3.14] gh-124111: Update Windows build to use Tcl/Tk 9.0.3 (GH-149477) (GH-150102) [3.14] gh-124111: Update Windows build to use Tcl/Tk 9.0.3 (GH-150102) (GH-149477) May 21, 2026
@zware

zware commented May 21, 2026

Copy link
Copy Markdown
Member Author

To be kept in draft until declared ready to merge by @zooba and @hugovk. I'd like it to make the next patch release but it's not critical to do so, setting 'deferred blocker' just to keep it on the radar.

@hugovk

hugovk commented Jun 3, 2026

Copy link
Copy Markdown
Member

Let's resolve #150836 first :)

zware and others added 2 commits June 24, 2026 10:40
…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.
@zware

zware commented Jul 14, 2026

Copy link
Copy Markdown
Member Author

gh-150836 was resolved by GH-151562, which is now included here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants