From patchwork Thu Aug 11 05:48:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41546 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 9B67D27BBEA; Thu, 11 Aug 2022 07:02:51 +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 1BF6727BBE9 for ; Thu, 11 Aug 2022 07:02:51 +0100 (BST) Received: from localhost ([::1]:44136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oM1HO-0001oz-7Z for patchwork@mira.cbaines.net; Thu, 11 Aug 2022 02:02:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oM142-0004iS-QR for guix-patches@gnu.org; Thu, 11 Aug 2022 01:49:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oM142-0002dZ-Bv for guix-patches@gnu.org; Thu, 11 Aug 2022 01:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oM142-00043Z-4c for guix-patches@gnu.org; Thu, 11 Aug 2022 01:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57092] [PATCH v2 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: Thu, 11 Aug 2022 05:49: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.166019693615570 (code B ref 57092); Thu, 11 Aug 2022 05:49:02 +0000 Received: (at 57092) by debbugs.gnu.org; 11 Aug 2022 05:48:56 +0000 Received: from localhost ([127.0.0.1]:51156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM13w-000434-82 for submit@debbugs.gnu.org; Thu, 11 Aug 2022 01:48:56 -0400 Received: from 4.mo560.mail-out.ovh.net ([87.98.172.75]:50605) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM13r-00042p-GK for 57092@debbugs.gnu.org; Thu, 11 Aug 2022 01:48:55 -0400 Received: from player711.ha.ovh.net (unknown [10.108.4.98]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 6B9A923B60 for <57092@debbugs.gnu.org>; Thu, 11 Aug 2022 05:48:49 +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 player711.ha.ovh.net (Postfix) with ESMTPSA id A83542D44B0B0; Thu, 11 Aug 2022 05:48:46 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-103G005e9ad9d64-d37b-4165-a92b-958a2aa38e31, C23DEB4C4233A3DF9626E2F59CB7FD1D65C1FBBF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 213.44.161.47 Date: Thu, 11 Aug 2022 07:48:31 +0200 Message-Id: <20220811054832.4849-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-Ovh-Tracer-Id: 10970768692897506018 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvdegfedguddtvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeetieetieehueeijeffkeehveefhfeliedutedvheduueekveehudfgiedvheeiveenucffohhmrghinheprhgvrgguthhhvgguohgtshdrihhonecukfhppedtrddtrddtrddtpddvudefrdeggedrudeiuddrgeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejuddurdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheejtdelvdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitd 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 * (python-tox): Move from gnu/packages/python-xyz.scm to gnu/packages/python-check.scm. --- 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 Thu Aug 11 05:48:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41545 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 3413727BBEA; Thu, 11 Aug 2022 06:50:05 +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 CC06A27BBE9 for ; Thu, 11 Aug 2022 06:50:04 +0100 (BST) Received: from localhost ([::1]:37216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oM151-0004kn-UK for patchwork@mira.cbaines.net; Thu, 11 Aug 2022 01:50:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oM142-0004jA-US for guix-patches@gnu.org; Thu, 11 Aug 2022 01:49:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33177) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oM142-0002dd-Kc for guix-patches@gnu.org; Thu, 11 Aug 2022 01:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oM142-00043h-GG for guix-patches@gnu.org; Thu, 11 Aug 2022 01:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57092] [PATCH v2 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: Thu, 11 Aug 2022 05:49: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.166019693915585 (code B ref 57092); Thu, 11 Aug 2022 05:49:02 +0000 Received: (at 57092) by debbugs.gnu.org; 11 Aug 2022 05:48:59 +0000 Received: from localhost ([127.0.0.1]:51158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM13y-00043I-No for submit@debbugs.gnu.org; Thu, 11 Aug 2022 01:48:59 -0400 Received: from 8.mo581.mail-out.ovh.net ([46.105.77.114]:36377) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM13w-00042v-2J for 57092@debbugs.gnu.org; Thu, 11 Aug 2022 01:48:57 -0400 Received: from player755.ha.ovh.net (unknown [10.110.115.195]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 3673322E20 for <57092@debbugs.gnu.org>; Thu, 11 Aug 2022 05:48:53 +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 player755.ha.ovh.net (Postfix) with ESMTPSA id 481702D85490B; Thu, 11 Aug 2022 05:48:51 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-98R002aae62bb5-5920-4fa4-8874-9250ea2a06ca, C23DEB4C4233A3DF9626E2F59CB7FD1D65C1FBBF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 213.44.161.47 Date: Thu, 11 Aug 2022 07:48:32 +0200 Message-Id: <20220811054832.4849-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220811054832.4849-1-ngraves@ngraves.fr> References: <20220811054832.4849-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 10971894592332882658 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvdegfedguddtvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeelveeugefhgfdtieeugeffudevhfelheettdffheegteduhffgvdelvdetleekgeenucffohhmrghinheprhgvrgguthhhvgguohgtshdrihhonecukfhppedtrddtrddtrddtpddvudefrdeggedrudeiuddrgeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejheehrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheejtdelvdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekud 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