summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-24 18:08:06 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-31 12:24:14 +0000
commit5fc8a1d6e925df2acd7146a32ed2d8c2f2a2e712 (patch)
tree23c53c8c04b2d44fb950682bea354d18f8354e79 /gnu/packages/python-xyz.scm
parentee27101aa34bfe70b9ae3c1c68c7c89a7b307c6e (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm30
1 files changed, 20 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0e10aa23d9e..f739d539fb3 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