From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OBKMBvTDnV86GgAA0tVLHw (envelope-from ) for ; Sat, 31 Oct 2020 20:07:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iIZJAvTDnV9ZGAAAbx9fmQ (envelope-from ) for ; Sat, 31 Oct 2020 20:07:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B0A9E9403A0 for ; Sat, 31 Oct 2020 20:07:15 +0000 (UTC) Received: from localhost ([::1]:39718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYx9e-00009L-D8 for larch@yhetil.org; Sat, 31 Oct 2020 16:07:14 -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 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=posteo.net header.s=2017 header.b=fQKLqfxw; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 5.09 X-TUID: AYGwiQi0NGct * 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) -- 2.29.1