From 2c5dec5d0a0cebf5ae2f7bc698dee03c6d194e42 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 24 Oct 2023 08:29:15 +0200 Subject: [PATCH] python311Packages.pdfplumber: disable tests with addtional requirements --- pkgs/development/python-modules/pdfplumber/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/pdfplumber/default.nix b/pkgs/development/python-modules/pdfplumber/default.nix index 37809324e275..0408b74ead49 100644 --- a/pkgs/development/python-modules/pdfplumber/default.nix +++ b/pkgs/development/python-modules/pdfplumber/default.nix @@ -62,6 +62,13 @@ buildPythonPackage rec { "test__repr_png_" ]; + disabledTestPaths = [ + # Tests requires pypdfium2 + "tests/test_display.py" + # Tests require Ghostscript + "tests/test_repair.py" + ]; + meta = with lib; { description = "Plumb a PDF for detailed information about each char, rectangle, line, et cetera — and easily extract text and tables"; homepage = "https://github.com/jsvine/pdfplumber";