From patchwork Tue Aug 9 22:07:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41460 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 A70BE27BBEA; Tue, 9 Aug 2022 23:09:18 +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,URIBL_BLOCKED autolearn=unavailable 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 2C6A827BBE9 for ; Tue, 9 Aug 2022 23:09:18 +0100 (BST) Received: from localhost ([::1]:58872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLXPZ-0002JI-AS for patchwork@mira.cbaines.net; Tue, 09 Aug 2022 18:09:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLXPL-00029L-00 for guix-patches@gnu.org; Tue, 09 Aug 2022 18:09:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55656) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLXPK-0007f0-Mb for guix-patches@gnu.org; Tue, 09 Aug 2022 18:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLXPK-0004Hw-DD for guix-patches@gnu.org; Tue, 09 Aug 2022 18:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57092] [PATCH 1/2] gnu: python-tox: Move from python-xyz.scm to python-check.scm. References: <877d3hglaf.fsf@ngraves.fr> In-Reply-To: <877d3hglaf.fsf@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Aug 2022 22:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57092 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 57092@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 57092-submit@debbugs.gnu.org id=B57092.166008290916417 (code B ref 57092); Tue, 09 Aug 2022 22:09:02 +0000 Received: (at 57092) by debbugs.gnu.org; 9 Aug 2022 22:08:29 +0000 Received: from localhost ([127.0.0.1]:45402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLXOn-0004Gj-8F for submit@debbugs.gnu.org; Tue, 09 Aug 2022 18:08:29 -0400 Received: from 19.mo584.mail-out.ovh.net ([87.98.179.66]:33339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLXOk-0004GQ-5S for 57092@debbugs.gnu.org; Tue, 09 Aug 2022 18:08:28 -0400 Received: from player737.ha.ovh.net (unknown [10.108.16.8]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id E69012148A for <57092@debbugs.gnu.org>; Tue, 9 Aug 2022 22:08:23 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player737.ha.ovh.net (Postfix) with ESMTPSA id ED2DE23F442B2; Tue, 9 Aug 2022 22:08:21 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-107S0012062312a-e750-4d04-9553-3b438d92bd93, A75663129A9065A790165B2B16AF5ADF04BBC8DC) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 213.44.161.47 Date: Wed, 10 Aug 2022 00:07:55 +0200 Message-Id: <20220809220756.18367-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-Ovh-Tracer-Id: 15769072621667476194 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeguddgtdejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepteeiteeiheeuieejffekheevfefhleeiudetvdehudeukeevhedugfeivdehieevnecuffhomhgrihhnpehrvggrughthhgvughotghsrdhiohenucfkpheptddrtddrtddrtddpvddufedrgeegrdduiedurdegjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeefjedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehjedtledvseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeeg 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" 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 X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-check.scm (python-tox): Add variable. * gnu/packages/python-xyz.scm (python-tox): Delete variable. --- gnu/packages/python-check.scm | 37 +++++++++++++++++++++++++++++++++++ gnu/packages/python-xyz.scm | 37 ----------------------------------- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 20ab26facf..5d6cf49c50 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2424,3 +2424,40 @@ (define-public python-pycotap attachments). @end itemize") (license license:expat))) + +(define-public python-tox + (package + (name "python-tox") + (version "3.20.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "tox" version)) + (sha256 + (base32 + "0nk0nyzhzamcrvn0qqzzy54isxxqwdi28swml7a2ym78c3f9sqpb")))) + (build-system python-build-system) + (arguments + ;; FIXME: Tests require pytest-timeout, which itself requires + ;; pytest>=2.8.0 for installation. + '(#:tests? #f)) + (propagated-inputs + (list python-filelock + python-packaging + python-pluggy + python-py + python-six + python-toml + python-virtualenv)) + (native-inputs + (list ; FIXME: Missing: ("python-pytest-timeout" ,python-pytest-timeout) + python-pytest ; >= 2.3.5 + python-setuptools-scm)) + (home-page "https://tox.readthedocs.io") + (synopsis "Virtualenv-based automation of test activities") + (description "Tox is a generic virtualenv management and test command line +tool. It can be used to check that a package installs correctly with +different Python versions and interpreters, or run tests in each type of +supported environment, or act as a frontend to continuous integration +servers.") + (license license:expat))) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f6b986d4e8..b049cded13 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14739,43 +14739,6 @@ (define-public python-deprecation that deprecated code is eventually removed.") (license license:asl2.0))) -(define-public python-tox - (package - (name "python-tox") - (version "3.20.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "tox" version)) - (sha256 - (base32 - "0nk0nyzhzamcrvn0qqzzy54isxxqwdi28swml7a2ym78c3f9sqpb")))) - (build-system python-build-system) - (arguments - ;; FIXME: Tests require pytest-timeout, which itself requires - ;; pytest>=2.8.0 for installation. - '(#:tests? #f)) - (propagated-inputs - (list python-filelock - python-packaging - python-pluggy - python-py - python-six - python-toml - python-virtualenv)) - (native-inputs - (list ; FIXME: Missing: ("python-pytest-timeout" ,python-pytest-timeout) - python-pytest ; >= 2.3.5 - python-setuptools-scm)) - (home-page "https://tox.readthedocs.io") - (synopsis "Virtualenv-based automation of test activities") - (description "Tox is a generic virtualenv management and test command line -tool. It can be used to check that a package installs correctly with -different Python versions and interpreters, or run tests in each type of -supported environment, or act as a frontend to continuous integration -servers.") - (license license:expat))) - (define-public python-jmespath (package (name "python-jmespath") From patchwork Tue Aug 9 22:07:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41459 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 C1E8327BBE9; Tue, 9 Aug 2022 23:09:10 +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,URIBL_BLOCKED autolearn=unavailable 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 DC77F27BBEA for ; Tue, 9 Aug 2022 23:09:09 +0100 (BST) Received: from localhost ([::1]:58656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLXPR-00029f-1Y for patchwork@mira.cbaines.net; Tue, 09 Aug 2022 18:09:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLXPL-00029T-DN for guix-patches@gnu.org; Tue, 09 Aug 2022 18:09:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLXPL-0007f5-2o for guix-patches@gnu.org; Tue, 09 Aug 2022 18:09:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLXPK-0004I4-UJ for guix-patches@gnu.org; Tue, 09 Aug 2022 18:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57092] [PATCH 2/2] gnu: python-tox: Add native-inputs and enable tests. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Aug 2022 22:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57092 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 57092@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 57092-submit@debbugs.gnu.org id=B57092.166008291716451 (code B ref 57092); Tue, 09 Aug 2022 22:09:02 +0000 Received: (at 57092) by debbugs.gnu.org; 9 Aug 2022 22:08:37 +0000 Received: from localhost ([127.0.0.1]:45405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLXOu-0004HG-My for submit@debbugs.gnu.org; Tue, 09 Aug 2022 18:08:37 -0400 Received: from 8.mo550.mail-out.ovh.net ([178.33.110.239]:43757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLXOr-0004Gy-Qf for 57092@debbugs.gnu.org; Tue, 09 Aug 2022 18:08:34 -0400 Received: from player690.ha.ovh.net (unknown [10.110.103.118]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id BA1FA24584 for <57092@debbugs.gnu.org>; Tue, 9 Aug 2022 22:08:31 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player690.ha.ovh.net (Postfix) with ESMTPSA id D8B882D4CA2C2; Tue, 9 Aug 2022 22:08:29 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-95G001f925b6ee-2db6-4cbf-8825-1d1fd82cb4f6, A75663129A9065A790165B2B16AF5ADF04BBC8DC) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 213.44.161.47 Date: Wed, 10 Aug 2022 00:07:56 +0200 Message-Id: <20220809220756.18367-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220809220756.18367-1-ngraves@ngraves.fr> References: <20220809220756.18367-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 15771324421681439458 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeguddgtdejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleevueeghffgtdeiueegffduvefhleehtedtffehgeetudfhgfdvledvteelkeegnecuffhomhgrihhnpehrvggrughthhgvughotghsrdhiohenucfkpheptddrtddrtddrtddpvddufedrgeegrdduiedurdegjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrieeltddrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehjedtledvseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedt 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" 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 X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-check.scm (python-tox): Add native-inputs and enable tests. --- gnu/packages/python-check.scm | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 5d6cf49c50..2a54fabd99 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2437,10 +2437,6 @@ (define-public python-tox (base32 "0nk0nyzhzamcrvn0qqzzy54isxxqwdi28swml7a2ym78c3f9sqpb")))) (build-system python-build-system) - (arguments - ;; FIXME: Tests require pytest-timeout, which itself requires - ;; pytest>=2.8.0 for installation. - '(#:tests? #f)) (propagated-inputs (list python-filelock python-packaging @@ -2450,9 +2446,11 @@ (define-public python-tox python-toml python-virtualenv)) (native-inputs - (list ; FIXME: Missing: ("python-pytest-timeout" ,python-pytest-timeout) - python-pytest ; >= 2.3.5 - python-setuptools-scm)) + (list python-flaky + python-pathlib2 + python-pytest-timeout + python-pytest + python-setuptools-scm)) (home-page "https://tox.readthedocs.io") (synopsis "Virtualenv-based automation of test activities") (description "Tox is a generic virtualenv management and test command line