From patchwork Mon Sep 20 23:13:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 33227 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 ECA0227BBE3; Tue, 21 Sep 2021 01:01:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AE7B227BBE1 for ; Tue, 21 Sep 2021 01:01:16 +0100 (BST) Received: from localhost ([::1]:35634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSTDn-0008S6-PX for patchwork@mira.cbaines.net; Mon, 20 Sep 2021 20:01:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSTDd-0008R9-Ue for guix-patches@gnu.org; Mon, 20 Sep 2021 20:01:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSTDa-0001y3-9L for guix-patches@gnu.org; Mon, 20 Sep 2021 20:01:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSTDZ-0003pA-UW for guix-patches@gnu.org; Mon, 20 Sep 2021 20:01:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50712] [PATCH] gnu: Update python-mypy to 0.910. Resent-From: raingloom Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Sep 2021 00:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50712 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50712@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.163218243614645 (code B ref -1); Tue, 21 Sep 2021 00:01:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Sep 2021 00:00:36 +0000 Received: from localhost ([127.0.0.1]:44316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSTDA-0003o9-8B for submit@debbugs.gnu.org; Mon, 20 Sep 2021 20:00:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:39018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSTD9-0003o2-25 for submit@debbugs.gnu.org; Mon, 20 Sep 2021 20:00:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSTD8-0008Or-LR for guix-patches@gnu.org; Mon, 20 Sep 2021 20:00:34 -0400 Received: from mx1.riseup.net ([198.252.153.129]:55164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSTD5-0001Yk-8o for guix-patches@gnu.org; Mon, 20 Sep 2021 20:00:34 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "fews1.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4HD1ld1gVyzDxch for ; Mon, 20 Sep 2021 17:00:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1632182429; bh=CdzsuzfRhVFm2bbx0SsA9EwMCGHJU6Wf7VA+4FXCQSw=; h=Date:From:To:Subject:From; b=Byb/IZHb0sqauFsrh9Y244xSMyGgCBgBnfEjiWpk5hSad6f96VS9w5j4HU+BgiClr kn8QTLgJOLTl7I29nYzJ+nWr67vQEoL4m0Xt9VAg+6yMh+9JIXztDkZvSs3okXRTop Kn4wxhSoGX81vkab9Il6BSqcjMSsc9NJKPgNzYYw= X-Riseup-User-ID: A9C2BD87BE538F1EA4FF489FDFCB69A9CB74D7AD8C9258195C3D41112E61757B Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4HD1lc49Nqz5wYB for ; Mon, 20 Sep 2021 17:00:28 -0700 (PDT) Date: Tue, 21 Sep 2021 01:13:19 +0200 From: raingloom Message-ID: <20210921011319.31bb9708@riseup.net> MIME-Version: 1.0 Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-check.scm (python-mypy): Update to 0.910. [arguments]: Make --without-tests work with custom check phase. [propagated-inputs]: Add python-toml to fix missing import in mypyc. --- gnu/packages/python-check.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index b8d63b8479..eeaedb9927 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1343,7 +1343,7 @@ supported by the MyPy typechecker.") (define-public python-mypy (package (name "python-mypy") - (version "0.790") + (version "0.910") (source (origin ;; Because of https://github.com/python/mypy/issues/9584, the @@ -1360,14 +1360,15 @@ supported by the MyPy typechecker.") (file-name (git-file-name name version)) (sha256 (base32 - "0zq3lpdf9hphcklk40wz444h8w3dkhwa12mqba5j9lmg11klnhz7")))) + "16ryn9d48ilcs3yrkrm9ynx36qnv0gkdkc4sbafpagcqgr2f0mrg")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (invoke "pytest" "mypyc")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "mypyc"))))))) (native-inputs `(("python-attrs" ,python-attrs) ("python-flake8" ,python-flake8) @@ -1383,6 +1384,7 @@ supported by the MyPy typechecker.") ("python-virtualenv" ,python-virtualenv))) (propagated-inputs `(("python-mypy-extensions" ,python-mypy-extensions) + ("python-toml" ,python-toml) ("python-typing-extensions" ,python-typing-extensions) ("python-typed-ast" ,python-typed-ast))) (home-page "http://www.mypy-lang.org/")