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

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

* gnu/packages/jupyter.scm (python-nbclassic, python-papermill)
* gnu/packages/openstack.scm (python-hacking, python-oslo.context)
* gnu/packages/python-check.scm (python-pytest-testmon)
* gnu/packages/python-science.scm (python-scikit-survival, python-modin,
  python-pynetdicom)
* gnu/packages/python-web.scm (python-aioitertools, python-python3-saml,
  python-zope-i18n-messageid, python-rangehttpserver, python-http-ece,
  python-zeep)
* gnu/packages/python-xyz.scm (python-argopt, python-case, python-pypugjs,
  python-repoze-lru, python-lsp-jsonrpc, python-pillow-heif,
  python-legacy-api-wrap, python-waitress, python-gevent, python-twisted,
  python-mamba, python-bagit, python-typer, python-numcodecs, python-diceware,
  python-param)
* gnu/packages/statistics.scm (python-radian)
[native-inputs]: Remove python-coverage.
---
 gnu/packages/jupyter.scm        |  4 +---
 gnu/packages/openstack.scm      |  6 ++----
 gnu/packages/python-check.scm   |  3 +--
 gnu/packages/python-science.scm |  3 ---
 gnu/packages/python-web.scm     | 13 +++++--------
 gnu/packages/python-xyz.scm     | 32 +++++++++++---------------------
 gnu/packages/statistics.scm     |  3 +--
 7 files changed, 21 insertions(+), 43 deletions(-)

diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 70d894939c..a9f57b2ccc 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -81,8 +81,7 @@ (define-public python-nbclassic
                              python-terminado
                              python-tornado-6
                              python-traitlets))
