Merge pull request #232123 from mweinelt/coqpit-py311

python311Packages.coqpit: disable failing tests
This commit is contained in:
Martin Weinelt
2023-05-16 12:20:47 +02:00
committed by GitHub
@@ -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 = ''