Merge pull request #277910 from risicle/ris-pypdf-3.17.4

python3Packages.pypdf: 3.16.0 -> 3.17.4
This commit is contained in:
Martin Weinelt 2024-01-01 03:40:59 +01:00 committed by GitHub
commit 409109ae50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;