-    (native-inputs (list python-coverage
-                         python-nbval
+    (native-inputs (list python-nbval
                          python-jupyter-packaging
                          python-pytest
                          python-pytest-cov
@@ -1162,7 +1161,6 @@ (define-public python-papermill
                          python-bumpversion
                          python-check-manifest
                          python-codecov
-                         python-coverage
                          python-ipython
                          python-ipywidgets
                          python-moto
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index ac283bd019..84696a586f 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -153,8 +153,7 @@ (define-public python-hacking
     (propagated-inputs
      (list python-flake8))
     (native-inputs
-     (list python-coverage
-           python-ddt
+     (list python-ddt
            python-eventlet
            python-fixtures
            python-setuptools
@@ -551,8 +550,7 @@ (define-public python-oslo.context
     (propagated-inputs
      (list python-debtcollector))
     (native-inputs
-     (list python-coverage
-           python-fixtures
+     (list python-fixtures
            python-hacking
            python-mypy
            python-oslotest
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index ebfdd7312e..27abc67c58 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1651,8 +1651,7 @@ (define-public python-pytest-testmon
     (build-system pyproject-build-system)
     (arguments (list #:tests? #false)) ;there are none
     (native-inputs
-     (list python-coverage
-           python-pytest
+     (list python-pytest
            python-setuptools
            python-wheel))
     (home-page "https://github.com/tarpas/pytest-testmon")
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 508b819cf9..2e643f1740 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -889,7 +889,6 @@ (define-public python-scikit-survival
              python-scipy))
       (native-inputs
        (list python-pypa-build
-             python-coverage
              python-cython-3
              python-packaging
              python-pytest
@@ -3055,7 +3054,6 @@ (define-public python-modin
            python-s3fs))
     (native-inputs
      (list python-boto3
-           python-coverage
            python-jinja2
            python-lxml
            python-matplotlib
@@ -4061,7 +4059,6 @@ (define-public python-pynetdicom
                     " and not test_pr_level_series"
                     " and not test_scp_cancelled"))))
     (native-inputs (list python-codespell
-                         python-coverage
                          python-poetry-core
                          python-pytest
                          python-pytest-cov
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6281ca5c8c..70830bb672 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -903,8 +903,7 @@ (define-public python-aioitertools
     (arguments (list #:tests? #false))
     (propagated-inputs (list python-typing-extensions))
     (native-inputs
-     (list python-coverage
-           python-flake8
+     (list python-flake8
            python-flit-core
            python-mypy
            python-pytest
@@ -1577,8 +1576,7 @@ (define-public python-python3-saml
               (setenv "LD_LIBRARY_PATH"
                       (dirname (search-input-file inputs "lib/libxmlsec1-openssl.so.1.2.37"))))))))
     (propagated-inputs (list python-isodate python-lxml python-xmlsec))
-    (native-inputs (list python-coverage
-                         python-flake8
+    (native-inputs (list python-flake8
                          python-freezegun
                          python-poetry-core
                          python-pytest
@@ -3987,7 +3985,7 @@ (define-public python-zope-i18nmessageid
         (base32 "14mx62khys82p2gmmf3m40x4jmvcz3rndvl6qik2n2qfp13n7ds7"))))
     (build-system pyproject-build-system)
     (native-inputs
-     (list python-coverage python-setuptools
+     (list python-setuptools
            python-wheel python-zope-testrunner))
     (propagated-inputs
      (list python-six))
@@ -8217,7 +8215,7 @@ (define-public python-rangehttpserver
        (sha256
         (base32 "1dx533fsbq1mbz3by7qkm5bh2c253nwvm8214pqbwbfq07kqkwf2"))))
     (build-system pyproject-build-system)
-    (native-inputs (list python-coverage python-coveralls python-pytest
+    (native-inputs (list python-coveralls python-pytest
                          python-setuptools python-wheel))
     (home-page "https://github.com/danvk/RangeHTTPServer")
     (synopsis "SimpleHTTPServer with support for range requests")
@@ -8577,7 +8575,7 @@ (define-public python-http-ece
     (propagated-inputs
      (list python-cryptography))
     (native-inputs
-     (list python-coverage python-mock python-nose))
+     (list python-mock python-nose))
     (home-page "https://github.com/web-push-libs/encrypted-content-encoding")
     (synopsis "Encrypted Content Encoding for HTTP")
     (description
@@ -10134,7 +10132,6 @@ (define-public python-zeep
            python-requests-toolbelt))
     (native-inputs
      (list nss-certs-for-test
-           python-coverage
            python-flake8
            python-flake8-blind-except
            python-flake8-debugger
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d49b153b5f..dfebaf96a3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1408,7 +1408,7 @@ (define-public python-argopt
               "0ybs7kkp0cpl8zn1lvf7481xhssg1bbhh5la2cjzdm5yibashyxa"))))
    (build-system python-build-system)
    (native-inputs
-    (list python-coverage python-nose python-setuptools ; Won't build without this.
+    (list python-nose python-setuptools ; Won't build without this.
           python-setuptools-scm))
    (propagated-inputs
     (list python-toml python-flake8))
@@ -4690,8 +4690,6 @@ (define-public python-case
     (build-system python-build-system)
     (propagated-inputs
      (list python-mock python-nose python-six))
-    (native-inputs
-     (list python-coverage))
     (home-page "https://github.com/celery/case")
     (synopsis "Unittest utilities and convenience methods")
     (description
@@ -7214,8 +7212,7 @@ (define-public python-pypugjs
                        ;; pyramid is outdated and pyramid-mako is unpackaged.
                        (substitute* "setup.cfg"
                          (("'(pyramid|pyramid-mako)[^']*',") "")))))))
-    (native-inputs (list python-coverage
-                         python-django
+    (native-inputs (list python-django
                          python-jinja2
                          python-flake8
                          python-flask
@@ -7825,7 +7822,7 @@ (define-public python-repoze-lru
         (base32 "0xzz1aw2smy8hdszrq8yhnklx6w1r1mf55061kalw3iq35gafa84"))))
     (build-system pyproject-build-system)
     (native-inputs
-     (list python-coverage python-nose python-setuptools python-wheel))
+     (list python-nose python-setuptools python-wheel))
     (home-page "https://www.repoze.org")
     (synopsis "Tiny LRU cache implementation and decorator")
     (description
@@ -8690,8 +8687,7 @@ (define-public python-lsp-jsonrpc
          "04n95h0cqnsrdyh1gv0abh2i5ynyrq2wfqpppx9djp7mxr9y9226"))))
     (build-system pyproject-build-system)
     (native-inputs
-     (list python-coverage
-           python-pycodestyle
+     (list python-pycodestyle
            python-pyflakes
            python-pytest
            python-pytest-cov
@@ -11463,7 +11459,6 @@ (define-public python-pillow-heif
     (inputs (list libheif))
     (propagated-inputs (list python-pillow))
     (native-inputs (list opencv         ; for opencv-python
-                         python-coverage
                          python-defusedxml
                          python-numpy
                          python-packaging
@@ -17688,8 +17683,7 @@ (define-public python-legacy-api-wrap
          "1d5jyd8d2wxm6y0s39wwqw87gdm4zqlbyz78cf3yqbrim1xdch4w"))))
     (build-system pyproject-build-system)
     (native-inputs
-     (list python-coverage
-           python-hatch-vcs
+     (list python-hatch-vcs
            python-hatchling
            python-pytest))
     (home-page "https://github.com/flying-sheep/legacy-api-wrap")
@@ -20815,7 +20809,7 @@ (define-public python-waitress
      ;; https://github.com/Pylons/waitress/issues/443
      (list #:test-flags #~(list "-k" "not test_service_port")))
     (native-inputs
-     (list python-coverage python-pytest python-pytest-cov
+     (list python-pytest python-pytest-cov
            python-setuptools python-wheel))
     (home-page "https://github.com/Pylons/waitress")
     (synopsis "Waitress WSGI server")
@@ -22309,7 +22303,6 @@ (define-public python-gevent
      (list python-greenlet python-zope-event python-zope-interface))
     (native-inputs
      (list python-cffi
-           python-coverage
            python-cython
            python-dnspython
            python-idna
@@ -22412,7 +22405,6 @@ (define-public python-twisted
            python-zope-interface))
     (native-inputs
      (list glibc-utf8-locales ;for OpenTestLogTests.test_utf8
-           python-coverage
            python-hatch-fancy-pypi-readme
            python-hatchling
            python-httpx
@@ -26105,7 +26097,7 @@ (define-public python-mamba
     (build-system python-build-system)
     (arguments `(#:tests? #f))  ; No test
     (propagated-inputs
-     (list python-clint python-coverage))
+     (list python-clint))
     (home-page "https://nestorsalceda.com/mamba/")
     (synopsis "Test runner for Python")
     (description
@@ -26869,7 +26861,7 @@ (define-public python-bagit
           "1m6y04qmig0b5hzb35lnaw3d2yfydb7alyr1579yblvgs3da6j7j"))))
     (build-system python-build-system)
     (native-inputs
-     (list python-setuptools-scm python-coverage python-mock))
+     (list python-setuptools-scm python-mock))
     (home-page "https://libraryofcongress.github.io/bagit-python/")
     (synopsis "Create and validate BagIt packages")
     (description "Bagit is a Python library and command line utility for working
@@ -28529,7 +28521,7 @@ (define-public python-typer
     (propagated-inputs
      (list python-click))
     (native-inputs
-     (list python-coverage python-flit python-pytest python-rich
+     (list python-flit python-pytest python-rich
            python-shellingham))
     (home-page "https://github.com/tiangolo/typer")
     (synopsis "Typer builds CLI based on Python type hints")
@@ -29916,8 +29908,7 @@ (define-public python-numcodecs
      (list c-blosc lz4 zlib
            `(,zstd "lib")))
     (propagated-inputs
-     (list python-coverage
-           python-google-crc32c
+     (list python-google-crc32c
            python-importlib-metadata
            python-msgpack
            python-numpy
@@ -33715,7 +33706,7 @@ (define-public python-diceware
          "0klb0ysybzlh2wihvir82hgq62v0jjmlcqklwajyms7c0p529yby"))))
     (build-system python-build-system)
     (native-inputs
-     (list python-coverage python-pytest python-pytest-runner))
+     (list python-pytest python-pytest-runner))
     (home-page "https://github.com/ulif/diceware/")
     (synopsis "Generates memorable passphrases")
     (description "This package generates passphrases by concatenating words
@@ -34810,7 +34801,6 @@ (define-public python-param
     (build-system pyproject-build-system)
     (native-inputs
      (list python-cloudpickle
-           python-coverage
            python-hatchling
            python-hatch-vcs
            python-ipython
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 736b90b384..7a02786ab6 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -7208,8 +7208,7 @@ (define-public python-radian
                        (setenv "HOME" "/tmp"))))))
     (propagated-inputs (list python-prompt-toolkit python-pygments
                              python-rchitect))
-    (native-inputs (list python-coverage
-                         python-pexpect
+    (native-inputs (list python-pexpect
                          python-ptyprocess
                          python-pyte
                          python-pytest
-- 
2.48.1