Skip to content

Commit a617c0f

Browse files
committed
python3Packages.tkinter: build with tcl/tk 9.0 for python 3.14+
Upstream Python 3.14 ships with tcl/tk 9.0 since Python 3.14.7 [1]. For Python 3.15+, also the tkinter documentation states that binary releases are bundled with tcl/tk 9.0 [2]. [1] python/cpython#124111 [2] https://docs.python.org/3.15/library/tkinter.html
1 parent 6c4529d commit a617c0f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎pkgs/top-level/python-packages.nix‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20458,8 +20458,8 @@ self: super: with self; {
2045820458
# Tcl/Tk 9.0 support in Tkinter is not quite ready yet:
2045920459
# - https://github.com/python/cpython/issues/124111
2046020460
# - https://github.com/python/cpython/issues/104568
20461-
tcl = pkgs.tcl-8_6;
20462-
tk = pkgs.tk-8_6;
20461+
tcl = if pythonAtLeast "3.14" then pkgs.tcl-9_0 else pkgs.tcl-8_6;
20462+
tk = if pythonAtLeast "3.14" then pkgs.tk-9_0 else pkgs.tk-8_6;
2046320463
};
2046420464

2046520465
tkinter-gl = callPackage ../development/python-modules/tkinter-gl { };

0 commit comments

Comments
 (0)