From 96585d333242f0cfe403fb274e2276978b575e1e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 18 Mar 2023 11:43:09 +0100 Subject: [PATCH] python310Packages.lightning-utilities: 0.7.1 -> 0.8.0 https://github.com/Lightning-AI/utilities/releases/tag/v0.8.0 --- .../python-modules/lightning-utilities/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/lightning-utilities/default.nix b/pkgs/development/python-modules/lightning-utilities/default.nix index cd5fb226e95d..22a312d26630 100644 --- a/pkgs/development/python-modules/lightning-utilities/default.nix +++ b/pkgs/development/python-modules/lightning-utilities/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "lightning-utilities"; - version = "0.7.1"; + version = "0.8.0"; format = "pyproject"; src = fetchFromGitHub { owner = "Lightning-AI"; repo = "utilities"; rev = "refs/tags/v${version}"; - hash = "sha256-xjE5FsU1d/YcVHlfjtZE0T2LjGvsIOzbGJFU7PMDqdc="; + hash = "sha256-uwmX+/SK2zBkZQbN/t/DZ3i+XbdAJ/RM+Q649QwMUz0="; }; nativeBuildInputs = [ @@ -57,7 +57,13 @@ buildPythonPackage rec { disabledTestPaths = [ "docs" + # doctests that expect docs.txt in the wrong location + "src/lightning_utilities/install/requirements.py" + ]; + pytestFlagsArray = [ + # warns about distutils removal in python 3.12 + "-W" "ignore::DeprecationWarning" ]; meta = with lib; {