Unverified Commit 02af42d5 authored by Fernando Rodrigues's avatar Fernando Rodrigues Committed by GitHub
Browse files

python311Packages.tkinter: mark broken (#450886)

parents 4a13b1f4 22412a6a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  fetchPypi,
  buildPythonPackage,
  isPyPy,
  pythonAtLeast,
  pythonOlder,

  # build-system
@@ -52,7 +53,8 @@

  # Tk
  # Darwin has its own "MacOSX" backend, PyPy has tkagg backend and does not support tkinter
  enableTk ? (!stdenv.hostPlatform.isDarwin && !isPyPy),
  # tkinter fails to build on Python 3.11
  enableTk ? (!stdenv.hostPlatform.isDarwin && !isPyPy && pythonAtLeast "3.12"),
  tkinter,

  # Qt
+1 −0
Original line number Diff line number Diff line
@@ -86,6 +86,7 @@ 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 = ''