python310Packages.pypdf2 0 -> 1 attrpath: python310Packages.pypdf2 Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/aiwgwjy01rh7mfmkizf3igq2vfrncl7c-packages.json.drv building '/nix/store/aiwgwjy01rh7mfmkizf3igq2vfrncl7c-packages.json.drv'... Going to be running update for following packages: - python3.10-PyPDF2-2.11.1 Press Enter key to continue... Running update for: - python3.10-PyPDF2-2.11.1: UPDATING ... - python3.10-PyPDF2-2.11.1: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/pypdf2/default.nix b/pkgs/development/python-modules/pypdf2/default.nix index a93653e7e83..106b092594f 100644 --- a/pkgs/development/python-modules/pypdf2/default.nix +++ b/pkgs/development/python-modules/pypdf2/default.nix @@ -9,11 +9,11 @@ buildPythonPackage rec { pname = "PyPDF2"; - version = "2.11.1"; + version = "3.0.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-PHut1RLCFxHrF4nC6tv5YnkonA+URS7lSoZHO/vv1zI="; + sha256 = "sha256-p0QI9pumJx9xuTUu9O0D3FOjGqQE0ptdMfU7/s/uFEA="; }; LC_ALL = "en_US.UTF-8"; No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python310Packages.pypdf2 nix build failed. Using pipInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing setuptools-check-hook Using setuptoolsCheckPhase Sourcing unittest-check-hook Using unittestCheckPhase Removing setuptoolsCheckPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking sources unpacking source archive /nix/store/xdvrf8lag6iyr0njlkdq0pm1p17xf9ly-PyPDF2-3.0.1.tar.gz source root is PyPDF2-3.0.1 setting SOURCE_DATE_EPOCH to timestamp 1672482965 of file PyPDF2-3.0.1/README.md @nix { "action": "setPhase", "phase": "patchPhase" } patching sources @nix { "action": "setPhase", "phase": "configurePhase" } configuring no configure script, doing nothing @nix { "action": "setPhase", "phase": "buildPhase" } building Executing setuptoolsBuildPhase Traceback (most recent call last): File "/build/PyPDF2-3.0.1/nix_run_setup", line 8, in exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec')) File "/nix/store/abax98471z8fshv4b9p46bkh3lxmpy0z-python3-3.10.9/lib/python3.10/tokenize.py", line 394, in open buffer = _builtin_open(filename, 'rb') FileNotFoundError: [Errno 2] No such file or directory: 'setup.py' /nix/store/chilfhdcsnmwjl7igrw26j1lrc0zar35-stdenv-linux/setup: line 1570: pop_var_context: head of shell_variables not a function context