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 = [