python3Packages.anyqt: disable failing tests on darwin

This commit is contained in:
Harinn
2026-06-05 10:02:40 +07:00
parent 07d5c6bc85
commit 64aee2f576
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
pyqt5,
@@ -35,6 +36,17 @@ buildPythonPackage (finalAttrs: {
export QT_QPA_PLATFORM=offscreen
'';
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
"tests/test_qabstractitemview.py"
"tests/test_qaction_set_menu.py"
"tests/test_qactionevent_action.py"
"tests/test_qfontdatabase_static.py"
"tests/test_qpainter_draw_pixmap_fragments.py"
"tests/test_qsettings.py"
"tests/test_qstandarditem_insertrow.py"
"tests/test_qtest.py"
];
pythonImportsCheck = [ "AnyQt" ];
passthru.updateScript = nix-update-script { };