Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: python3Packages.djoser 0 -> 1 attrpath: python3Packages.djoser Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/lmi78s2f0issxncf96vzszk48hismv76-packages.json.drv building '/nix/store/lmi78s2f0issxncf96vzszk48hismv76-packages.json.drv'... Going to be running update for following packages: - python3.14-djoser-2.3.3 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.14-djoser-2.3.3: UPDATING ... - python3.14-djoser-2.3.3: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/djoser/default.nix b/pkgs/development/python-modules/djoser/default.nix index be44ee53ff96..21bbc2dbfa37 100644 --- a/pkgs/development/python-modules/djoser/default.nix +++ b/pkgs/development/python-modules/djoser/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "djoser"; - version = "2.3.3"; + version = "2.3.5"; pyproject = true; src = fetchFromGitHub { owner = "sunscrapers"; repo = "djoser"; tag = version; - hash = "sha256-RFOKEjAh5k/Bx7cj6ty2vQsW61lsXfJIJDOZeqL6iCE="; + hash = "sha256-6QCxW4Bm0eytIYcqDF9Dj1vakOleI5f2DCfju20LCnE="; }; build-system = [ poetry-core ]; No auto update branch exists Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python3Packages.djoser Received ExitFailure 1 when running Raw command: nix --extra-experimental-features nix-command log -f . python3Packages.djoser --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" Standard output: error: … while evaluating the attribute 'drvPath' at /var/cache/nixpkgs-update/worker/worktree/python3Packages.djoser/lib/customisation.nix:420:11: 419| // { 420| drvPath = | ^ 421| assert condition; … while calling the 'derivationStrict' builtin at «nix-internal»/derivation-internal.nix:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38| (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Refusing to evaluate package 'python3.14-python-jose-3.5.0' in /var/cache/nixpkgs-update/worker/worktree/python3Packages.djoser/pkgs/development/python-modules/python-jose/default.nix:62 because it is marked as insecure Known issues: - CVE-2026-120459 You can install it anyway by allowing this package, using the following methods: a) To temporarily allow all insecure packages, you can use an environment variable for a single invocation of the nix tools: $ export NIXPKGS_ALLOW_INSECURE=1 Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake, then pass `--impure` in order to allow use of environment variables. b) for `nixos-rebuild` you can add ‘python3.14-python-jose-3.5.0’ to `nixpkgs.config.permittedInsecurePackages` in the configuration.nix, like so: { nixpkgs.config.permittedInsecurePackages = [ "python3.14-python-jose-3.5.0" ]; } c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add ‘python3.14-python-jose-3.5.0’ to `permittedInsecurePackages` in ~/.config/nixpkgs/config.nix, like so: { permittedInsecurePackages = [ "python3.14-python-jose-3.5.0" ]; }