[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/15: gnu: pre-commit: Update to 2.8.1.
From: |
guix-commits |
Subject: |
04/15: gnu: pre-commit: Update to 2.8.1. |
Date: |
Tue, 10 Nov 2020 16:34:17 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 830c4df6a44ca12f694f962b2e02ad0c1d9adba0
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Sat Oct 31 17:05:51 2020 -0300
gnu: pre-commit: Update to 2.8.1.
* 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.
Signed-off-by: Marius Bakke <marius@gnu.org>
---
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 9060bdc..16c70bd 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)
- branch master updated (28e2f27 -> 569cd53), guix-commits, 2020/11/10
- 04/15: gnu: pre-commit: Update to 2.8.1.,
guix-commits <=
- 06/15: gnu: v4l-utils: Move graphical tools to a separate output, guix-commits, 2020/11/10
- 07/15: gnu: v4l-utils: Do not build static libraries., guix-commits, 2020/11/10
- 08/15: gnu: sdcc: Remove non-free code., guix-commits, 2020/11/10
- 01/15: gnu: ungoogled-chromium: Update to 86.0.4240.193-0.b68e17f., guix-commits, 2020/11/10
- 02/15: gnu: cl-slime-swank: Update to 2.26., guix-commits, 2020/11/10
- 03/15: gnu: Add python-re-assert., guix-commits, 2020/11/10
- 05/15: gnu: python-canonicaljson: Update to 1.4.0., guix-commits, 2020/11/10
- 11/15: gnu: gnucash: Enable python bindings., guix-commits, 2020/11/10
- 15/15: gnu: nomad: Update to 0.2.0-alpha-199-g3e7a475., guix-commits, 2020/11/10
- 14/15: gnu: g-golf: Update to ef830107b9765bd6a2da848d0cbe45e11374c0b5., guix-commits, 2020/11/10