pythonPackages.shiboken2: mark as broken on Python ≥ 3.12

shiboken2 uses distutils, which was removed in Python 3.12.
This is the case in the currently packaged shiboken2 5.15.11,
as well as in the latest 5.x upstream release 5.15.12.

We can't use the 6.x releases, as those are for shiboken6,
not shiboken2.

(cherry picked from commit 13baded6ae)
This commit is contained in:
Raphael Borun Das Gupta 2024-05-27 00:40:24 +02:00 committed by github-actions[bot]
parent fe7d83b7de
commit 90356cb4b8

View File

@ -7,6 +7,7 @@
qt5,
libxcrypt,
llvmPackages_15,
pythonAtLeast,
}:
stdenv.mkDerivation {
@ -58,6 +59,6 @@ stdenv.mkDerivation {
];
homepage = "https://wiki.qt.io/Qt_for_Python";
maintainers = with maintainers; [ gebner ];
broken = stdenv.isDarwin;
broken = stdenv.isDarwin || pythonAtLeast "3.12";
};
}