From d0955a83cb5f76cb8cc4ef8b8efd1ba4feddcf5b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 16 May 2023 02:22:11 +0200 Subject: [PATCH] python311Packages.coqpit: disable failing tests --- pkgs/development/python-modules/coqpit/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/python-modules/coqpit/default.nix b/pkgs/development/python-modules/coqpit/default.nix index f06b5429707f..48954b7a9117 100644 --- a/pkgs/development/python-modules/coqpit/default.nix +++ b/pkgs/development/python-modules/coqpit/default.nix @@ -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 = ''