From 60091d2058793be30a4016736fc5fa6900ee1531 Mon Sep 17 00:00:00 2001 From: nix-julia Date: Mon, 23 Sep 2024 17:48:53 +0330 Subject: [PATCH] python3Packages.pypdf: 4.3.1 -> 5.0.0 --- pkgs/development/python-modules/pypdf/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pypdf/default.nix b/pkgs/development/python-modules/pypdf/default.nix index 23c90f841ac555b..6e2f287a402bdac 100644 --- a/pkgs/development/python-modules/pypdf/default.nix +++ b/pkgs/development/python-modules/pypdf/default.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { pname = "pypdf"; - version = "4.3.1"; + version = "5.0.0"; pyproject = true; src = fetchFromGitHub { @@ -36,7 +36,7 @@ buildPythonPackage rec { rev = "refs/tags/${version}"; # fetch sample files used in tests fetchSubmodules = true; - hash = "sha256-wSF20I5WaxRoN0n0jxB5O3mAAIOxP/TclYBTRAUwYHo="; + hash = "sha256-omnNC1mzph59aqrXqLCuCk0LgzfJv/JhbQRrAgRhAIg="; }; outputs = [ @@ -78,6 +78,10 @@ buildPythonPackage rec { # don't access the network "-m" "'not enable_socket'" + # this test also needs network so disable it for now https://github.com/py-pdf/pypdf/pull/2867 + "-k" + "'not increment_writer'" + ]; meta = with lib; {