Subject: [bug#71266] [PATCH 1/2] gnu: pre-commit: Update to 3.7.1

From: Noé Lopez <[email-masked]>
Date: Thu, 30 May 2024 00:45:14 +0200

* gnu/packages/version-control.scm (pre-commit): Update to 3.7.1

Change-Id: I85e7f8d6ff1dd13b444ba2c06193e66344cafa37
---
 gnu/packages/version-control.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index c01eb9decd..6189fdaa52 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2014,7 +2014,7 @@ (define-public gitile
 (define-public pre-commit
   (package
     (name "pre-commit") ;formerly known as python-pre-commit
-    (version "3.3.3")
+    (version "3.7.1")
     (source
      (origin
        (method git-fetch)               ; no tests in PyPI release
@@ -2023,7 +2023,7 @@ (define-public pre-commit
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1spkg3ld3s6l7wz24lcywlf1z2ywp751bcdlxjfdsln76bi9ylp8"))
+        (base32 "1m2cs21xq2j1x80s7bh47fm2nsbnfxgscxfijaqwdsi2rrf4vlzv"))
        (modules '((guix build utils)))
        (snippet '(substitute* "setup.cfg"
                    (("virtualenv>=20.10.0") ;our virtualenv (20.3.1) is fine
@@ -2072,6 +2072,7 @@ (define-public pre-commit
                        "--ignore=tests/languages/perl_test.py"
                        "--ignore=tests/languages/rust_test.py"
                        "--ignore=tests/languages/swift_test.py"
+                       "--ignore=tests/languages/haskell_test.py"
                        "-k"
                        (string-append
                         ;; TODO: these tests fail with AssertionError.  It may
-- 
2.41.0