From patchwork Sat Jun 1 15:36:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 65095 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7290727BBF0; Sat, 1 Jun 2024 16:40:58 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 17C9727BBEA for ; Sat, 1 Jun 2024 16:40:51 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDQq0-00014U-5s; Sat, 01 Jun 2024 11:40:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sDQpw-0000yf-6H for guix-patches@gnu.org; Sat, 01 Jun 2024 11:40:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sDQpu-0007jZ-UC for guix-patches@gnu.org; Sat, 01 Jun 2024 11:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sDQq6-0003hl-F5 for guix-patches@gnu.org; Sat, 01 Jun 2024 11:40:14 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70858] [PATCH python-team v2 18/32] build-system/pyproject: Remove python-mypy native-input. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 Jun 2024 15:40:14 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70858 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70858@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 70858-submit@debbugs.gnu.org id=B70858.171725639113976 (code B ref 70858); Sat, 01 Jun 2024 15:40:14 +0000 Received: (at 70858) by debbugs.gnu.org; 1 Jun 2024 15:39:51 +0000 Received: from localhost ([127.0.0.1]:57176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDQpi-0003dA-GZ for submit@debbugs.gnu.org; Sat, 01 Jun 2024 11:39:51 -0400 Received: from 16.mo582.mail-out.ovh.net ([87.98.139.208]:51577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDQpf-0003cX-F4 for 70858@debbugs.gnu.org; Sat, 01 Jun 2024 11:39:48 -0400 Received: from director2.ghost.mail-out.ovh.net (unknown [10.109.148.126]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 4Vs4124PDKz1FqN for <70858@debbugs.gnu.org>; Sat, 1 Jun 2024 15:39:34 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-26hg9 (unknown [10.110.113.27]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 55A8D1FD20; Sat, 1 Jun 2024 15:39:34 +0000 (UTC) Received: from ngraves.fr ([37.59.142.107]) by ghost-submission-6684bf9d7b-26hg9 with ESMTPSA id 4gegEbZAW2Y+IhgA2AwQCw (envelope-from ); Sat, 01 Jun 2024 15:39:34 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-107S001e2acf37f-e87b-455a-993e-bafb615225f8, 066A105622CFB65C0C1E9735678F98E7108F9FA5) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Sat, 1 Jun 2024 17:36:50 +0200 Message-ID: <20240601153854.30805-19-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240601153854.30805-1-ngraves@ngraves.fr> References: <20240601153854.30805-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 4662914466905907938 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdekkedgledtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtjeenucevlhhushhtvghrufhiiigvpeefnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjedtkeehkeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvddpmhhouggvpehsmhhtphhouhht X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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, python-pyro-ppl)[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, python-fastapi)[native-inputs]: Remove python-mypy. * gnu/packages/python-xyz.scm (python-pyls-black, kalamine, python-pydantic-cli, python-marshmallow, python-apispec, python-typeguard, python-trio-typing, python-verspec, python-catalogue, python-duckdb)[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. Change-Id: I947656750aa0c7732291d826641736aaefab274e --- 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 | 4 ---- gnu/packages/python-science.scm | 1 - gnu/packages/python-web.scm | 5 +---- gnu/packages/python-xyz.scm | 22 +++++++++------------- gnu/packages/serialization.scm | 1 - gnu/packages/virtualization.scm | 3 +-- 10 files changed, 11 insertions(+), 30 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 32fc07d8d86..77bf41b68b9 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2606,7 +2606,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 f9202639c53..ad27ec621ca 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -4112,7 +4112,6 @@ (define-public python-psycopg (delete 'sanity-check)))) (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 2620d5272b6..af79172e53b 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -3923,7 +3923,6 @@ (define-public uranium graphviz pkg-config python-pytest - python-mypy python-certifi python-twisted)) (propagated-inputs @@ -4126,7 +4125,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 b396a97c0bc..ecc2dc2bb4c 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -218,7 +218,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 19f73d562e7..686cd726e37 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1920,7 +1920,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 @@ -4521,7 +4520,6 @@ (define-public python-captum python-flask-compress python-ipython python-ipywidgets - python-mypy python-parameterized python-pytest python-pytest-cov @@ -4729,7 +4727,6 @@ (define-public python-torchmetrics (list python-cloudpickle python-fire python-mir-eval - python-mypy python-pandas python-psutil python-pytest @@ -5055,7 +5052,6 @@ (define-public python-pyro-ppl python-isort python-lap python-matplotlib - python-mypy python-nbformat python-nbsphinx python-nbstripout diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index e20cb56db9c..567fa5d1559 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -273,7 +273,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 51753adae77..db815812299 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -196,7 +196,6 @@ (define-public python-huggingface-hub python-fastapi python-jedi python-jinja2 - python-mypy python-numpy python-pillow python-pydantic @@ -717,7 +716,7 @@ (define-public python-asgiref (when tests? (invoke "pytest" "-vv"))))))) (native-inputs - (list python-mypy python-pytest python-pytest-asyncio)) + (list python-pytest python-pytest-asyncio)) (propagated-inputs (list python-typing-extensions)) (home-page "https://github.com/django/asgiref/") @@ -8963,7 +8962,6 @@ (define-public python-starsessions-for-pytorch-lightning python-starlette-for-fastapi-0.88)) (native-inputs (list python-httpx - python-mypy python-poetry-core python-pytest python-pytest-asyncio @@ -9009,7 +9007,6 @@ (define-public python-fastapi python-hatchling python-isort python-jose - python-mypy python-passlib python-peewee python-pytest diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c83146372bf..963747bb06a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3020,7 +3020,7 @@ (define-public python-pyls-black (propagated-inputs (list python-black python-lsp-server python-toml python-tomli)) (native-inputs - (list python-isort python-mypy python-pytest + (list python-isort python-pytest python-pytest-runner python-setuptools python-wheel)) (home-page "https://github.com/rupert/pyls-black") (synopsis "Black plugin for the Python Language Server") @@ -6785,7 +6785,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 @@ -8002,8 +8002,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 @@ -23461,6 +23460,8 @@ (define-public python-duckdb (list #:test-flags '(list "--ignore=tests/slow/test_h2oai_arrow.py" + ;; stubs require mypy and don't actually check functionality. + "--ignore=tests/stubs/test_stubs.py" ;; Don't install anything, thank you. "-k" "not test_install_non_existent_extension") #:phases @@ -23485,7 +23486,6 @@ (define-public python-duckdb (list pybind11 python-fsspec python-google-cloud-storage - python-mypy python-numpy python-pandas python-psutil @@ -25107,7 +25107,6 @@ (define-public python-marshmallow (list python-packaging)) (native-inputs (list python-flake8-bugbear - python-mypy python-pytest python-pytz python-simplejson @@ -25169,7 +25168,6 @@ (define-public python-apispec (native-inputs (list python-flake8-bugbear python-marshmallow - python-mypy python-pytest python-pyyaml python-setuptools @@ -26586,8 +26584,7 @@ (define-public python-typeguard ;; XXX: These fail when installed as a library: ;; https://github.com/agronholm/typeguard/issues/176 "not usefixtures and not test_cached_module"))))))) - (native-inputs (list python-mypy - python-pytest + (native-inputs (list python-pytest python-setuptools-scm python-typing-extensions)) (home-page "https://github.com/agronholm/typeguard") @@ -29057,8 +29054,7 @@ (define-public python-trio-typing (native-inputs (list python-attrs python-pytest python-setuptools python-wheel)) (propagated-inputs - (list python-mypy python-mypy-extensions python-trio - python-typing-extensions)) + (list python-mypy-extensions python-trio python-typing-extensions)) (home-page "https://github.com/python-trio/trio-typing") (synopsis "Static type checking support for Trio and related projects") (description @@ -35498,7 +35494,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 @@ -36245,7 +36241,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 728d6404bb9..b39ce176502 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -719,7 +719,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 85ad5031059..1a75ae0a09e 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2809,8 +2809,7 @@ (define-public python-transient python-requests python-toml)) (native-inputs - (list python-mypy - python-pyhamcrest + (list python-pyhamcrest python-setuptools python-twine python-wheel))