GNU bug report logs - #77246
[PATCH python-team 00/18] One more iteration with a few fixes

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Tue, 25 Mar 2025 07:25:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 77246 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 77246 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 11/18] gnu: Add python-colored-traceback.
Date: Tue, 25 Mar 2025 08:56:47 +0100
* gnu/packages/python-xyz.scm (python-colored-traceback): New variable.
---
 gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 26b4a76670..5c849ca6a2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1595,6 +1595,34 @@ (define-public python-colored
 names for 256 color terminal setups.")
     (license license:expat)))
 
+(define-public python-colored-traceback
+  ;; No tags in upstream repository.
+  (let ((commit "98e6dea7111f7681db823c518f18026374a832b9")
+        (revision "0"))
+    (package
+      (name "python-colored-traceback")
+      (version (git-version "0.4.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/staticshock/colored-traceback.py")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "19d5mpwk7398b8fjh6abnr96wz70vf5vb4p207r8sny748rwx451"))))
+      (build-system pyproject-build-system)
+      (arguments
+       ;; Tests are incompatible with current python version.
+       (list #:tests? #f))
+      (propagated-inputs (list python-colorama python-pygments))
+      (native-inputs (list python-setuptools python-wheel))
+      (home-page "https://github.com/staticshock/colored-traceback.py")
+      (synopsis "Automatically color uncaught exception tracebacks")
+      (description "This package provides python utilities to automatically
+color uncaught exception tracebacks.")
+      (license license:isc))))
+
 (define-public python-colorful
   (package
     (name "python-colorful")
-- 
2.49.0





This bug report was last modified 114 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.