Skip to content

Commit e1a33b0

Browse files
authored
python3Packages.pymupdf: disable tests that fail on Darwin, adopt (#466035)
2 parents c422187 + 6b588c2 commit e1a33b0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pkgs/development/python-modules/pymupdf/default.nix

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ buildPythonPackage rec {
140140
disabledTestPaths = [
141141
# mad about markdown table formatting
142142
"tests/test_tables.py::test_markdown"
143+
]
144+
++ lib.optional stdenv.hostPlatform.isDarwin [
145+
# Trace/BPT trap: 5 when getting widget options
146+
"tests/test_4505.py"
147+
"tests/test_widgets.py"
143148
];
144149

145150
pythonImportsCheck = [
@@ -161,7 +166,7 @@ buildPythonPackage rec {
161166
homepage = "https://github.com/pymupdf/PyMuPDF";
162167
changelog = "https://github.com/pymupdf/PyMuPDF/releases/tag/${src.tag}";
163168
license = lib.licenses.agpl3Only;
164-
maintainers = [ ];
169+
maintainers = with lib.maintainers; [ sarahec ];
165170
platforms = lib.platforms.unix;
166171
};
167172
}

0 commit comments

Comments
 (0)