From patchwork Sat Oct 31 20:05:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 24916 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 3589627BBF3; Sat, 31 Oct 2020 20:07:13 +0000 (GMT) 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_H4,RCVD_IN_MSPIKE_WL,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 AA40D27BBF2 for ; Sat, 31 Oct 2020 20:07:12 +0000 (GMT) Received: from localhost ([::1]:39718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYx9b-00009L-UD for patchwork@mira.cbaines.net; Sat, 31 Oct 2020 16:07:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYx9S-000091-P1 for guix-patches@gnu.org; Sat, 31 Oct 2020 16:07:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51300) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYx9S-0005qT-Fm for guix-patches@gnu.org; Sat, 31 Oct 2020 16:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYx9S-0007H4-9w for guix-patches@gnu.org; Sat, 31 Oct 2020 16:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44359] [PATCH 2/2] gnu: pre-commit: Update to 2.8.1. References: <20201031200343.6213-1-monego@posteo.net> In-Reply-To: <20201031200343.6213-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 31 Oct 2020 20:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44359 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44359@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 44359-submit@debbugs.gnu.org id=B44359.160417478127911 (code B ref 44359); Sat, 31 Oct 2020 20:07:02 +0000 Received: (at 44359) by debbugs.gnu.org; 31 Oct 2020 20:06:21 +0000 Received: from localhost ([127.0.0.1]:34613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYx8n-0007G7-EC for submit@debbugs.gnu.org; Sat, 31 Oct 2020 16:06:21 -0400 Received: from mout01.posteo.de ([185.67.36.65]:39375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYx8l-0007Fs-53 for 44359@debbugs.gnu.org; Sat, 31 Oct 2020 16:06:20 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 77E5D160060 for <44359@debbugs.gnu.org>; Sat, 31 Oct 2020 21:06:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1604174773; bh=COxnJI2v68DoM41utEw6iOr6Q8z7GflP5WLHJYoTsxE=; h=From:To:Cc:Subject:Date:From; b=fQKLqfxw+Kg6h8wr9orNjYTKInrr3BU8Wu4VB9V1pEkc/b/JL3jR9GJILd8WoqflA t/2ZTii/il4rkD3V8FLTSChx0crFt2n9qSbQoSi91uiSrVJRQufXPI6jMSi0MJxEWv D32L4N3wpsrfxz/rjhJ6EVXi8Awz2u1WXOZWneodYfVTbvHbjmwAEOGTMhM0v2LS3D prM7BcfkwYb+KkcuIRuXVxozidtPTM0N5xBwl/R7noiB4YGvJGlly01FmOenqtzq0g E15UeWOfRUwjSgsfRispKMdMsK8dcvcWwOD2XICOQVkFB36kK5zaaeSi61E+t1moRY 9473Lh916VH6w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CNqtq5m02z6tmH; Sat, 31 Oct 2020 21:06:11 +0100 (CET) From: Vinicius Monego Date: Sat, 31 Oct 2020 17:05:51 -0300 Message-Id: <20201031200551.6451-1-monego@posteo.net> X-Mailer: git-send-email 2.29.1 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/version-control.scm (pre-commit): Update to 2.8.1. [arguments]: Skip new dotnet and nodejs tests. [native-inputs]: Add python-re-assert. [inputs]: Propagate. --- gnu/packages/version-control.scm | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 036c0fa09b..38fab2996a 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -93,6 +93,7 @@ #:use-module (gnu packages perl-check) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages python-check) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) @@ -1441,7 +1442,7 @@ control to Git repositories.") (define-public pre-commit (package (name "pre-commit") - (version "2.7.1") + (version "2.8.1") (source (origin ;; No tests in the PyPI tarball. @@ -1451,7 +1452,7 @@ control to Git repositories.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0n7qby5a4yz3s02nqcp5js6jg9wrd0x7msblxwb1883ds4b2b71a")))) + (base32 "0b3ks6viccq3n4p8i8zgfd40vp1k5nkhmmlz7p4nxcdizw8zxgn8")))) (build-system python-build-system) (arguments `(#:phases @@ -1492,6 +1493,12 @@ control to Git repositories.") " and not test_additional_rust_lib_dependencies_installed" " and not test_local_rust_additional_dependencies" " and not test_rust_hook" + ;; Disable dotnet tests. + " and not test_dotnet_hook" + ;; Disable nodejs tests. + " and not test_unhealthy_if_system_node_goes_missing" + " and not test_installs_without_links_outside_env" + " and not test_healthy_system_node" ;; Disable python2 test. " and not test_switch_language_versions_doesnt_clobber" ;; These tests try to open a network socket. @@ -1534,8 +1541,10 @@ control to Git repositories.") #t)))))) (native-inputs `(("git" ,git-minimal) - ("python-pytest" ,python-pytest))) - (inputs + ("python-pytest" ,python-pytest) + ("python-re-assert" ,python-re-assert))) + ;; Propagate because pre-commit is also used as a module. + (propagated-inputs `(("python-cfgv" ,python-cfgv) ("python-identify" ,python-identify) ("python-nodeenv" ,python-nodeenv)