From 2b8bbc9cbcebf5c5dd9b9885fb97f095ff59783b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 2 Jan 2025 13:37:52 +0100 Subject: gnu: python-black: Update to 24.10.0. * gnu/packages/python-xyz.scm (python-black): Update to 24.10.0. [propagated-inputs]: Remove python-attrs, python-appdirs, python-regex, and python-typed-ast. [native-inputs]: Remove python-setuptools, python-setuptools-scm, and python-wheel; add python-hatch-fancy-pypi-readme, python-hatch-vcs, and python-hatchling. Change-Id: Idf0d6ae54cc29a0652144be6adbce329aac6e81f --- gnu/packages/python-xyz.scm | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cd7cf53c9b..605e308226 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8789,14 +8789,14 @@ (define-public python-language-server (define-public python-black (package (name "python-black") - (version "22.3.0") + (version "24.10.0") (source (origin (method url-fetch) (uri (pypi-uri "black" version)) (sha256 (base32 - "0yfahlqc7dsdp1js0cbv706apldnfnlbal9b53cww8n0hs40n0im")))) + "0xa8vkgbvmkdh4vsk967xh81i6g47fcqf5vngdkvrqxgjx6acvl4")))) (build-system pyproject-build-system) (arguments `(#:phases @@ -8809,21 +8809,18 @@ (define-public python-black "#!" (search-input-file inputs "/bin/python3"))))))))) (propagated-inputs (list python-click - python-attrs - python-appdirs - python-pathspec python-mypy-extensions + python-packaging + python-pathspec python-platformdirs - python-regex python-tomli - python-typed-ast python-typing-extensions)) (native-inputs (list python-pytest python-pytest-aiohttp - python-setuptools - python-setuptools-scm - python-wheel)) + python-hatch-fancy-pypi-readme + python-hatch-vcs + python-hatchling)) (home-page "https://github.com/psf/black") (synopsis "The uncompromising code formatter") (description "Black is the uncompromising Python code formatter.") -- cgit v1.2.3