python311Packages.coqpit: disable failing tests

This commit is contained in:
Martin Weinelt 2023-05-16 02:22:11 +02:00
parent 7907b061dc
commit d0955a83cb
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonAtLeast
, pytestCheckHook
}:
@ -25,6 +26,15 @@ buildPythonPackage rec {
"coqpit.coqpit"
];
# https://github.com/coqui-ai/coqpit/issues/40
disabledTests = lib.optionals (pythonAtLeast "3.11")[
"test_init_argparse_list_and_nested"
];
disabledTestPaths = lib.optionals (pythonAtLeast "3.11")[
"tests/test_nested_configs.py"
];
meta = with lib; {
description = "Simple but maybe too simple config management through python data classes";
longDescription = ''