From 64aee2f5767e2245fbdbf6e19454bf3a7d900ee7 Mon Sep 17 00:00:00 2001 From: Harinn Date: Fri, 5 Jun 2026 10:02:40 +0700 Subject: [PATCH] python3Packages.anyqt: disable failing tests on darwin --- pkgs/development/python-modules/anyqt/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/development/python-modules/anyqt/default.nix b/pkgs/development/python-modules/anyqt/default.nix index 2e5ff8732a64..36eb77416ae1 100644 --- a/pkgs/development/python-modules/anyqt/default.nix +++ b/pkgs/development/python-modules/anyqt/default.nix @@ -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 { };