3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #221822 from mweinelt/lightning-utilities-0.8.0

python310Packages.lightning-utilities: 0.7.1 -> 0.8.0
This commit is contained in:
Martin Weinelt 2023-03-18 12:17:52 +00:00 committed by GitHub
commit f0a7efb832
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,14 +16,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "lightning-utilities"; pname = "lightning-utilities";
version = "0.7.1"; version = "0.8.0";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Lightning-AI"; owner = "Lightning-AI";
repo = "utilities"; repo = "utilities";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-xjE5FsU1d/YcVHlfjtZE0T2LjGvsIOzbGJFU7PMDqdc="; hash = "sha256-uwmX+/SK2zBkZQbN/t/DZ3i+XbdAJ/RM+Q649QwMUz0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -57,7 +57,13 @@ buildPythonPackage rec {
disabledTestPaths = [ disabledTestPaths = [
"docs" "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; { meta = with lib; {