python312Packages.python-json-logger: disable failing tests
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user