python311Packages.django-csp 0 -> 1 attrpath: python311Packages.django-csp 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 [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/hzzvmnaiqgnzpl0fyhzpr5mrxllznn35-packages.json.drv building '/nix/store/hzzvmnaiqgnzpl0fyhzpr5mrxllznn35-packages.json.drv'... Going to be running update for following packages: - python3.11-django-csp-3.7 Press Enter key to continue... Running update for: - python3.11-django-csp-3.7: UPDATING ... - python3.11-django-csp-3.7: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/django-csp/default.nix b/pkgs/development/python-modules/django-csp/default.nix index ed3add9a5cd0..dcb52264ade4 100644 --- a/pkgs/development/python-modules/django-csp/default.nix +++ b/pkgs/development/python-modules/django-csp/default.nix @@ -2,13 +2,13 @@ buildPythonPackage rec { pname = "django-csp"; - version = "3.7"; + version = "3.8"; format = "setuptools"; src = fetchPypi { inherit version; pname = "django_csp"; - sha256 = "01eda02ad3f10261c74131cdc0b5a6a62b7c7ad4fd017fbefb7a14776e0a9727"; + sha256 = "sha256-7w8an32Nporm4WnALprGYcDs8E23Dg0dhWQFEqaEccA="; }; # too complicated to setup - needs a running django instance No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/1gfp7hiwzpv9aglk2yfa9m49jc0n7pa5-nix-2.18.1/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python311Packages.django-csp nix build failed. Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh @nix { "action": "setPhase", "phase": "unpackPhase" } Running phase: unpackPhase unpacking source archive /nix/store/6i3qnfl74iz1m366lszjzwii6g1mhzk5-django_csp-3.8.tar.gz source root is django_csp-3.8 setting SOURCE_DATE_EPOCH to timestamp 1709301623 of file django_csp-3.8/setup.cfg @nix { "action": "setPhase", "phase": "patchPhase" } Running phase: patchPhase @nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } Running phase: updateAutotoolsGnuConfigScriptsPhase @nix { "action": "setPhase", "phase": "configurePhase" } Running phase: configurePhase no configure script, doing nothing @nix { "action": "setPhase", "phase": "buildPhase" } Running phase: buildPhase Executing setuptoolsBuildPhase Traceback (most recent call last): File "/build/django_csp-3.8/nix_run_setup", line 8, in exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/3v2ch16fkl50i85n05h5ckss8pxx6836-python3-3.11.8/lib/python3.11/tokenize.py", line 396, in open buffer = _builtin_open(filename, 'rb') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'setup.py' /nix/store/v099hqvw5z87423p4hz1vfhzaqa07dii-stdenv-linux/setup: line 1578: pop_var_context: head of shell_variables not a function context