Subject: [PATCH v5 20/48] build-system/pyproject: Remove python-tox native-input.

From: Nicolas Graves <[email-masked]>
Date: Thu, 27 Feb 2025 15:27:21 +0100

* gnu/packages/bioinformatics.scm (python-metacells)
* gnu/packages/django.scm (python-django-pipeline, python-django-extensions)
* gnu/packages/jupyter.scm (python-papermill)
* gnu/packages/logging.scm (tailon)
* gnu/packages/messaging.scm (python-harmony)
* gnu/packages/mp3.scm (python-audioread)
* gnu/packages/networking.scm (gandi.cli)
* gnu/packages/python-check.scm (python-pytest-qt, python-nox)
* gnu/packages/python-science.scm (python-scikit-survival)
* gnu/packages/python-web.scm (python-flask-htpasswd,
  python-simple-websocket, python-omnipath, python-sanic)
* gnu/packages/python-xyz.scm (python-lunr, python-bidict,
  python-jsonargparse, python-ddlparse, python-virtualenv-clone,
  python-honcho, python-shshsh, python-ansicolors)
* gnu/packages/radio.scm (chirp)
* gnu/packages/terminals.scm (python-halo, python-log-symbols,
  python-spinners)
* gnu/packages/textutils.scm (txt2tags)
[native-inputs]: Remove python-tox.
---
 gnu/packages/bioinformatics.scm |  1 -
 gnu/packages/django.scm         |  2 --
 gnu/packages/jupyter.scm        |  1 -
 gnu/packages/logging.scm        |  2 +-
 gnu/packages/messaging.scm      |  2 --
 gnu/packages/mp3.scm            |  3 +--
 gnu/packages/networking.scm     |  2 +-
 gnu/packages/python-check.scm   |  4 +---
 gnu/packages/python-science.scm |  3 +--
 gnu/packages/python-web.scm     |  5 +----
 gnu/packages/python-xyz.scm     | 18 +++++-------------
 gnu/packages/radio.scm          |  3 +--
 gnu/packages/terminals.scm      |  3 ---
 gnu/packages/textutils.scm      |  1 -
 14 files changed, 12 insertions(+), 38 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 1cec139812..bb8ac5c800 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3177,7 +3177,6 @@ (define-public python-metacells
                          python-setuptools
                          python-sphinx
                          python-sphinx-rtd-theme
-                         python-tox
                          python-twine
                          python-wheel))
     (home-page "https://github.com/tanaylab/metacells.git")
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index b7f2e23f9d..c1cf3b1337 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -268,7 +268,6 @@ (define-public python-django-extensions
     (native-inputs
      (list python-mock
            python-factory-boy
-           python-tox
            python-pytest
            python-pytest-cov
            python-pytest-django
@@ -995,7 +994,6 @@ (define-public python-django-pipeline
      (list python-django
            python-setuptools
            python-setuptools-scm
-           python-tox
            python-wheel))
     (home-page
      "https://github.com/jazzband/django-pipeline")
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 1ee99c8602..8f900d3f88 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -1171,7 +1171,6 @@ (define-public python-papermill
                          python-recommonmark
                          python-requests
                          python-setuptools
-                         python-tox
                          python-twine
                          python-wheel))
     (home-page "https://github.com/nteract/papermill")
diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm
index 9cc28279d7..55a1db4123 100644
--- a/gnu/packages/logging.scm
+++ b/gnu/packages/logging.scm
@@ -159,7 +159,7 @@ (define-public tailon
          "0xkmrivzilsc9wqr8ms67v7399gxnh7pv5687k4rdpdgz4309fwc"))))
     (build-system python-build-system)
     (native-inputs
-     (list python-tox python-wheel))
+     (list python-wheel))
     (inputs
      (list python-pyyaml-5 python-sockjs-tornado python-tornado-http-auth
            python-tornado python-deepmerge))
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 1ee8255593..fcb05dbda6 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -3626,8 +3626,6 @@ (define-public python-harmony
                (base32
                 "1bm9xcnzpnpj6rlhbrnl2abwclzl7ivgh1vb5644y9mnhcs489js"))))
     (build-system python-build-system)
