python312Packages.pytorch-lightning 2.1.3 -> 2.2.0.post0 https://github.com/Lightning-AI/pytorch-lightning/releases attrpath: python312Packages.pytorch-lightning 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/h6qp0cyl7chh13d9hqvad5wlbid5wvwp-packages.json.drv building '/nix/store/h6qp0cyl7chh13d9hqvad5wlbid5wvwp-packages.json.drv'... Going to be running update for following packages: - python3.12-pytorch-lightning-2.1.3 Press Enter key to continue... Running update for: - python3.12-pytorch-lightning-2.1.3: UPDATING ... - python3.12-pytorch-lightning-2.1.3: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/pytorch-lightning/default.nix b/pkgs/development/python-modules/pytorch-lightning/default.nix index fdced71d178a..3976b5b14f7f 100644 --- a/pkgs/development/python-modules/pytorch-lightning/default.nix +++ b/pkgs/development/python-modules/pytorch-lightning/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "pytorch-lightning"; - version = "2.1.3"; + version = "2.2.0.post0"; format = "pyproject"; src = fetchFromGitHub { owner = "Lightning-AI"; repo = "pytorch-lightning"; rev = "refs/tags/${version}"; - hash = "sha256-3ELx4ukYlmsWvzK+GxEXM/0xFPPcZZcMv566jOXfcMs="; + hash = "sha256-5mwh9YvJnMiMsqqm+a7oM+C9tEsigxNhIsjU/gZmzM4="; }; preConfigure = '' No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/62fm7r6175k2bgvhc19hn9bdhw90wa3n-nix-2.18.1/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python312Packages.pytorch-lightning Received ExitFailure 1 when running Raw command: /nix/store/62fm7r6175k2bgvhc19hn9bdhw90wa3n-nix-2.18.1/bin/nix --extra-experimental-features nix-command log -f . python312Packages.pytorch-lightning Standard output: error: … while evaluating the attribute 'drvPath' at /var/cache/nixpkgs-update/worker/worktree/python312Packages.pytorch-lightning/lib/customisation.nix:267:7: 266| in commonAttrs // { 267| drvPath = assert condition; drv.drvPath; | ^ 268| outPath = assert condition; drv.outPath; … while evaluating the attribute 'drvPath' at /var/cache/nixpkgs-update/worker/worktree/python312Packages.pytorch-lightning/lib/customisation.nix:267:7: 266| in commonAttrs // { 267| drvPath = assert condition; drv.drvPath; | ^ 268| outPath = assert condition; drv.outPath; (stack trace truncated; use '--show-trace' to show the full trace) error: Package ‘python3.12-pbr-6.0.0’ in /var/cache/nixpkgs-update/worker/worktree/python312Packages.pytorch-lightning/pkgs/development/python-modules/pbr/default.nix:33 is marked as broken, refusing to evaluate. a) To temporarily allow broken packages, you can use an environment variable for a single invocation of the nix tools. $ export NIXPKGS_ALLOW_BROKEN=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 set { nixpkgs.config.allowBroken = true; } in configuration.nix to override this. c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowBroken = true; } to ~/.config/nixpkgs/config.nix.