From c5c6c1830640f5273b9b4e780bfc51c7860be15d Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 4 Mar 2025 17:48:24 +0100 Subject: [PATCH] python312Packages.lightning-utilities: 0.12.0 -> 0.13.0 Diff: https://github.com/Lightning-AI/utilities/compare/refs/tags/v0.12.0...v0.13.0 Changelog: https://github.com/Lightning-AI/utilities/releases/tag/v0.13.0 --- .../python-modules/lightning-utilities/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/lightning-utilities/default.nix b/pkgs/development/python-modules/lightning-utilities/default.nix index f0a14e85611e..771179f8e392 100644 --- a/pkgs/development/python-modules/lightning-utilities/default.nix +++ b/pkgs/development/python-modules/lightning-utilities/default.nix @@ -13,19 +13,19 @@ # tests pytest-timeout, - pytest7CheckHook, + pytestCheckHook, }: buildPythonPackage rec { pname = "lightning-utilities"; - version = "0.12.0"; + version = "0.13.0"; pyproject = true; src = fetchFromGitHub { owner = "Lightning-AI"; repo = "utilities"; tag = "v${version}"; - hash = "sha256-Uu5VhrETDOYnTwjSSKkJx08yjt7cpgP2fmkpRyDepaI="; + hash = "sha256-LFrBr8fumGp4KY7mNtMEMrE9vX1lyNoQKf+xxRymzTE="; }; postPatch = '' @@ -45,7 +45,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytest-timeout - pytest7CheckHook + pytestCheckHook ]; disabledTests = [ @@ -53,12 +53,10 @@ buildPythonPackage rec { "lightning_utilities.core.imports.RequirementCache" "lightning_utilities.core.imports.compare_version" "lightning_utilities.core.imports.get_dependency_min_version_spec" + # weird doctests fail on imports, but providing the dependency # fails another test "lightning_utilities.core.imports.ModuleAvailableCache" - "lightning_utilities.core.imports.requires" - # Failed: DID NOT RAISE - "test_no_warning_call" ]; disabledTestPaths = [