python312Packages.python-json-logger: disable failing tests

This commit is contained in:
Martin Weinelt
2023-12-20 20:45:59 +01:00
parent ff8d0651ff
commit dab2b59767
@@ -2,6 +2,7 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonAtLeast
}:
buildPythonPackage rec {
@@ -16,6 +17,13 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = lib.optionals (pythonAtLeast "3.12") [
# https://github.com/madzak/python-json-logger/issues/185
"test_custom_object_serialization"
"test_percentage_format"
"test_rename_reserved_attrs"
];
meta = with lib; {
description = "Json Formatter for the standard python logger";
homepage = "https://github.com/madzak/python-json-logger";