From edd2121adec96725952dca3fa47c354d6ff99ca0 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Fri, 28 Nov 2025 11:33:13 -0800 Subject: [PATCH] python3Packages.pymupdf: disable tests that trigger Trace/BPT trap 5 on Darwin These attempt to access the UI from within the build and fail. --- pkgs/development/python-modules/pymupdf/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/pymupdf/default.nix b/pkgs/development/python-modules/pymupdf/default.nix index 6f3e15e40b1a..92c88fdf783f 100644 --- a/pkgs/development/python-modules/pymupdf/default.nix +++ b/pkgs/development/python-modules/pymupdf/default.nix @@ -140,6 +140,11 @@ buildPythonPackage rec { disabledTestPaths = [ # mad about markdown table formatting "tests/test_tables.py::test_markdown" + ] + ++ lib.optional stdenv.hostPlatform.isDarwin [ + # Trace/BPT trap: 5 when getting widget options + "tests/test_4505.py" + "tests/test_widgets.py" ]; pythonImportsCheck = [