python311Packages.tkinter: mark broken (#450886)
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
fetchPypi,
|
fetchPypi,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
isPyPy,
|
isPyPy,
|
||||||
|
pythonAtLeast,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
|
|
||||||
# build-system
|
# build-system
|
||||||
@@ -52,7 +53,8 @@
|
|||||||
|
|
||||||
# Tk
|
# Tk
|
||||||
# Darwin has its own "MacOSX" backend, PyPy has tkagg backend and does not support tkinter
|
# 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,
|
tkinter,
|
||||||
|
|
||||||
# Qt
|
# Qt
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ buildPythonPackage {
|
|||||||
pythonImportsCheck = [ "tkinter" ];
|
pythonImportsCheck = [ "tkinter" ];
|
||||||
|
|
||||||
meta = {
|
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
|
# Based on first sentence from https://docs.python.org/3/library/tkinter.html
|
||||||
description = "Standard Python interface to the Tcl/Tk GUI toolkit";
|
description = "Standard Python interface to the Tcl/Tk GUI toolkit";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user