From 4f8a51f26e9792d8274b7a546a03f91d8b90a50c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 11 Oct 2025 08:36:25 -0700 Subject: [PATCH 1/2] Revert "python311Packages.tkinter: mark broken" This reverts commit 2c574b9c4c6f97074c24d4019cf1279a5613134b because python311Packages.tkinter was fixed in https://github.com/NixOS/nixpkgs/pull/442184. --- pkgs/development/python-modules/tkinter/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/tkinter/default.nix b/pkgs/development/python-modules/tkinter/default.nix index 9918d40969c4..233b2b2b0e4a 100644 --- a/pkgs/development/python-modules/tkinter/default.nix +++ b/pkgs/development/python-modules/tkinter/default.nix @@ -109,7 +109,6 @@ buildPythonPackage { pythonImportsCheck = [ "tkinter" ]; meta = { - broken = pythonOlder "3.12"; # tommath.h: No such file or directory # Based on first sentence from https://docs.python.org/3/library/tkinter.html description = "Standard Python interface to the Tcl/Tk GUI toolkit"; longDescription = '' From c3dd2c7888dc536a31bb31b540c92ae6cb1fb72f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 11 Oct 2025 08:37:23 -0700 Subject: [PATCH 2/2] Revert "python311Packages.matplotlib: disable Tk on Python 3.11" This reverts commit 22412a6ab0448c78663d60277cc0a47a3f1987f4. --- pkgs/development/python-modules/matplotlib/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/matplotlib/default.nix b/pkgs/development/python-modules/matplotlib/default.nix index 926dd2467971..4c23466b9880 100644 --- a/pkgs/development/python-modules/matplotlib/default.nix +++ b/pkgs/development/python-modules/matplotlib/default.nix @@ -4,7 +4,6 @@ fetchPypi, buildPythonPackage, isPyPy, - pythonAtLeast, pythonOlder, # build-system @@ -53,8 +52,7 @@ # Tk # Darwin has its own "MacOSX" backend, PyPy has tkagg backend and does not support tkinter - # tkinter fails to build on Python 3.11 - enableTk ? (!stdenv.hostPlatform.isDarwin && !isPyPy && pythonAtLeast "3.12"), + enableTk ? (!stdenv.hostPlatform.isDarwin && !isPyPy), tkinter, # Qt