From patchwork Wed Jul 22 12:09:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 23306 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 18E4427BBE4; Wed, 22 Jul 2020 13:13:42 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 ESMTP id 7C4C727BBE3 for ; Wed, 22 Jul 2020 13:13:41 +0100 (BST) Received: from localhost ([::1]:37412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyDcy-0003wa-Uk for patchwork@mira.cbaines.net; Wed, 22 Jul 2020 08:13:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyDaR-00082b-BJ for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyDaQ-0006vs-D0 for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyDaQ-0006uI-8K for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42465] [PATCH v2 01/10] gnu: python-typing-extension: Update to 3.7.4.2. References: <20200721115515.5408-1-tanguy@bioneland.org> In-Reply-To: <20200721115515.5408-1-tanguy@bioneland.org> Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jul 2020 12:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42465 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42465@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 42465-submit@debbugs.gnu.org id=B42465.159541980326366 (code B ref 42465); Wed, 22 Jul 2020 12:11:02 +0000 Received: (at 42465) by debbugs.gnu.org; 22 Jul 2020 12:10:03 +0000 Received: from localhost ([127.0.0.1]:41429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZT-0006rB-C1 for submit@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:03 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:39095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZR-0006qW-1r for 42465@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:02 -0400 X-Originating-IP: 176.185.184.238 Received: from localhost.localdomain (static-176-185-184-238.axione.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 4F1921C0013; Wed, 22 Jul 2020 12:09:53 +0000 (UTC) From: Tanguy Le Carrour Date: Wed, 22 Jul 2020 14:09:30 +0200 Message-Id: <20200722120940.13811-1-tanguy@bioneland.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 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-xyz.scm (python-typing-extension): Update to 3.7.4.2. --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 07a52a0e5c..54bbef42e4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16816,14 +16816,14 @@ and other tools.") (define-public python-typing-extensions (package (name "python-typing-extensions") - (version "3.7.4.1") + (version "3.7.4.2") (source (origin (method url-fetch) (uri (pypi-uri "typing_extensions" version)) (sha256 (base32 - "1wj1vcgbnm20aiinmphyxfrbv3qi9xdhvw89ab3qm42y9n4wq7h9")))) + "1bk9b60s3rm1c8cwhv0bl3gh0x43153xxa6jpyllk9mc7jd5ivkr")))) (build-system python-build-system) (home-page "https://github.com/python/typing/blob/master/typing_extensions/README.rst") From patchwork Wed Jul 22 12:09:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 23311 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 5D4A327BBE4; Wed, 22 Jul 2020 13:16:27 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL 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 ESMTP id 0362327BBE3 for ; Wed, 22 Jul 2020 13:16:27 +0100 (BST) Received: from localhost ([::1]:46530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyDfe-0007tD-Hk for patchwork@mira.cbaines.net; Wed, 22 Jul 2020 08:16:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyDaR-00082d-BP for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58144) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyDaQ-0006vu-Op for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyDaQ-0006uQ-Kb for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42465] [PATCH v2 02/10] gnu: python-hypothesis: Update to 5.20.0. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jul 2020 12:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42465 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42465@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 42465-submit@debbugs.gnu.org id=B42465.159541980626383 (code B ref 42465); Wed, 22 Jul 2020 12:11:02 +0000 Received: (at 42465) by debbugs.gnu.org; 22 Jul 2020 12:10:06 +0000 Received: from localhost ([127.0.0.1]:41432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZV-0006rR-KE for submit@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:05 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:56501) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZU-0006qb-7s for 42465@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:04 -0400 X-Originating-IP: 176.185.184.238 Received: from localhost.localdomain (static-176-185-184-238.axione.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 9674E1C000E; Wed, 22 Jul 2020 12:09:58 +0000 (UTC) From: Tanguy Le Carrour Date: Wed, 22 Jul 2020 14:09:31 +0200 Message-Id: <20200722120940.13811-2-tanguy@bioneland.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200722120940.13811-1-tanguy@bioneland.org> References: <20200722120940.13811-1-tanguy@bioneland.org> MIME-Version: 1.0 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/check.scm (python-hypothesis): Update to 5.20.0. --- gnu/packages/check.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 661ed65e53..a3608e4125 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1801,13 +1801,13 @@ instantly.") (define-public python-hypothesis (package (name "python-hypothesis") - (version "5.4.1") + (version "5.20.0") (source (origin (method url-fetch) (uri (pypi-uri "hypothesis" version)) (sha256 (base32 - "0zn09bn6hadk4vxl6jy8bkjr5fz8mrhin3z46w7pq5qgbaycr89p")))) + "0h1wy6wdcbgidqw5spm0lndlj77l6d5na5z2cxy04g4yp5m9v9jh")))) (build-system python-build-system) (arguments ;; XXX: Tests are not distributed with the PyPI archive. From patchwork Wed Jul 22 12:09:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 23307 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 5700327BBE4; Wed, 22 Jul 2020 13:13:49 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 ESMTP id 03B1627BBE3 for ; Wed, 22 Jul 2020 13:13:49 +0100 (BST) Received: from localhost ([::1]:37992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyDd6-0004Ci-I2 for patchwork@mira.cbaines.net; Wed, 22 Jul 2020 08:13:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyDaR-000847-UM for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58146) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyDaR-0006w9-Hf for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyDaR-0006ue-DE for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42465] [PATCH v2 03/10] gnu: Add python-mypy-extensions. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jul 2020 12:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42465 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42465@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 42465-submit@debbugs.gnu.org id=B42465.159541981226437 (code B ref 42465); Wed, 22 Jul 2020 12:11:03 +0000 Received: (at 42465) by debbugs.gnu.org; 22 Jul 2020 12:10:12 +0000 Received: from localhost ([127.0.0.1]:41441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZc-0006sE-2Z for submit@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:12 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:56439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZW-0006qd-8H for 42465@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:10 -0400 X-Originating-IP: 176.185.184.238 Received: from localhost.localdomain (static-176-185-184-238.axione.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 9A1DF1C0011; Wed, 22 Jul 2020 12:10:00 +0000 (UTC) From: Tanguy Le Carrour Date: Wed, 22 Jul 2020 14:09:32 +0200 Message-Id: <20200722120940.13811-3-tanguy@bioneland.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200722120940.13811-1-tanguy@bioneland.org> References: <20200722120940.13811-1-tanguy@bioneland.org> MIME-Version: 1.0 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-extensions): New variable. --- gnu/packages/python-check.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 2e3cfe05c5..f80b7634cf 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2020 Julien Lepiller ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Edouard Klein +;;; Copyright © 2020 Tanguy Le Carrour ;;; ;;; This file is part of GNU Guix. ;;; @@ -534,3 +535,22 @@ it, the declaration of a name's public export semantics are not separated from the implementation of that name.") (license (list license:asl2.0 license:lgpl3)))) ; only for setup_helpers.py + +(define-public python-mypy-extensions + (package + (name "python-mypy-extensions") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "mypy_extensions" version)) + (sha256 + (base32 + "1a04qsk8hd1lqns8w1j7cr0vmvbhg450di5k1i16kqxkbf7q30id")))) + (build-system python-build-system) + (arguments `(#:tests? #f)); no tests + (home-page "https://github.com/python/mypy_extensions") + (synopsis "Experimental extensions for MyPy.") + (description "The @code{python-mypy-extensions} module defines experimental +extensions to the standard 'typing' module that are supported by the mypy typechecker.") + (license license:expat))) From patchwork Wed Jul 22 12:09:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 23312 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 D95E227BBE4; Wed, 22 Jul 2020 13:16:33 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 ESMTP id 8A13027BBE3 for ; Wed, 22 Jul 2020 13:16:33 +0100 (BST) Received: from localhost ([::1]:46964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyDfl-00085b-1h for patchwork@mira.cbaines.net; Wed, 22 Jul 2020 08:16:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyDaR-00082y-GG for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58145) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyDaR-0006w1-5K for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyDaR-0006uX-0h for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42465] [PATCH v2 04/10] gnu: Add python-typing-inspect. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jul 2020 12:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42465 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42465@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 42465-submit@debbugs.gnu.org id=B42465.159541981026401 (code B ref 42465); Wed, 22 Jul 2020 12:11:02 +0000 Received: (at 42465) by debbugs.gnu.org; 22 Jul 2020 12:10:10 +0000 Received: from localhost ([127.0.0.1]:41436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZZ-0006rk-So for submit@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:10 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:58397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZY-0006r7-4e for 42465@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:08 -0400 X-Originating-IP: 176.185.184.238 Received: from localhost.localdomain (static-176-185-184-238.axione.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 76B291C0015; Wed, 22 Jul 2020 12:10:02 +0000 (UTC) From: Tanguy Le Carrour Date: Wed, 22 Jul 2020 14:09:33 +0200 Message-Id: <20200722120940.13811-4-tanguy@bioneland.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200722120940.13811-1-tanguy@bioneland.org> References: <20200722120940.13811-1-tanguy@bioneland.org> MIME-Version: 1.0 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-xyz.scm (python-typing-inspect): New variable. --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 54bbef42e4..6fa1044fdc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12297,6 +12297,30 @@ in Python. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.") (license license:expat))) +(define-public python-typing-inspect + (package + (name "python-typing-inspect") + (version "0.6.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "typing_inspect" version)) + (sha256 + (base32 + "1dzs9a1pr23dhbvmnvms2jv7l7jk26023g5ysf0zvnq8b791s6wg")))) + (build-system python-build-system) + (propagated-inputs + `(("python-mypy-extensions" ,python-mypy-extensions) + ("python-typing-extensions" ,python-typing-extensions))) + (home-page "https://github.com/ilevkivskyi/typing_inspect") + (synopsis + "Defines experimental API for runtime inspection of types defined in the Python +standard typing module") + (description + "The typing_inspect module defines experimental API for runtime inspection of types +defined in the Python standard typing module. Works with typing version 3.7.4 and +later.") + (license license:expat))) + (define-public python-lazy-object-proxy (package (name "python-lazy-object-proxy") From patchwork Wed Jul 22 12:09:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 23309 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 E4A8C27BBE4; Wed, 22 Jul 2020 13:14:03 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 ESMTP id 95A2B27BBE3 for ; Wed, 22 Jul 2020 13:14:03 +0100 (BST) Received: from localhost ([::1]:39214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyDdL-0004jh-5E for patchwork@mira.cbaines.net; Wed, 22 Jul 2020 08:14:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyDaS-000860-Kb for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyDaS-0006wX-94 for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyDaS-0006ut-4z for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42465] [PATCH v2 05/10] gnu: Add python-libcst. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jul 2020 12:11:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42465 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42465@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 42465-submit@debbugs.gnu.org id=B42465.159541981726467 (code B ref 42465); Wed, 22 Jul 2020 12:11:04 +0000 Received: (at 42465) by debbugs.gnu.org; 22 Jul 2020 12:10:17 +0000 Received: from localhost ([127.0.0.1]:41446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZc-0006sT-Td for submit@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:17 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:47809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZa-0006rP-4O for 42465@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:10 -0400 X-Originating-IP: 176.185.184.238 Received: from localhost.localdomain (static-176-185-184-238.axione.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 76E8C1C0005; Wed, 22 Jul 2020 12:10:04 +0000 (UTC) From: Tanguy Le Carrour Date: Wed, 22 Jul 2020 14:09:34 +0200 Message-Id: <20200722120940.13811-5-tanguy@bioneland.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200722120940.13811-1-tanguy@bioneland.org> References: <20200722120940.13811-1-tanguy@bioneland.org> MIME-Version: 1.0 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-xyz.scm (python-libcst): New variable. --- gnu/packages/python-xyz.scm | 57 +++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6fa1044fdc..4f959b886c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12297,6 +12297,63 @@ in Python. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.") (license license:expat))) +(define-public python-libcst + (package + (name "python-libcst") + (version "0.3.7") + (source (origin + (method url-fetch) + (uri (pypi-uri "libcst" version)) + (sha256 + (base32 + "1wfd5m9jhk5x2qpz29pjhm9ypp5h3nlbk6xv4vzn4f45xdf5bv9x")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-failing-tests + (lambda _ + ;; Reported upstream: . + (delete-file "libcst/tests/test_fuzz.py") + ;; Reported upstream: . + (delete-file "libcst/tests/test_pyre_integration.py") + (delete-file "libcst/codemod/tests/test_codemod_cli.py") + (delete-file "libcst/metadata/tests/test_full_repo_manager.py") + (delete-file "libcst/metadata/tests/test_type_inference_provider.py") + #t)) + (add-before 'check 'generate-test-data + (lambda _ + (setenv "PYTHONPATH" (string-append (getcwd) ":" (getenv "PYTHONPATH"))) + (invoke "python" "-m" "libcst.codegen.generate" "visitors") + (invoke "python" "-m" "libcst.codegen.generate" "return_types"))) + (replace 'check + (lambda _ + (invoke "python" "-m" "unittest") + #t))))) + (native-inputs + `(("python-black" ,python-black) + ("python-hypothesis" ,python-hypothesis) + ("python-isort" ,python-isort))) + (propagated-inputs + `(("python-typing-extensions" ,python-typing-extensions) + ("python-typing-inspect" ,python-typing-inspect) + ("python-pyyaml" ,python-pyyaml))) + (home-page "https://github.com/Instagram/LibCST") + (synopsis "A Concrete Syntax Tree (CST) parser and serializer library for Python") + (description + "LibCST parses Python 3.0, 3.1, 3.3, 3.5, 3.6, 3.7 or 3.8 source code as a CST tree +that keeps all formatting details (comments, whitespaces, parentheses, etc). It's useful +for building automated refactoring (codemod) applications and linters. LibCST creates +a compromise between an Abstract Syntax Tree (AST) and a traditional Concrete Syntax +Tree (CST). By carefully reorganizing and naming node types and fields, we've created +a lossless CST that looks and feels like an AST.") + (license (list license:expat + ;; Some files unde libcst/_parser/ are under Python Software + ;; Foundation license (see LICENSE file for details) + license:psfl + ;; libcst/_add_slots.py + license:asl2.0)))) + (define-public python-typing-inspect (package (name "python-typing-inspect") From patchwork Wed Jul 22 12:09:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 23310 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 99E0127BBE4; Wed, 22 Jul 2020 13:14:11 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 ESMTP id 3F2DE27BBE3 for ; Wed, 22 Jul 2020 13:14:11 +0100 (BST) Received: from localhost ([::1]:39760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyDdS-0004xv-Lj for patchwork@mira.cbaines.net; Wed, 22 Jul 2020 08:14:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyDaT-00087v-Cs for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyDaT-0006x6-1J for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyDaS-0006v9-TC for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42465] [PATCH v2 06/10] gnu: Add python-lark-parser. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jul 2020 12:11:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42465 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42465@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 42465-submit@debbugs.gnu.org id=B42465.159541981826483 (code B ref 42465); Wed, 22 Jul 2020 12:11:04 +0000 Received: (at 42465) by debbugs.gnu.org; 22 Jul 2020 12:10:18 +0000 Received: from localhost ([127.0.0.1]:41452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZh-0006sx-Pw for submit@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:18 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:42157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZc-0006ra-1A for 42465@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:12 -0400 X-Originating-IP: 176.185.184.238 Received: from localhost.localdomain (static-176-185-184-238.axione.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 62F771C001A; Wed, 22 Jul 2020 12:10:06 +0000 (UTC) From: Tanguy Le Carrour Date: Wed, 22 Jul 2020 14:09:35 +0200 Message-Id: <20200722120940.13811-6-tanguy@bioneland.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200722120940.13811-1-tanguy@bioneland.org> References: <20200722120940.13811-1-tanguy@bioneland.org> MIME-Version: 1.0 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-xyz.scm (python-lark-parser): New variable. --- gnu/packages/python-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4f959b886c..26673c20c0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12297,6 +12297,25 @@ in Python. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.") (license license:expat))) +(define-public python-lark-parser + (package + (name "python-lark-parser") + (version "0.9.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "lark-parser" version)) + (sha256 + (base32 + "1kd61asrb3h9spgsj4bslfbgp8q4271sw3hblk6f2vbbblv8jxcy")))) + (build-system python-build-system) + (home-page "https://github.com/lark-parser/lark") + (synopsis "A modern parsing library for Python") + (description + "Lark is a parser built with a focus on ergonomics, performance and resilience. +Lark can parse all context-free languages. That means it is capable of parsing almost +any programming language out there, and to some degree most natural languages too.") + (license license:expat))) + (define-public python-libcst (package (name "python-libcst") From patchwork Wed Jul 22 12:09:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 23314 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 4C69027BBE4; Wed, 22 Jul 2020 13:16:49 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 ESMTP id DF43B27BBE3 for ; Wed, 22 Jul 2020 13:16:48 +0100 (BST) Received: from localhost ([::1]:47932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyDg0-0008UL-E1 for patchwork@mira.cbaines.net; Wed, 22 Jul 2020 08:16:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyDaU-00089i-4a for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58152) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyDaT-0006xF-Qq for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyDaT-0006vN-MW for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42465] [PATCH v2 07/10] gnu: Add python-hypothesmith. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jul 2020 12:11:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42465 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42465@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 42465-submit@debbugs.gnu.org id=B42465.159541981826497 (code B ref 42465); Wed, 22 Jul 2020 12:11:05 +0000 Received: (at 42465) by debbugs.gnu.org; 22 Jul 2020 12:10:18 +0000 Received: from localhost ([127.0.0.1]:41456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZi-0006tE-H6 for submit@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:18 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:57993) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZd-0006rd-Nq for 42465@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:14 -0400 X-Originating-IP: 176.185.184.238 Received: from localhost.localdomain (static-176-185-184-238.axione.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 1BD761C0003; Wed, 22 Jul 2020 12:10:07 +0000 (UTC) From: Tanguy Le Carrour Date: Wed, 22 Jul 2020 14:09:36 +0200 Message-Id: <20200722120940.13811-7-tanguy@bioneland.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200722120940.13811-1-tanguy@bioneland.org> References: <20200722120940.13811-1-tanguy@bioneland.org> MIME-Version: 1.0 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/check.scm (python-hypothesmith): New variable. --- gnu/packages/check.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index a3608e4125..817bdb4cd9 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1840,6 +1840,29 @@ seamlessly into your existing Python unit testing work flow.") `(("python2-enum34" ,python2-enum34) ,@(package-propagated-inputs hypothesis)))))) +(define-public python-hypothesmith + (package + (name "python-hypothesmith") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "hypothesmith" version)) + (sha256 + (base32 + "09331sspknv459xcyn1k0lx5flqlc6gmnwp9370pfvg4kg1zmss6")))) + (build-system python-build-system) + (propagated-inputs + `(("python-hypothesis" ,python-hypothesis) + ("python-lark-parser" ,python-lark-parser) + ("python-libcst" ,python-libcst))) + (home-page "https://github.com/Zac-HD/hypothesmith") + (synopsis "Strategies for generating Python programs.") + (description + "Hypothesis strategies for generating Python programs, something like CSmith. This +is definitely pre-alpha, but if you want to play with it feel free!") + (license license:mpl2.0))) + (define-public python-lit (package (name "python-lit") From patchwork Wed Jul 22 12:09:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 23308 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 D4C0E27BBE4; Wed, 22 Jul 2020 13:13:56 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 ESMTP id 651FB27BBE3 for ; Wed, 22 Jul 2020 13:13:56 +0100 (BST) Received: from localhost ([::1]:38634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyDdD-0004V2-Vk for patchwork@mira.cbaines.net; Wed, 22 Jul 2020 08:13:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyDaS-00084y-7h for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58147) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyDaR-0006wE-Sl for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyDaR-0006um-Od for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42465] [PATCH v2 08/10] gnu: Add python-flake8-bugbear. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jul 2020 12:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42465 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42465@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 42465-submit@debbugs.gnu.org id=B42465.159541981326444 (code B ref 42465); Wed, 22 Jul 2020 12:11:03 +0000 Received: (at 42465) by debbugs.gnu.org; 22 Jul 2020 12:10:13 +0000 Received: from localhost ([127.0.0.1]:41444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZc-0006sM-Iz for submit@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:12 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:58397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZZ-0006r7-TQ for 42465@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:10 -0400 X-Originating-IP: 176.185.184.238 Received: from localhost.localdomain (static-176-185-184-238.axione.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 6D5F51C0015; Wed, 22 Jul 2020 12:10:09 +0000 (UTC) From: Tanguy Le Carrour Date: Wed, 22 Jul 2020 14:09:37 +0200 Message-Id: <20200722120940.13811-8-tanguy@bioneland.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200722120940.13811-1-tanguy@bioneland.org> References: <20200722120940.13811-1-tanguy@bioneland.org> MIME-Version: 1.0 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-xyz.scm (python-flake8-bugbear): New variable. --- gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 26673c20c0..6be4c29976 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7909,6 +7909,34 @@ complexity of Python source code.") ("python-pyflakes" ,python-pyflakes-1.2) ("python-mccabe" ,python-mccabe))))) +(define-public python-flake8-bugbear + (package + (name "python-flake8-bugbear") + (version "20.1.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flake8-bugbear" version)) + (sha256 + (base32 + "0qiihb242fygzyrfynq913ak7cdmx8mcac9c0zk3y5gv16qf80mx")))) + (build-system python-build-system) + (native-inputs + `(("python-hypothesis" ,python-hypothesis) + ("python-hypothesmith" ,python-hypothesmith))) + (propagated-inputs + `(("python-attrs" ,python-attrs) + ("python-flake8" ,python-flake8))) + (home-page "https://github.com/PyCQA/flake8-bugbear") + (synopsis + "A plugin for Flake8 finding likely bugs and design problems in your program") + (description + "A plugin for Flake8 finding likely bugs and design problems in your program. +Contains warnings that don't belong in pyflakes and pycodestyle. It is felt that +these lints don't belong in the main Python tools as they are very opinionated and +do not have a PEP or standard behind them.") + (license license:expat))) + (define-public python-flake8-polyfill (package (name "python-flake8-polyfill") From patchwork Wed Jul 22 12:09:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 23305 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 4DFDE27BBE3; Wed, 22 Jul 2020 13:12:22 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 ESMTP id 168A327BBE1 for ; Wed, 22 Jul 2020 13:12:22 +0100 (BST) Received: from localhost ([::1]:60694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyDbh-0001tl-Gt for patchwork@mira.cbaines.net; Wed, 22 Jul 2020 08:12:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyDaT-00086u-0K for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58149) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyDaS-0006x1-LS for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyDaS-0006v0-Gi for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42465] [PATCH v2 09/10] gnu: Add python-flake8-pyi. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jul 2020 12:11:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42465 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42465@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 42465-submit@debbugs.gnu.org id=B42465.159541981726474 (code B ref 42465); Wed, 22 Jul 2020 12:11:04 +0000 Received: (at 42465) by debbugs.gnu.org; 22 Jul 2020 12:10:17 +0000 Received: from localhost ([127.0.0.1]:41450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZh-0006sq-G5 for submit@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:17 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:58397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZb-0006r7-5D for 42465@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:11 -0400 X-Originating-IP: 176.185.184.238 Received: from localhost.localdomain (static-176-185-184-238.axione.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id B06A31C0015; Wed, 22 Jul 2020 12:10:10 +0000 (UTC) From: Tanguy Le Carrour Date: Wed, 22 Jul 2020 14:09:38 +0200 Message-Id: <20200722120940.13811-9-tanguy@bioneland.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200722120940.13811-1-tanguy@bioneland.org> References: <20200722120940.13811-1-tanguy@bioneland.org> MIME-Version: 1.0 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-xyz.scm (python-flake8-pyi): New variable. --- gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6be4c29976..6deab39b0e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7980,6 +7980,35 @@ plugins that intend to support Flake8 2.x and 3.x simultaneously.") (define-public python2-flake8-polyfill (package-with-python2 python-flake8-polyfill)) +(define-public python-flake8-pyi + (package + (name "python-flake8-pyi") + (version "20.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flake8-pyi" version)) + (sha256 + (base32 + "1zpq4s9kp8w95pccmhhyyx1ff2zhnidcf1zb3xs46lzcx9plvnzk")))) + (build-system python-build-system) + (propagated-inputs + `(("python-attrs" ,python-attrs) + ("python-flake8" ,python-flake8) + ("python-pyflakes" ,python-pyflakes))) + (home-page "https://github.com/ambv/flake8-pyi") + (synopsis + "A plugin for Flake8 that provides specializations for type hinting stub files.") + (description + "A plugin for Flake8 that provides specializations for type hinting stub files, +especially interesting for linting typeshed. 1) Adds the .pyi extension to +the default value of the --filename command-line argument to Flake8. This means +stubs are linted by default with this plugin enabled, without needing to explicitly list +every file. 2) Modifies PyFlakes runs for .pyi files to defer checking type annotation +expressions after the entire file has been read. This enables support for first-class +forward references that stub files use.") + (license license:expat))) + (define-public python-mistune (package (name "python-mistune") From patchwork Wed Jul 22 12:09:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 23313 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 79B3E27BBE4; Wed, 22 Jul 2020 13:16:41 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 ESMTP id 1ADE827BBE3 for ; Wed, 22 Jul 2020 13:16:41 +0100 (BST) Received: from localhost ([::1]:47448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyDfs-0008Hv-Lh for patchwork@mira.cbaines.net; Wed, 22 Jul 2020 08:16:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyDaT-00088r-OE for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58151) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyDaT-0006xA-E7 for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyDaT-0006vG-A6 for guix-patches@gnu.org; Wed, 22 Jul 2020 08:11:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42465] [PATCH v2 10/10] gnu: Add python-mypy. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Jul 2020 12:11:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42465 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42465@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 42465-submit@debbugs.gnu.org id=B42465.159541981826491 (code B ref 42465); Wed, 22 Jul 2020 12:11:05 +0000 Received: (at 42465) by debbugs.gnu.org; 22 Jul 2020 12:10:18 +0000 Received: from localhost ([127.0.0.1]:41454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZi-0006t5-2N for submit@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:18 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:42157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyDZd-0006ra-Gc for 42465@debbugs.gnu.org; Wed, 22 Jul 2020 08:10:13 -0400 X-Originating-IP: 176.185.184.238 Received: from localhost.localdomain (static-176-185-184-238.axione.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 09FB01C0011; Wed, 22 Jul 2020 12:10:12 +0000 (UTC) From: Tanguy Le Carrour Date: Wed, 22 Jul 2020 14:09:39 +0200 Message-Id: <20200722120940.13811-10-tanguy@bioneland.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200722120940.13811-1-tanguy@bioneland.org> References: <20200722120940.13811-1-tanguy@bioneland.org> MIME-Version: 1.0 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): New variable. --- gnu/packages/python-check.scm | 51 +++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index f80b7634cf..511bc2b931 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -30,6 +30,7 @@ #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages web) + #:use-module (gnu packages xml) #:use-module (guix utils) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) @@ -554,3 +555,53 @@ the implementation of that name.") (description "The @code{python-mypy-extensions} module defines experimental extensions to the standard 'typing' module that are supported by the mypy typechecker.") (license license:expat))) + +(define-public python-mypy + (package + (name "python-mypy") + (version "0.782") + (source + (origin + (method url-fetch) + (uri (pypi-uri "mypy" version)) + (sha256 + (base32 + "030kn709515452n6gy2i1d9fg6fyrkmdz228lfpmbslybsld9xzg")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "./runtests.py") + #t))))) + (native-inputs + `(("python-attrs" ,python-attrs) + ("python-flake8" ,python-flake8) + ("python-flake8-bugbear" ,python-flake8-bugbear) + ("python-flake8-pyi" ,python-flake8-pyi) + ("python-importlib-metadata" ,python-importlib-metadata) + ("python-lxml" ,python-lxml) + ("python-psutil" ,python-psutil) + ("python-py" ,python-py) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-forked" ,python-pytest-forked) + ("python-pytest-xdist" ,python-pytest-xdist) + ("python-setuptools" ,python-setuptools) + ("python-virtualenv" ,python-virtualenv))) + (propagated-inputs + `(("python-mypy-extensions" ,python-mypy-extensions) + ("python-typing-extensions" ,python-typing-extensions) + ("python-typed-ast" ,python-typed-ast))) + (home-page "http://www.mypy-lang.org/") + (synopsis "Optional static type checker for Python") + (description "Mypy is an optional static type checker for Python that aims +to combine the benefits of dynamic (or 'duck') typing and static typing. Mypy combines +the expressive power and convenience of Python with a powerful type system and +compile-time type checking. Mypy type checks standard Python programs; run them using +any Python VM with basically no runtime overhead.") + ;; Most of the code is under MIT license; Some files are under Python Software + ;; Foundation License version 2: stdlib-samples/*, mypyc/lib-rt/pythonsupport.h and + ;; mypyc/lib-rt/getargs.c + (license (list license:expat license:psfl))))