python312Packages.lightning-utilities: 0.12.0 -> 0.13.0 (#387045)

This commit is contained in:
Gaétan Lepage
2025-03-04 21:50:33 +01:00
committed by GitHub
@@ -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 <class 'AssertionError'>
"test_no_warning_call"
];
disabledTestPaths = [