guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 5fc8a1d6e925df2acd7146a32ed2d8c2f2a2e712
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Dec 24 18:08:06 2025 +0100

    gnu: python-coloredlogs: Update to 15.0.1.
    
    * gnu/packages/python-xyz.scm (python-coloredlogs): Update to 15.0.1.
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:tests?>: Enable them.
    <#:test-flags>: Disable failing tests.
    [native-inputs]: Add python-pytest, python-setuptools,
    python-verboselogs.
    
    Change-Id: If21f11357fdce225de6caa3b7b77b6ef7ed6cb5b
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++----------
 1 file changed, 20 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0e10aa23d9..f739d539fb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6257,20 +6257,30 @@ for additional processing.")
 (define-public python-coloredlogs
   (package
     (name "python-coloredlogs")
-    (version "10.0")
+    (version "15.0.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "coloredlogs" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/xolox/python-coloredlogs";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "0dkw6xp0r1dwgz4s2f58npx5nxfq51wf4l6qkm5ib27slgfs4sdq"))))
-    (build-system python-build-system)
+        (base32 "1c83h3cvd2qww2m9myxrnqh0lr9fllx8zfb26f64lcvwd3cli1sf"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(;Tests require some updated modules
-       #:tests? #f))
-    (propagated-inputs
-     (list python-capturer))
+     (list
+      #:test-flags
+      #~(list "-k"
+              (string-join
+               (list "not test_auto_install" ; Unclear why this fails.
+                     ;; XXX: Require a "script" executable.
+                     "test_cli_conversion"
+                     "test_empty_conversion"
+                     "test_output_interception")
+               " and not "))))
+    (native-inputs (list python-pytest python-setuptools python-verboselogs))
+    (propagated-inputs (list python-capturer))
     (home-page "https://coloredlogs.readthedocs.io";)
     (synopsis "Colored stream handler for Python's logging module")
     (description

Reply via email to