Subject: [bug#70858] [PATCH v3 03/28] build-system/pyproject: Remove python-black input.

From: Nicolas Graves <[email-masked]>
Date: Fri, 31 Jan 2025 03:03:03 +0100

* gnu/packages/bioinformatics.scm (python-doubletdetection,
python-liana-py, scvelo)[native-inputs]: Remove python-black.

* gnu/packages/databases.scm (datasette):
  [native-inputs]: Remove python-black.

* gnu/packages/finance.scm (python-trezor)[native-inputs]: Remove
python-black.

* gnu/packages/graph.scm (python-graphtools)[native-inputs]: Remove
python-black.

* gnu/packages/machine-learning.scm (python-funsor,
python-imbalanced-learn, python-hyperopt, python-captum)
[native-inputs]: Remove python-black.

* gnu/packages/python-check.scm (python-vcrpy)[native-inputs]:
Remove python-black.

* gnu/packages/python-web.scm (python-ovh, python-openai,
python-starsessions-for-pytorch-lightning)[native-inputs]: Remove
python-black.

* gnu/packages/python-xyz.scm (python-pydantic-cli, python-imageio,
python-update-checker, python-eliot, python-minikanren)
[native-inputs]: Remove python-black.
(ptpython)[propagated-inputs]: Remove python-black.

* gnu/packages/virtualization.scm (python-transient)[native-inputs]:
Remove python-black.
---
 gnu/packages/bioinformatics.scm   | 11 +++--------
 gnu/packages/databases.scm        |  1 -
 gnu/packages/finance.scm          |  1 -
 gnu/packages/graph.scm            |  1 -
 gnu/packages/machine-learning.scm | 10 +++-------
 gnu/packages/python-web.scm       |  8 +++-----
 gnu/packages/python-xyz.scm       | 15 +++++----------
 gnu/packages/virtualization.scm   |  3 +--
 8 files changed, 15 insertions(+), 35 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 5dca1bb3d4..546aa97c71 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2765,8 +2765,7 @@ (define-public python-doubletdetection
            python-scipy
            python-tqdm))
     (native-inputs
-     (list python-black
-           python-flake8
+     (list python-flake8
            python-poetry-core
            python-pytest))
     (home-page "https://github.com/JonathanShor/DoubletDetection")
@@ -2985,10 +2984,7 @@ (define-public python-liana-py
                              python-tqdm
                              tzdata))
     (native-inputs
-     (list python-black
-           python-poetry-core
-           python-pytest
-           python-pytest-cov))
+     (list python-poetry-core python-pytest python-pytest-cov))
     (home-page "https://github.com/saezlab/liana-py")
     (synopsis "LIANA is a ligand-receptor analysis framework")
     (description "This is a Ligand-Receptor inference framework.  The
@@ -23577,8 +23573,7 @@ (define-public scvelo
            python-umap-learn
            pybind11))
     (native-inputs
-     (list python-black
-           python-flake8
+     (list python-flake8
            python-hypothesis
            python-pytest
            python-setuptools-scm
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index e7295337af..3fe9a76a0f 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -5799,7 +5799,6 @@ (define-public datasette
     (native-inputs
      (list nss-certs-for-test
            python-beautifulsoup4
-           python-black
            python-cogapp
            python-pip
            python-pytest
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index b7413063af..0bb2f46abb 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1159,7 +1159,6 @@ (define-public python-trezor
            python-typing-extensions))
     (native-inputs ; Only needed for running the tests
      (list protobuf
-           python-black
            python-isort
            python-pillow
            python-protobuf
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index c8bd25af9c..02268f4391 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -482,7 +482,6 @@ (define-public python-graphtools
     (native-inputs
      (list util-linux ;for lscpu
            python-anndata
-           python-black
            python-coverage
            python-coveralls
            python-nose
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index d36dca2d91..439c3c9c77 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -229,8 +229,7 @@ (define-public python-funsor
     (propagated-inputs (list python-makefun python-multipledispatch
                              python-numpy python-opt-einsum
                              python-typing-extensions))
-    (native-inputs (list python-black
-                         python-flake8
+    (native-inputs (list python-flake8
                          python-isort
                          python-nbsphinx
                          python-pandas
@@ -2151,8 +2150,7 @@ (define-public python-imbalanced-learn
                               (getcwd)))))))
     (propagated-inputs (list python-joblib python-numpy python-scikit-learn
                              python-scipy python-threadpoolctl))
-    (native-inputs (list python-black
-                         python-flake8
+    (native-inputs (list python-flake8
                          python-keras
                          python-mypy
                          python-pandas
@@ -2591,8 +2589,7 @@ (define-public python-hyperopt
            python-six
            python-tqdm))
     (native-inputs
-     (list python-black
-           python-nose
+     (list python-nose
            python-pymongo
            python-pytest
            python-wheel))
@@ -5323,7 +5320,6 @@ (define-public python-captum
      (list python-matplotlib python-numpy python-pytorch python-tqdm))
     (native-inputs (list jupyter
                          python-annoy
-                         python-black
                          python-flake8
                          python-flask
                          python-flask-compress
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d17b61f29f..25407f4d7f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1515,8 +1515,7 @@ (define-public python-ovh
     (build-system pyproject-build-system)
     (arguments (list #:tests? #f))      ; XXX: tests require networking
     (propagated-inputs (list python-requests))
-    (native-inputs (list python-black
-                         python-coverage
+    (native-inputs (list python-coverage
                          python-flake8
                          python-isort
                          python-pytest
@@ -2925,7 +2924,7 @@ (define-public python-openai
  and not test_file_cli")))
     (propagated-inputs (list python-aiohttp python-requests python-tqdm
                              python-typing-extensions))
-    (native-inputs (list python-black python-pytest python-pytest-asyncio
+    (native-inputs (list python-pytest python-pytest-asyncio
                          python-pytest-mock python-setuptools python-wheel))
     (home-page "https://github.com/openai/openai-python")
     (synopsis "Python client library for the OpenAI API")
@@ -10211,8 +10210,7 @@ (define-public python-starsessions
            python-itsdangerous
            python-starlette))
     (native-inputs
-     (list python-black
-           python-flake8
+     (list python-flake8
            python-httpx
            python-mypy
            python-poetry-core
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b4b233d464..6cbc2f92f5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8714,8 +8714,7 @@ (define-public python-pydantic-cli
     (propagated-inputs
      (list python-pydantic))
     (native-inputs
-     (list python-black
-           python-mypy
+     (list python-mypy
            python-pytest))
     (home-page "https://github.com/mpkocher/pydantic-cli")
     (synopsis "Turn Pydantic defined data models into CLI tools")
@@ -11762,8 +11761,7 @@ (define-public python-imageio
     (propagated-inputs
      (list python-imageio-ffmpeg python-numpy python-pillow python-tifffile))
     (native-inputs
-     (list python-black
-           python-flake8
+     (list python-flake8
            python-fsspec
            python-pytest
            python-pytest-cov
@@ -23623,8 +23621,7 @@ (define-public ptpython
     (arguments
      `(#:tests? #f)) ;there are no tests
     (propagated-inputs
-     (list python-appdirs python-black python-jedi python-prompt-toolkit
-           python-pygments))
+     (list python-appdirs python-jedi python-prompt-toolkit python-pygments))
     (home-page "https://github.com/jonathanslenders/ptpython")
     (synopsis "Python Read-Eval-Print-Loop with nice IDE-like features")
     (description
@@ -28962,7 +28959,7 @@ (define-public python-update-checker
         (base32 "04yb5a9mi45ax50m2m0ih6gdvkk1j7gfmy83dd58i1f59axlabba"))))
     (build-system python-build-system)
     (propagated-inputs (list python-requests))
-    (native-inputs (list python-black python-flake8 python-pytest))
+    (native-inputs (list python-flake8 python-pytest))
     (home-page "https://github.com/bboe/update_checker")
     (synopsis "Python module that will check for package updates")
     (description "This package provides a Python module that will check for
@@ -33267,8 +33264,7 @@ (define-public python-eliot
     (propagated-inputs
      (list python-boltons python-orjson python-pyrsistent python-zope-interface))
     (native-inputs
-     (list python-black
-           python-coverage
+     (list python-coverage
            python-flake8
            python-hypothesis
            python-pytest
@@ -36597,7 +36593,6 @@ (define-public python-minikanren
            python-pytest
            python-pytest-cov
            python-pylint
-           python-black
            python-sympy
            python-versioneer
            python-coverage))
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index b8819bb14d..568b50fcf9 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -2972,8 +2972,7 @@ (define-public python-transient
                         (("==")
                          ">=")))))))
     (native-inputs
-     (list python-black
-           python-mypy
+     (list python-mypy
            python-pyhamcrest
            python-setuptools
            python-twine
-- 
2.48.1