python311Packages.mmengine: ignore pytest warning

This commit is contained in:
Fabian Affolter 2024-04-05 11:31:18 +02:00
parent 08498b5366
commit b3e11c88c3
1 changed files with 12 additions and 3 deletions

View File

@ -13,6 +13,7 @@
, pythonOlder
, pyyaml
, rich
, setuptools
, termcolor
, torch
, yapf
@ -32,7 +33,11 @@ buildPythonPackage rec {
hash = "sha256-fKtPDdeKB3vX2mD+Tsicq8KOkPDSACzKK1XLyugdPQ4=";
};
propagatedBuildInputs = [
build-system = [
setuptools
];
dependencies = [
addict
matplotlib
numpy
@ -47,9 +52,9 @@ buildPythonPackage rec {
coverage
lmdb
mlflow
torch
parameterized
pytestCheckHook
torch
];
preCheck = ''
@ -87,7 +92,6 @@ buildPythonPackage rec {
"test_lazy_import"
# AssertionError
"test_lazy_module"
# Require unpackaged aim
"test_experiment"
"test_add_config"
@ -97,6 +101,11 @@ buildPythonPackage rec {
"test_close"
];
pytestFlagsArray = [
"-W"
"ignore::pytest.PytestRemovedIn8Warning"
];
meta = with lib; {
description = "Library for training deep learning models based on PyTorch";
homepage = "https://github.com/open-mmlab/mmengine";