GNU bug report logs - #70858
[PATCH 00/32] python-team: Remove native inputs

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Fri, 10 May 2024 07:50:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 70858 <at> debbugs.gnu.org
Subject: [bug#70858] [PATCH python-team v4 09/52] build-system/pyproject: Remove python-black inputs.
Date: Thu, 30 Jan 2025 23:40:47 +0100
* gnu/packages/bioinformatics.scm (python-doubletdetection,
python-liana-py, python-metacells, python-ngesh, scvelo)
* gnu/packages/databases.scm (datasette)
* gnu/packages/finance.scm (python-trezor)
* gnu/packages/graph.scm (python-graphtools)
* gnu/packages/jupyter.scm (python-papermill)
* gnu/packages/machine-learning.scm (python-funsor,
python-imbalanced-learn, python-hyperopt, python-captum)
* gnu/packages/python-check.scm (python-vcrpy)
* gnu/packages/python-web.scm (python-ovh, python-openai,
* gnu/packages/python-science.scm (python-scikit-survival)
python-starsessions-for-pytorch-lightning)
* gnu/packages/python-xyz.scm (python-archspec, python-pydantic-cli,
python-imageio, python-update-checker, python-eliot,
python-minikanren)
* gnu/packages/virtualization.scm (python-transient)
[native-inputs]: Remove python-black.

* gnu/packages/python-xyz.scm (ptpython,
python-get-version)[propagated-inputs]: Remove python-black.
---
 gnu/packages/bioinformatics.scm   | 16 +++++-----------
 gnu/packages/databases.scm        |  1 -
 gnu/packages/finance.scm          |  1 -
 gnu/packages/graph.scm            |  1 -
 gnu/packages/jupyter.scm          |  1 -
 gnu/packages/machine-learning.scm | 10 +++-------
 gnu/packages/python-science.scm   |  3 +--
 gnu/packages/python-web.scm       |  8 +++-----
 gnu/packages/python-xyz.scm       | 19 ++++++-------------
 gnu/packages/virtualization.scm   |  3 +--
 10 files changed, 19 insertions(+), 44 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 3e8a9def35..ed05470c0f 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2824,8 +2824,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")
@@ -3053,10 +3052,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
@@ -3172,8 +3168,7 @@ (define-public python-metacells
                              python-scipy
                              python-threadpoolctl
                              python-umap-learn))
-    (native-inputs (list python-black
-                         python-bumpversion
+    (native-inputs (list python-bumpversion
                          python-flake8
                          python-isort
                          python-mypy
@@ -3213,7 +3208,7 @@ (define-public python-ngesh
         (base32 "07sj4x95b5hvx57pw24f80sk4ag4hkg1z6wzym3pzi8n5gn85n1z"))))
     (build-system pyproject-build-system)
     (propagated-inputs (list python-ete3 python-numpy python-six))
-    (native-inputs (list python-black python-flake8 python-pytest python-twine
+    (native-inputs (list python-flake8 python-pytest python-twine
                          python-wheel))
     (home-page "https://github.com/tresoldi/ngesh")
     (synopsis "Library for phylogenetic tree simulation")
@@ -24006,8 +24001,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 9b8c95047b..40ffe3e084 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -5801,7 +5801,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 bb1234ebd9..9805679597 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1160,7 +1160,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 f29a71c0d7..75ebbff2db 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/jupyter.scm b/gnu/packages/jupyter.scm
index 6c2f549583..f47d8de295 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -1157,7 +1157,6 @@ (define-public python-papermill
                              python-tenacity
                              python-tqdm))
     (native-inputs (list python-attrs
-                         python-black
                          python-boto3
                          python-botocore
                          python-bumpversion
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 59a8445f23..37ccaf2b52 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
@@ -2155,8 +2154,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
@@ -2595,8 +2593,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))
@@ -5326,7 +5323,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-science.scm b/gnu/packages/python-science.scm
index 844bddf3ce..f18da4a326 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -888,8 +888,7 @@ (define-public python-scikit-survival
              python-scikit-learn
              python-scipy))
       (native-inputs
-       (list python-black
-             python-pypa-build
+       (list python-pypa-build
              python-coverage
              python-cython-3
              python-packaging
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5ea9e5a709..c17485feff 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1614,8 +1614,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
@@ -3024,7 +3023,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")
@@ -10327,8 +10326,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 252c13ee13..0f92e69c6c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -395,8 +395,7 @@ (define-public python-archspec
                              python-scikit-learn
                              python-tables
                              python-typing-extensions))
-    (native-inputs (list python-black
-                         python-flake8
+    (native-inputs (list python-flake8
                          python-isort
                          python-poetry-core
                          python-pylint
@@ -8858,8 +8857,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")
@@ -11983,8 +11981,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
@@ -17551,7 +17548,6 @@ (define-public python-get-version
     (propagated-inputs
      (list python-pygments
            python-pytest
-           python-pytest-black
            python-pytest-cov
            python-setuptools
            python-testpath))
@@ -23842,8 +23838,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
@@ -29209,7 +29204,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
@@ -33534,8 +33529,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
@@ -36846,7 +36840,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 9ab65e6c6c..cc0346297e 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -2987,8 +2987,7 @@ (define-public python-transient
                         (("==")
                          ">=")))))))
     (native-inputs
-     (list python-black
-           python-mypy
+     (list python-mypy
            python-pyhamcrest
            python-setuptools
            python-twine
-- 
2.48.1



-- 
Best regards,
Nicolas Graves




This bug report was last modified 67 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.