Subject: [PATCH v3 16/28] build-system/pyproject: Remove python-mypy native-input.

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

* gnu/packages/astronomy.scm (python-poliastro)[native-inputs]: Remove
python-mypy.

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

* gnu/packages/engineering.scm (uranium, cura)[native-inputs]: Remove
python-mypy.

* gnu/packages/graphviz.scm (python-uqbar)[native-inputs]: Remove
python-mypy.

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

* gnu/packages/python-science.scm (python-scipy)[native-inputs]:
Remove python-mypy.

* gnu/packages/python-web.scm (python-huggingface-hub, python-asgiref,
python-starsessions-for-pytorch-lightning)[native-inputs]:
Remove python-mypy.

* gnu/packages/python-xyz.scm (kalamine, python-pydantic-cli,
python-apispec, python-typeguard, python-verspec,
python-catalogue)[native-inputs]: Remove python-mypy.

* gnu/packages/serialization.scm (python-msgspec)[native-inputs]: Remove
python-mypy.

* gnu/packages/virtualization.scm (python-transient)[native-inputs]:
Remove python-mypy.
---
 gnu/packages/astronomy.scm        |  1 -
 gnu/packages/databases.scm        |  1 -
 gnu/packages/engineering.scm      |  2 --
 gnu/packages/graphviz.scm         |  1 -
 gnu/packages/machine-learning.scm |  3 ---
 gnu/packages/python-science.scm   |  1 -
 gnu/packages/python-web.scm       |  6 +++---
 gnu/packages/python-xyz.scm       | 13 +++++--------
 gnu/packages/serialization.scm    |  1 -
 gnu/packages/virtualization.scm   |  3 +--
 10 files changed, 9 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 9c7423e521..ad9dcffaed 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4342,7 +4342,6 @@ (define-public python-poliastro
               (setenv "HOME" "/tmp"))))))
     (native-inputs
      (list python-hypothesis
-           python-mypy
            python-flit-core
            python-pytest
            python-pytest-cov
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index af5eaed244..24bcb35134 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -4303,7 +4303,6 @@ (define-public python-psycopg
                           "-c" "CREATE DATABASE nixbld;"))))))))
     (native-inputs
      (list python-cython-3
-           python-mypy
            python-psycopg-pool
            python-pytest
            python-pytest-asyncio
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 8bd5f155d3..67f0d95316 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -4404,7 +4404,6 @@ (define-public uranium
            graphviz
            pkg-config
            python-pytest
-           python-mypy
            python-certifi
            python-twisted))
     (propagated-inputs
@@ -4607,7 +4606,6 @@ (define-public cura
     (build-system qt-build-system)
     (native-inputs
      (list python-certifi
-           python-mypy
            python-pytest
            python-requests))
     (inputs
diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index 0d3db31212..6bfe5325ac 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -225,7 +225,6 @@ (define-public python-uqbar
     (native-inputs
      (list graphviz
            python-isort
-           python-mypy
            python-pytest
            python-pytest-cov
            python-setuptools
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 53eb637ce8..5d24d3f8f0 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -2148,7 +2148,6 @@ (define-public python-imbalanced-learn
     (propagated-inputs (list python-joblib python-numpy python-scikit-learn
                              python-scipy python-threadpoolctl))
     (native-inputs (list python-keras
-                         python-mypy
                          python-pandas
                          python-pytest
                          python-pytest-cov
@@ -5319,7 +5318,6 @@ (define-public python-captum
                          python-flask-compress
                          python-ipython
                          python-ipywidgets
-                         python-mypy
                          python-parameterized
                          python-pytest
                          python-pytest-cov
@@ -5507,7 +5505,6 @@ (define-public python-torchmetrics
      (list python-cloudpickle
            python-fire
            python-mir-eval
-           python-mypy
            python-pandas
            python-psutil
            python-pytest
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 190ccd7f1d..54160f01c0 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -393,7 +393,6 @@ (define-public python-scipy
            '())
        (list python-matplotlib
              python-mpmath
-             python-mypy
              python-numpy
              python-numpydoc
              python-pydata-sphinx-theme
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1a73051889..54a31e1bae 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -494,7 +494,6 @@ (define-public python-huggingface-hub
            python-fastapi
            python-jedi
            python-jinja2
-           python-mypy
            python-numpy
            python-pillow
            python-pydantic
@@ -1148,7 +1147,9 @@ (define-public python-asgiref
                (base32 "146mhkn3zp2bqf7j6r3chdlvfzgs5x1lrnqahsllgjdyl20bshy3"))))
     (build-system pyproject-build-system)
     (native-inputs
-     (list python-mypy python-pytest python-pytest-asyncio python-setuptools
+     (list python-pytest
+           python-pytest-asyncio
+           python-setuptools
            python-wheel))
     (home-page "https://github.com/django/asgiref/")
     (synopsis "ASGI specs, helper code, and adapters")
@@ -10200,7 +10201,6 @@ (define-public python-starsessions
            python-starlette))
     (native-inputs
      (list python-httpx
-           python-mypy
            python-poetry-core
            python-pytest
            python-pytest-asyncio
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1c0dfe8a41..22b41ea4c1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7414,7 +7414,7 @@ (define-public kalamine
     ;; TODO: Add python-pytest-ruff to native-inputs once it has been
     ;; packaged.
     (native-inputs
-     (list python-hatchling python-mypy python-pytest))
+     (list python-hatchling python-pytest))
     (home-page "https://github.com/OneDeadKey/kalamine")
     (synopsis "Keyboard layout maker")
     (description
@@ -8692,8 +8692,7 @@ (define-public python-pydantic-cli
     (propagated-inputs
      (list python-pydantic))
     (native-inputs
-     (list python-mypy
-           python-pytest))
+     (list python-pytest))
     (home-page "https://github.com/mpkocher/pydantic-cli")
     (synopsis "Turn Pydantic defined data models into CLI tools")
     (description
@@ -26878,7 +26877,6 @@ (define-public python-apispec
     (build-system pyproject-build-system)
     (native-inputs
      (list python-flit-core
-           python-mypy
            python-openapi-spec-validator
            python-pytest))
     (propagated-inputs
@@ -28262,8 +28260,7 @@ (define-public python-typeguard
         (base32 "06y22d1f5dhpyl71wbhsaibig5hvc2v44pw795yb8lxl02fsh8hd"))))
     (build-system pyproject-build-system)
     (native-inputs
-     (list python-mypy
-           python-pytest
+     (list python-pytest
            python-setuptools
            python-setuptools-scm
            python-typing-extensions
@@ -38002,7 +37999,7 @@ (define-public python-verspec
                (base32
                 "07n06wv85fm4vl1ird2mja0823js3x322wgs9gdnq1djjyk4ql64"))))
     (build-system python-build-system)
-    (native-inputs (list python-mypy python-pretend python-pytest))
+    (native-inputs (list python-pretend python-pytest))
     (arguments
      `(#:phases (modify-phases %standard-phases
                   (replace 'check
@@ -38749,7 +38746,7 @@ (define-public python-catalogue
                 "0srdxiil2xys8q1gpc1nvzhvis3a33d8a7amk2i1rlpbg6p36pak"))))
     (build-system python-build-system)
     (native-inputs (list python-pytest))
-    (inputs (list python python-zipp python-typing-extensions python-mypy))
+    (inputs (list python python-zipp python-typing-extensions))
     (home-page "https://github.com/explosion/catalogue")
     (synopsis "Lightweight function registries for your library")
     (description
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index f77ae9dc16..97951cb510 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -762,7 +762,6 @@ (define-public python-msgspec
     (native-inputs (list python-attrs
                          python-gcovr
                          python-msgpack
-                         python-mypy
                          python-pytest
                          python-setuptools-scm
                          python-versioneer
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 568b50fcf9..9bde297c1f 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -2972,8 +2972,7 @@ (define-public python-transient
                         (("==")
                          ">=")))))))
     (native-inputs
-     (list python-mypy
-           python-pyhamcrest
+     (list python-pyhamcrest
            python-setuptools
            python-twine
            python-wheel))
-- 
2.48.1