gnu: python-json-logger: Skip 3 tests.

* gnu/packages/python-xyz.scm (python-json-logger)[arguments]
<test-flags>: Skip 3 tests failing on Python 3.12.
[native-inputs]: Remove python-wheel.

Change-Id: Ic3b63d0c1b7c54bfce9151515384ef38a7d6be0a
This commit is contained in:
Sharlatan Hellseher
2026-03-14 22:24:55 +00:00
committed by Andreas Enge
parent a37581c318
commit 8b6712ef87

View File

@@ -29901,6 +29901,8 @@ for embedding context in JSON objects.")
(license license:mpl2.0)))
(define-public python-json-logger
;; XXX: This project was archived by the owner on Dec 21, 2024. It is now
;; read-only. See: <https://codeberg.org/guix/guix/issues/7124>.
(package
(name "python-json-logger")
(version "2.0.7")
@@ -29912,7 +29914,19 @@ for embedding context in JSON objects.")
(base32
"071f9d62ds1xdp88yzsfpf1pba2f78cp18193smcads2sc1frrr3"))))
(build-system pyproject-build-system)
(native-inputs (list python-pytest python-setuptools python-wheel))
(arguments
(list
#:test-flags
;; See: <https://github.com/madzak/python-json-logger/issues/185>.
#~(list #$@(map (lambda (ls) (string-append "--deselect=tests/"
(string-join ls "::")))
'(("test_jsonlogger.py" "TestJsonLogger"
"test_custom_object_serialization")
("test_jsonlogger.py" "TestJsonLogger"
"test_percentage_format")
("test_jsonlogger.py" "TestJsonLogger"
"test_rename_reserved_attrs"))))))
(native-inputs (list python-pytest python-setuptools))
(home-page "https://github.com/madzak/python-json-logger")
(synopsis "JSON log formatter in Python")
(description "This library allows standard Python logging to output log data