pythonPackages.shiboken2: mark as broken on Python ≥ 3.12 (#314968)

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.
This commit is contained in:
Raphael Das Gupta 2024-05-27 10:38:46 +02:00 committed by GitHub
parent 7042f95f88
commit 603c0346d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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";
};
}