-    (native-inputs
-     (list python-tox))
     (inputs
      (list python-librecaptcha python-keyring python-requests))
     (synopsis "Discord account management")
diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm
index 9dfce6313f..ccf105d7be 100644
--- a/gnu/packages/mp3.scm
+++ b/gnu/packages/mp3.scm
@@ -688,8 +688,7 @@ (define-public python-audioread
      (list gstreamer
            gst-plugins-base
            python-flit-core
-           python-pytest
-           python-tox))
+           python-pytest))
     (home-page "https://github.com/sampsyo/audioread")
     (synopsis "Decode audio files using whichever backend is available")
     (description
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 1b97853a59..96561fff3a 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1941,7 +1941,7 @@ (define-public gandi.cli
                #t))))))
     (native-inputs
      (list python-docutils ; for rst2man.py
-           python-pytest python-pytest-cov python-tox))
+           python-pytest python-pytest-cov))
     (propagated-inputs
      (list openssh))           ; used by gandi/cli/modules/iass.py
     (inputs
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index e57438b2ea..c2026f2433 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2295,7 +2295,6 @@ (define-public python-pytest-qt
      (list python-pre-commit
            python-setuptools
            python-setuptools-scm
-           python-tox
            python-wheel))
     (home-page "https://github.com/pytest-dev/pytest-qt")
     (synopsis "Pytest support for PyQt and PySide applications")
@@ -3012,8 +3011,7 @@ (define-public python-nox
     (native-inputs
      (list python-hatchling
            python-jinja2
-           python-pytest
-           python-tox))
+           python-pytest))
     (home-page "https://nox.thea.codes/")
     (synopsis "Flexible test automation")
     (description
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 83e66572e3..c6616f3ab6 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -893,8 +893,7 @@ (define-public python-scikit-survival
              python-pytest
              python-setuptools
              python-setuptools-scm
-             python-tomli
-             python-tox))
+             python-tomli))
       (home-page "https://github.com/sebp/scikit-survival")
       (synopsis "Survival analysis built on top of scikit-learn")
       (description "Scikit-survival is a Python module for survival analysis
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 76e13b3af2..c2c6578f2e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2974,7 +2974,6 @@ (define-public python-omnipath
              python-requests-mock
              python-setuptools
              python-setuptools-scm
-             python-tox
              python-wheel))
       (home-page "https://omnipathdb.org/")
       (synopsis "Python client for the OmniPath web service")
