From 3d0cc02a4662094c457389f345c633de484f0920 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sun, 31 Dec 2023 12:49:31 +0000 Subject: [PATCH] python3Packages.pypdf: 3.16.0 -> 3.17.4 --- pkgs/development/python-modules/pypdf/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pypdf/default.nix b/pkgs/development/python-modules/pypdf/default.nix index df58a17aee20..368acdb76407 100644 --- a/pkgs/development/python-modules/pypdf/default.nix +++ b/pkgs/development/python-modules/pypdf/default.nix @@ -19,13 +19,14 @@ , pillow # tests +, fpdf2 , pytestCheckHook , pytest-timeout }: buildPythonPackage rec { pname = "pypdf"; - version = "3.16.0"; + version = "3.17.4"; format = "pyproject"; src = fetchFromGitHub { @@ -34,7 +35,7 @@ buildPythonPackage rec { rev = "refs/tags/${version}"; # fetch sample files used in tests fetchSubmodules = true; - hash = "sha256-vE5ujknMpufBuwWqtjkLegTRe4eDAvBVPCVM6It2pHQ="; + hash = "sha256-2FKTBN1VZX0LGiDEghix4DBt1gO9NRNB/lAUefu5EUA="; }; outputs = [ @@ -75,6 +76,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + (fpdf2.overridePythonAttrs { doCheck = false; }) # avoid reference loop pytestCheckHook pytest-timeout ] ++ passthru.optional-dependencies.full;