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>
This commit is contained in:
Nicolas Graves 2025-12-24 18:08:06 +01:00 committed by Sharlatan Hellseher
parent ee27101aa3
commit 5fc8a1d6e9
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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