python3Packages.pymupdf: 1.26.7 -> 1.27.1

Required some mypy-running tests to be disabled.
This commit is contained in:
Sarah Clark
2026-03-08 11:50:00 -07:00
parent 15d7ec4d5b
commit 95e6cb0de5
@@ -44,14 +44,14 @@ let
in
buildPythonPackage rec {
pname = "pymupdf";
version = "1.26.7";
version = "1.27.1";
pyproject = true;
src = fetchFromGitHub {
owner = "pymupdf";
repo = "PyMuPDF";
tag = version;
hash = "sha256-7OidTOG3KAx7EaQ3Bu4i1Fw007oXVAipBHeYNkmbIcA=";
hash = "sha256-Ebvdkvp0y7seG0sciMMnztflIBVRHh/Cowpw/lSLYLE=";
};
patches = [
@@ -122,6 +122,7 @@ buildPythonPackage rec {
"test_codespell"
"test_pylint"
"test_flake8"
"test_4751"
# Upstream recommends disabling these when not using bundled MuPDF build
"test_color_count"
"test_3050"
@@ -140,6 +141,9 @@ buildPythonPackage rec {
disabledTestPaths = [
# mad about markdown table formatting
"tests/test_tables.py::test_markdown"
# Do not lint code
"tests/test_typing.py"
]
++ lib.optional stdenv.hostPlatform.isDarwin [
# Trace/BPT trap: 5 when getting widget options