guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 5b2dd1a53e74ef3cf948d95ef0bd0ec320488f58
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Mar 14 22:24:55 2026 +0000

    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
---
 gnu/packages/python-xyz.scm | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6bddc5ef8b..475c33e20d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29570,6 +29570,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")
@@ -29581,7 +29583,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

Reply via email to