mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
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] https://github.com/python/cpython/issues/124111 [2] https://docs.python.org/3.15/library/tkinter.html
This commit is contained in:
@@ -20458,8 +20458,8 @@ self: super: with self; {
|
||||
# Tcl/Tk 9.0 support in Tkinter is not quite ready yet:
|
||||
# - https://github.com/python/cpython/issues/124111
|
||||
# - https://github.com/python/cpython/issues/104568
|
||||
tcl = pkgs.tcl-8_6;
|
||||
tk = pkgs.tk-8_6;
|
||||
tcl = if pythonAtLeast "3.14" then pkgs.tcl-9_0 else pkgs.tcl-8_6;
|
||||
tk = if pythonAtLeast "3.14" then pkgs.tk-9_0 else pkgs.tk-8_6;
|
||||
};
|
||||
|
||||
tkinter-gl = callPackage ../development/python-modules/tkinter-gl { };
|
||||
|
||||
Reference in New Issue
Block a user