diff options
Diffstat (limited to 'pkgs/development/python-modules/loguru/default.nix')
-rw-r--r-- | pkgs/development/python-modules/loguru/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/loguru/default.nix b/pkgs/development/python-modules/loguru/default.nix index 28e6a9d172d85..75cc1f9b2c614 100644 --- a/pkgs/development/python-modules/loguru/default.nix +++ b/pkgs/development/python-modules/loguru/default.nix @@ -2,10 +2,8 @@ , stdenv , buildPythonPackage , colorama -, fetchpatch , fetchFromGitHub , freezegun -, mypy , pytestCheckHook , pythonOlder }: @@ -28,14 +26,19 @@ buildPythonPackage rec { pytestCheckHook colorama freezegun - mypy ]; - disabledTestPaths = lib.optionals stdenv.isDarwin [ + disabledTestPaths = [ + "tests/test_type_hinting.py" # avoid dependency on mypy + ] ++ lib.optionals stdenv.isDarwin [ "tests/test_multiprocessing.py" ]; - disabledTests = lib.optionals stdenv.isDarwin [ + disabledTests = [ + # fails on some machine configurations + # AssertionError: assert '' != '' + "test_file_buffering" + ] ++ lib.optionals stdenv.isDarwin [ "test_rotation_and_retention" "test_rotation_and_retention_timed_file" "test_renaming" |