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
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [bug#70858] [PATCH v5 35/48] build-system/pyproject: Remove python-mypy native-input.
Date: Thu, 27 Feb 2025 15:27:36 +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 2fa52eb5b1..ce16f31637 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
@@ -6392,7 +6391,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 40116749a9..3c9373648f 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2826,7 +2826,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 d124ba186c..83363cfedd 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 c7187d1523..ac9243b8f4 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 9750302705..ca4539c551 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 55d522b21c..80aa14e166 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -4054,8 +4054,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 c5b904d229..0d343e79e3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8850,7 +8850,6 @@ (define-public python-sanic
            python-chardet
            python-cryptography
            python-docutils
-           python-mypy
            python-pygments
            python-pytest
            python-pytest-benchmark
@@ -9873,7 +9872,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 9daa1cc8e4..ad6f9c61f2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9496,7 +9496,6 @@ (define-public python-numpy
            meson-python
            pkg-config
            python-hypothesis
-           python-mypy
            python-pytest
            python-pytest-xdist
            python-setuptools
@@ -9575,7 +9574,6 @@ (define-public python-numpy-2
            ninja
            pkg-config
            python-hypothesis
-           python-mypy
            python-pytest
            python-pytest-xdist
            python-setuptools
@@ -9817,7 +9815,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")
@@ -13401,7 +13398,6 @@ (define-public python-traitlets
     (native-inputs
      (list python-argcomplete
            python-hatchling
-           python-mypy
            python-pytest
            python-pytest-mock
            python-pytest-mypy-testing))
@@ -15043,7 +15039,6 @@ (define-public python-seaborn
            python-ipykernel
            python-nbconvert
            python-numpydoc
-           python-mypy
            python-pytest
            python-pytest-xdist
            python-pyyaml))
@@ -28461,6 +28456,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





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.