python311Packages.lightning-utilities 0 -> 1 attrpath: python311Packages.lightning-utilities 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/zxwgyfvqb5f4p5bkngwkzl9blj2dl696-packages.json.drv building '/nix/store/zxwgyfvqb5f4p5bkngwkzl9blj2dl696-packages.json.drv'... Going to be running update for following packages: - python3.11-lightning-utilities-0.10.1 Press Enter key to continue... Running update for: - python3.11-lightning-utilities-0.10.1: UPDATING ... - python3.11-lightning-utilities-0.10.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/lightning-utilities/default.nix b/pkgs/development/python-modules/lightning-utilities/default.nix index f1d94bad1af2..1a3403e5ae51 100644 --- a/pkgs/development/python-modules/lightning-utilities/default.nix +++ b/pkgs/development/python-modules/lightning-utilities/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "lightning-utilities"; - version = "0.10.1"; + version = "0.11.2"; format = "pyproject"; src = fetchFromGitHub { owner = "Lightning-AI"; repo = "utilities"; rev = "refs/tags/v${version}"; - hash = "sha256-kP7BllA9FR/nMNTxRCxmG6IJYHz/Nxqb1HoF9KxuKl8="; + hash = "sha256-IT9aRAUNc2cP2erLr0MglZSVLfDjOxg8PVIIe9AvO0o="; }; nativeBuildInputs = [ No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/v7gdmdc9yhx3ngh840xx5kr46840s73b-nix-2.18.2/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python311Packages.lightning-utilities nix build failed. =================================== FAILURES =================================== _____________________________ test_no_warning_call _____________________________ def test_no_warning_call(): with no_warning_call(): ... with pytest.raises(AssertionError, match=escape("`Warning` was raised: UserWarning('foo')")), no_warning_call(): warnings.warn("foo") with no_warning_call(DeprecationWarning): warnings.warn("foo") class MyDeprecationWarning(DeprecationWarning): ... > with pytest.raises( AssertionError, match=escape("`DeprecationWarning` was raised: MyDeprecationWarning('bar')") ), no_warning_call(DeprecationWarning): E Failed: DID NOT RAISE  tests/unittests/test/test_warnings.py:20: Failed ============================= slowest 25 durations ============================= 0.03s call tests/scripts/test_adjust_torch_versions.py::test_adjust_torch_versions_call 0.01s call tests/unittests/core/test_imports.py::test_requirement_cache (23 durations < 0.005s hidden. Use -vv to show these durations.) =========================== short test summary info ============================ FAILED tests/unittests/test/test_warnings.py::test_no_warning_call - Failed: DID NOT RAISE ============ 1 failed, 36 passed, 6 deselected, 2 warnings in 0.26s ============ /nix/store/v5lsd029lz5lfhamivbgqyp3zdv94ah2-stdenv-linux/setup: line 1578: pop_var_context: head of shell_variables not a function context