Subject: [PATCH v4 39/52] build-system/pyproject: Remove python-mypy native-input.

From: Nicolas Graves <[email-masked]>
Date: Wed, 26 Feb 2025 04:10:47 +0100

---
 gnu/packages/bioinformatics.scm | 2 --
 gnu/packages/check.scm          | 1 -
 gnu/packages/databases.scm      | 3 +--
 gnu/packages/finance.scm        | 1 -
 gnu/packages/matrix.scm         | 1 -
 gnu/packages/openstack.scm      | 1 -
 gnu/packages/python-check.scm   | 8 ++------
 gnu/packages/python-crypto.scm  | 1 -
 gnu/packages/python-science.scm | 3 +--
 gnu/packages/python-web.scm     | 2 --
 gnu/packages/python-xyz.scm     | 7 ++-----
 11 files changed, 6 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index c989e6d4c8..5fd6958735 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3167,7 +3167,6 @@ (define-public python-metacells
                              python-threadpoolctl
                              python-umap-learn))
     (native-inputs (list python-bumpversion
-                         python-mypy
                          python-mypy-extensions
                          python-pandas-stubs
                          python-pytest
@@ -6348,7 +6347,6 @@ (define-public python-schema-salad
     (native-inputs
      (list python-black
            python-cachecontrol
-           python-mypy
            python-pytest
            python-pytest-runner
            python-setuptools
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 8c157d91c1..c0b6f3e0af 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2823,7 +2823,6 @@ (define-public python-crosshair
     (native-inputs
      (list python-icontract ;optional
            python-importlib-metadata
-           python-mypy
            python-numpy
            python-pytest
            python-pytest-xdist))
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index e6d29a0457..cb198c411a 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -4141,8 +4141,7 @@ (define-public python-aiosqlite
                           (lambda* (#:key tests? #:allow-other-keys)
                             (when tests?
                               (invoke "python" "-m" "aiosqlite.tests")))))))
-    (native-inputs (list python-flit-core
-                         python-mypy))
+    (native-inputs (list python-flit-core))
     (home-page "https://github.com/jreese/aiosqlite")
     (synopsis
      "Asyncio bridge for sqlite3")
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index eb676592b3..ddc9954d8e 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -2068,7 +2068,6 @@ (define-public fava
            python-werkzeug))
     (native-inputs
      (list python-babel
-           python-mypy
            python-pytest
            python-setuptools
            python-types-setuptools
diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm
index e7c1468da4..e503d17b91 100644
--- a/gnu/packages/matrix.scm
+++ b/gnu/packages/matrix.scm
@@ -193,7 +193,6 @@ (define-public python-matrix-nio
            python-hpack
            python-hyperframe
            python-hypothesis
-           python-mypy
            python-mypy-extensions
            python-poetry-core
            python-pytest
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 84696a586f..2b74994cc5 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -552,7 +552,6 @@ (define-public python-oslo.context
     (native-inputs
      (list python-fixtures
            python-hacking
-           python-mypy
            python-oslotest
            python-pbr
            python-stestr))
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 03be7db63e..7a8ff17175 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -585,8 +585,7 @@ (define-public python-green
               (when tests?
                 (apply invoke "python" "-m" "green" test-flags)))))))
     (native-inputs
-     (list python-mypy
-           python-setuptools
+     (list python-setuptools
            python-testtools
            python-wheel))
     (propagated-inputs
@@ -814,7 +813,6 @@ (define-public python-icontract
     (native-inputs
      (list python-astor
            python-asyncstdlib
-           python-mypy
            python-numpy
            python-setuptools
            python-typeguard
@@ -2620,7 +2618,6 @@ (define-public python-nptyping
     (native-inputs
      (list python-beartype
            python-feedparser
-           python-mypy
            python-pandas
            python-pytest
            python-setuptools
@@ -3113,8 +3110,7 @@ (define-public python-sybil
         (sha256
          (base32 "0r491k91fi2nb0kdd6di8cb2kxcvsk1xzw3sgwsxhhg4qynsp3bi"))))
     (build-system pyproject-build-system)
-    (native-inputs (list python-mypy
-                         python-myst-parser
+    (native-inputs (list python-myst-parser
                          python-pytest
                          python-pyyaml
                          python-seedir
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index eb6fdd5227..0dda3fb774 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -584,7 +584,6 @@ (define-public python-cryptography
            python-cffi
            python-click
            python-cryptography-vectors
-           python-mypy
            python-pretend
            python-pytest
            python-pytest-benchmark
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index b5269bf5a4..e3ccbfed06 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -3953,8 +3953,7 @@ (define-public python-pynetdicom
                          python-pytest-xdist
                          python-sphinx
                          python-sphinx-rtd-theme))
-    (propagated-inputs (list python-mypy
-                             python-numpydoc
+    (propagated-inputs (list python-numpydoc
                              python-pydicom
                              python-pyfakefs
                              python-sqlalchemy))
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 97b9263499..149daf6d88 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8855,7 +8855,6 @@ (define-public python-sanic
            python-chardet
            python-cryptography
            python-docutils
-           python-mypy
            python-pygments
            python-pytest
            python-pytest-benchmark
@@ -9878,7 +9877,6 @@ (define-public python-scrapy
            python-zope-interface))
     (native-inputs
      (list nss-certs-for-test
-           python-mypy
            python-pexpect
            python-pytest
            python-pytest-xdist
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4dd1f92e05..a938a05bde 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9475,7 +9475,6 @@ (define-public python-numpy
            meson-python
            pkg-config
            python-hypothesis
-           python-mypy
            python-pytest
            python-pytest-xdist
            python-setuptools
@@ -9554,7 +9553,6 @@ (define-public python-numpy-2
            ninja
            pkg-config
            python-hypothesis
-           python-mypy
            python-pytest
            python-pytest-xdist
            python-setuptools
@@ -9796,7 +9794,6 @@ (define-public python-multiscale-spatial-image
            python-nbmake
            python-pooch
            python-pytest
-           python-pytest-mypy
            python-urllib3
            python-zarr))
     (home-page "https://github.com/spatial-image/multiscale-spatial-image")
@@ -13356,7 +13353,6 @@ (define-public python-traitlets
     (native-inputs
      (list python-argcomplete
            python-hatchling
-           python-mypy
            python-pytest
            python-pytest-mock
            python-pytest-mypy-testing))
@@ -14998,7 +14994,6 @@ (define-public python-seaborn
            python-ipykernel
            python-nbconvert
            python-numpydoc
-           python-mypy
            python-pytest
            python-pytest-xdist
            python-pyyaml))
@@ -28431,6 +28426,8 @@ (define-public python-typeguard
        (sha256
         (base32 "06y22d1f5dhpyl71wbhsaibig5hvc2v44pw795yb8lxl02fsh8hd"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list #:test-flags ''("--ignore=tests/mypy")))
     (native-inputs
      (list python-pytest
            python-setuptools
-- 
2.48.1