Commit b3e11c88 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.mmengine: ignore pytest warning

parent 08498b53
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
@@ -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";