@@ -5826,7 +5825,7 @@ (define-public python-flask-htpasswd
     (build-system pyproject-build-system)
     (arguments (list #:tests? #false)) ;none included
     (propagated-inputs
-     (list python-flask python-passlib python-pyjwt python-tox))
+     (list python-flask python-passlib python-pyjwt))
     (native-inputs (list python-pytest
                          python-setuptools
                          python-wheel))
@@ -8916,7 +8915,6 @@ (define-public python-sanic
            python-setuptools
            python-slotscheck
            python-towncrier
-           python-tox
            python-types-ujson
            python-uvicorn
            python-wheel))
@@ -9040,7 +9038,6 @@ (define-public python-simple-websocket
     (native-inputs (list python-pytest
                          python-pytest-cov
                          python-setuptools
-                         python-tox
                          python-wheel))
     (home-page "https://github.com/miguelgrinberg/simple-websocket")
     (synopsis "Simple WebSocket server and client for Python")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cd20064c95..e991fe97e8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1682,8 +1682,7 @@ (define-public python-lunr
      (list python-hatch-fancy-pypi-readme
            python-hatchling
            python-pytest
-           python-pytest-timeout
-           python-tox))
+           python-pytest-timeout))
     (propagated-inputs
      (list python-importlib-metadata python-typing-extensions))
     (home-page
@@ -3344,8 +3343,7 @@ (define-public python-bidict
            python-sortedcollections
            python-sortedcontainers
            python-sphinx
-           python-sphinx-autodoc-typehints
-           python-tox))
+           python-sphinx-autodoc-typehints))
     (arguments
      `(#:phases (modify-phases %standard-phases
                   (add-after 'unpack 'relax-reqs
@@ -5209,7 +5207,6 @@ (define-public python-jsonargparse
            python-pytest
            python-pytest-subtests
            python-responses
-           python-tox
            python-types-requests
            python-setuptools
            python-wheel))
@@ -6433,7 +6430,6 @@ (define-public python-ddlparse
      (list python-pytest
            python-pytest-cov
            python-setuptools
-           python-tox
            python-wheel))
     (propagated-inputs (list python-pyparsing))
     (home-page "https://github.com/shinichi-takii/ddlparse")
@@ -7003,7 +6999,6 @@ (define-public python-virtualenv-clone
                               (delete-file "tox.ini")
                               (invoke "pytest" "-vvv" "tests")))))))
     (native-inputs (list python-pytest
-                         python-tox
                          python-virtualenv
                          python-wheel
                          python-tomli
@@ -12555,7 +12550,7 @@ (define-public python-honcho
         (base32 "1y0r8dw4pqcq7r4n58ixjdg1iy60lp0gxsd7d2jmhals16ij71rj"))))
     (build-system python-build-system)
     (native-inputs
-     (list python-pytest python-mock python-tox which)) ;for tests
+     (list python-pytest python-mock which)) ;for tests
     (propagated-inputs
      (list python-jinja2))
     (arguments
@@ -22772,9 +22767,7 @@ (define-public python-shshsh
          "1wzqyj1a6jj6cyv5ymzy834qm2lyq80yy1kfz0q0zayq9gm1cj7f"))))
     (build-system pyproject-build-system)
     (native-inputs
-     (list python-poetry-core
-           python-pytest
-           python-tox))
+     (list python-poetry-core python-pytest))
     (home-page "https://github.com/zqqqqz2000/shshsh")
     (synopsis "Write Shell commands simply and safely within Python")
     (description "This package provides a way to write Shell commands from
@@ -38043,8 +38036,7 @@ (define-public python-ansicolors
         (base32 "1q3jqglkq4z0f6nkkn8bswcwqg012i2grrc27kabr8286dg4zycr"))))
     (build-system python-build-system)
     (native-inputs
-     (list python-tox
-           python-pytest-cov
+     (list python-pytest-cov
            unzip))
     (home-page "https://github.com/jonathaneunice/colors/")
     (synopsis "ANSI colors for Python")
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index d2c8bee76b..51d00e68f4 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -3274,8 +3274,7 @@ (define-public chirp
              python-mox3
              python-pytest
              python-pytest-mock
-             python-pyyaml
-             python-tox))
+             python-pyyaml))
       (inputs
        (list python-future
              python-importlib-resources
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index da9f0e3483..36ad457ca2 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -1178,7 +1178,6 @@ (define-public python-halo
     (native-inputs
      (list python-nose
            python-setuptools
-           python-tox
            python-twine
            python-wheel))
     (home-page "https://github.com/manrajgrover/halo")
@@ -1209,7 +1208,6 @@ (define-public python-log-symbols
     (native-inputs
      (list python-nose
            python-setuptools
-           python-tox
            python-wheel))
     (propagated-inputs (list python-colorama))
     (home-page "https://github.com/manrajgrover/py-log-symbols")
@@ -1241,7 +1239,6 @@ (define-public python-spinners
     (native-inputs
      (list python-nose
            python-setuptools
-           python-tox
            python-wheel))
     (home-page "https://github.com/manrajgrover/py-spinners")
     (synopsis "Python library with graphical spinners for the terminal")
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 792ef1f3b3..004f170c25 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1086,7 +1086,6 @@ (define-public txt2tags
                (base32
                 "0ik7gpr3gymgxnj0p86k8768kyxncbncv93zq67sbak3dbdl8hky"))))
     (build-system python-build-system)
-    (native-inputs (list python-tox))
     (home-page "https://txt2tags.org")
     (synopsis "Convert between markup languages")
     (description
-- 
2.48.1