guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 78e4c89aebd84aec14d01faebdfb51e954edaca6
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun May 31 19:54:43 2026 +0100
gnu: python-black: Update to 26.5.1.
* gnu/packages/python-xyz.scm (python-black): Update to 26.5.1.
[arguments] <test-flags>: Deselect just on tests from the group to enable
more tests.
Change-Id: I224761088f42722bfc0290067e9400d3190daf3f
---
gnu/packages/python-xyz.scm | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0152a5395d..2e70d0035f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11761,7 +11761,7 @@ and integrated feature-set for programming Python
effectively.")
(define-public python-black
(package
(name "python-black")
- (version "26.3.1")
+ (version "26.5.1")
(source
(origin
(method git-fetch)
@@ -11770,15 +11770,17 @@ and integrated feature-set for programming Python
effectively.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1m2vxwajavhpg34zkwyg4qyhf0lfsbphm9lvqkikal1lr1cymknz"))))
+ (base32 "13fsaasnbgvlnxzsy81mlyp2pjni7fpp1v9gwh7xmq0pzxzai8h8"))))
(build-system pyproject-build-system)
(arguments
(list
- ;; tests: 232 passed, 3 skipped, 4 subtests
+ ;; tests: 443 passed, 3 skipped, 4 subtests passed
#:test-flags
#~(list "--numprocesses" (number->string (min (parallel-job-count) 8))
;; Diffs are not equal.
- "--deselect=tests/test_format.py::test_simple_format")
+ (string-append "--deselect=tests/test_format.py"
+ "::test_simple_format"
+ "[module_docstring_after_comment]"))
#:phases
#~(modify-phases %standard-phases
(add-after 'patch-source-shebangs 'use-absolute-file-names
@@ -11788,19 +11790,20 @@ and integrated feature-set for programming Python
effectively.")
(string-append
"#!" (search-input-file inputs "/bin/python3")))))))))
(propagated-inputs
- (list python-aiohttp
- python-click
+ (list python-click
python-mypy-extensions
python-packaging
python-pathspec
python-platformdirs
- python-pytokens))
+ python-pytokens
+ ;; [optional]
+ python-aiohttp))
(native-inputs
- (list python-pytest
- python-pytest-xdist
- python-hatch-fancy-pypi-readme
+ (list python-hatch-fancy-pypi-readme
python-hatch-vcs
- python-hatchling))
+ python-hatchling
+ python-pytest
+ python-pytest-xdist))
(home-page "https://github.com/psf/black")
(synopsis "The uncompromising code formatter")
(description "Black is the uncompromising Python code formatter.")