unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Antero Mejr via Guix-patches via <guix-patches@gnu.org>
To: 62100@debbugs.gnu.org
Cc: Antero Mejr <antero@mailbox.org>
Subject: [bug#62100] [PATCH v3 01/16] gnu: pre-commit: Update to 3.1.1.
Date: Sat, 11 Mar 2023 13:39:30 +0000	[thread overview]
Message-ID: <20230311133945.7770-1-antero@mailbox.org> (raw)
In-Reply-To: <20230310171727.14525-1-antero@mailbox.org>

* gnu/packages/version-control.scm (pre-commit): Update to 3.1.1.
[propagated-inputs]: Remove python-toml.
---
 gnu/packages/version-control.scm | 26 +++++++++++++++++++++-----
 1 file changed, 21 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 8b0997768d..85291b12b7 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1667,8 +1667,8 @@ (define-public gitile
 
 (define-public pre-commit
   (package
-    (name "pre-commit")
-    (version "2.20.0")
+    (name "pre-commit") ;formerly known as python-pre-commit
+    (version "3.1.1")
     (source
      (origin
        (method git-fetch)               ; no tests in PyPI release
@@ -1677,7 +1677,11 @@ (define-public pre-commit
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "19jcg6nfnscp87h4wmbpw6r3lc8c75zkvb6wqgavq5dh7wkyg6pq"))))
+        (base32 "1rngcq1vd2phk45wp1cc5jz02wpi53fif0qwk633smfjcjj1kp41"))
+       (modules '((guix build utils)))
+       (snippet '(substitute* "setup.cfg"
+                   (("virtualenv>=20.10.0") ;our virtualenv (20.3.1) is fine
+                    "virtualenv>=20.0.8")))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -1710,6 +1714,18 @@ (define-public pre-commit
                        ;; Ruby and Node tests require node and gem.
                        "--ignore=tests/languages/node_test.py"
                        "--ignore=tests/languages/ruby_test.py"
+                       ;; Skip lang-specific (network) tests added in 3.1.1
+                       "--ignore=tests/languages/conda_test.py"
+                       "--ignore=tests/languages/coursier_test.py"
+                       "--ignore=tests/languages/dart_test.py"
+                       "--ignore=tests/languages/docker_test.py"
+                       "--ignore=tests/languages/docker_image_test.py"
+                       "--ignore=tests/languages/dotnet_test.py"
+                       "--ignore=tests/languages/golang_test.py"
+                       "--ignore=tests/languages/lua_test.py"
+                       "--ignore=tests/languages/perl_test.py"
+                       "--ignore=tests/languages/rust_test.py"
+                       "--ignore=tests/languages/swift_test.py"
                        "-k"
                        (string-append
                         ;; TODO: these tests fail with AssertionError.  It may
@@ -1717,7 +1733,8 @@ (define-public pre-commit
                         "not test_install_existing_hooks_no_overwrite"
                         " and not test_uninstall_restores_legacy_hooks"
                         " and not test_installed_from_venv"
-                        " and not test_healthy_venv_creator"))))))))
+                        " and not test_healthy_venv_creator"
+                        " and not test_r_hook and not test_r_inline"))))))))
     (native-inputs
      `(("git" ,git-minimal)
        ("python-covdefaults" ,python-covdefaults)
@@ -1733,7 +1750,6 @@ (define-public pre-commit
            python-identify
            python-nodeenv
            python-pyyaml
-           python-toml
            python-virtualenv))
     (home-page "https://pre-commit.com/")
     (synopsis "Framework for managing and maintaining pre-commit hooks")
-- 
2.38.1





  parent reply	other threads:[~2023-03-11 13:41 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-10 17:17 [bug#62100] [PATCH] gnu: Remove python-pre-commit Antero Mejr via Guix-patches via
2023-03-10 17:21 ` [bug#62100] [PATCH 01/13] gnu: python-jupytext: " Antero Mejr via Guix-patches via
2023-03-10 17:21   ` [bug#62100] [PATCH 02/13] gnu: python-bidict: " Antero Mejr via Guix-patches via
2023-03-10 17:21   ` [bug#62100] [PATCH 03/13] gnu: python-pyjwt: " Antero Mejr via Guix-patches via
2023-03-10 17:21   ` [bug#62100] [PATCH 04/13] gnu: python-marshmallow: " Antero Mejr via Guix-patches via
2023-03-10 17:22   ` [bug#62100] [PATCH 05/13] gnu: python-marshmallow-jsonapi: " Antero Mejr via Guix-patches via
2023-03-10 17:22   ` [bug#62100] [PATCH 06/13] gnu: python-apispec: " Antero Mejr via Guix-patches via
2023-03-10 17:22   ` [bug#62100] [PATCH 07/13] gnu: python-apispec-webframeworks: " Antero Mejr via Guix-patches via
2023-03-10 17:22   ` [bug#62100] [PATCH 08/13] gnu: python-minikanren: " Antero Mejr via Guix-patches via
2023-03-10 17:22   ` [bug#62100] [PATCH 09/13] gnu: python-doubletdetection: " Antero Mejr via Guix-patches via
2023-03-10 17:22   ` [bug#62100] [PATCH 10/13] gnu: scvelo: " Antero Mejr via Guix-patches via
2023-03-10 17:22   ` [bug#62100] [PATCH 11/13] gnu: python-pytest-regressions: " Antero Mejr via Guix-patches via
2023-03-10 17:22   ` [bug#62100] [PATCH 12/13] gnu: mdpo: " Antero Mejr via Guix-patches via
2023-03-10 17:22   ` [bug#62100] [PATCH 13/13] gnu: python-sphinxcontrib-apidoc: " Antero Mejr via Guix-patches via
2023-03-11  1:31 ` [bug#62100] [PATCH v2 01/15] gnu: pre-commit: Update to 3.1.1 Antero Mejr via Guix-patches via
2023-03-11  1:31   ` [bug#62100] [PATCH v2 02/15] gnu: python-jupytext: Remove python-pre-commit Antero Mejr via Guix-patches via
2023-03-11  7:52     ` Liliana Marie Prikler
2023-03-11 13:44       ` Antero Mejr via Guix-patches via
2023-03-11  1:31   ` [bug#62100] [PATCH v2 03/15] gnu: python-bidict: " Antero Mejr via Guix-patches via
2023-03-11  1:31   ` [bug#62100] [PATCH v2 04/15] gnu: python-pyjwt: " Antero Mejr via Guix-patches via
2023-03-11  1:31   ` [bug#62100] [PATCH v2 05/15] gnu: python-marshmallow: " Antero Mejr via Guix-patches via
2023-03-11  1:31   ` [bug#62100] [PATCH v2 06/15] gnu: python-marshmallow-jsonapi: " Antero Mejr via Guix-patches via
2023-03-11  1:31   ` [bug#62100] [PATCH v2 07/15] gnu: python-apispec: " Antero Mejr via Guix-patches via
2023-03-11  1:31   ` [bug#62100] [PATCH v2 08/15] gnu: python-apispec-webframeworks: " Antero Mejr via Guix-patches via
2023-03-11  1:31   ` [bug#62100] [PATCH v2 09/15] gnu: python-minikanren: " Antero Mejr via Guix-patches via
2023-03-11  1:31   ` [bug#62100] [PATCH v2 10/15] gnu: python-doubletdetection: " Antero Mejr via Guix-patches via
2023-03-11  1:31   ` [bug#62100] [PATCH v2 11/15] gnu: scvelo: " Antero Mejr via Guix-patches via
2023-03-11  1:31   ` [bug#62100] [PATCH v2 12/15] gnu: python-pytest-regressions: " Antero Mejr via Guix-patches via
2023-03-11  1:31   ` [bug#62100] [PATCH v2 13/15] gnu: mdpo: " Antero Mejr via Guix-patches via
2023-03-11  1:31   ` [bug#62100] [PATCH v2 14/15] gnu: python-sphinxcontrib-apidoc: " Antero Mejr via Guix-patches via
2023-03-11  1:31   ` [bug#62100] [PATCH v2 15/15] gnu: " Antero Mejr via Guix-patches via
2023-03-11  7:56 ` [bug#62100] [PATCH] " Lars-Dominik Braun
2023-03-11 13:41   ` Antero Mejr via Guix-patches via
2023-03-12 11:14     ` bug#62100: " Lars-Dominik Braun
2023-03-11 13:39 ` Antero Mejr via Guix-patches via [this message]
2023-03-11 13:39   ` [bug#62100] [PATCH v3 02/16] gnu: python-jupytext: Replace python-pre-commit with pre-commit Antero Mejr via Guix-patches via
2023-03-11 13:39   ` [bug#62100] [PATCH v3 03/16] gnu: python-bidict: Remove python-pre-commit Antero Mejr via Guix-patches via
2023-03-11 13:39   ` [bug#62100] [PATCH v3 04/16] gnu: python-pyjwt: " Antero Mejr via Guix-patches via
2023-03-11 13:39   ` [bug#62100] [PATCH v3 05/16] gnu: python-marshmallow: " Antero Mejr via Guix-patches via
2023-03-11 13:39   ` [bug#62100] [PATCH v3 06/16] gnu: python-marshmallow-jsonapi: " Antero Mejr via Guix-patches via
2023-03-11 13:39   ` [bug#62100] [PATCH v3 07/16] gnu: python-apispec: " Antero Mejr via Guix-patches via
2023-03-11 13:39   ` [bug#62100] [PATCH v3 08/16] gnu: python-apispec-webframeworks: " Antero Mejr via Guix-patches via
2023-03-11 13:39   ` [bug#62100] [PATCH v3 09/16] gnu: python-minikanren: " Antero Mejr via Guix-patches via
2023-03-11 13:39   ` [bug#62100] [PATCH v3 10/16] gnu: python-doubletdetection: " Antero Mejr via Guix-patches via
2023-03-11 13:39   ` [bug#62100] [PATCH v3 11/16] gnu: scvelo: " Antero Mejr via Guix-patches via
2023-03-11 13:39   ` [bug#62100] [PATCH v3 12/16] gnu: python-pytest-regressions: " Antero Mejr via Guix-patches via
2023-03-11 13:39   ` [bug#62100] [PATCH v3 13/16] gnu: mdpo: " Antero Mejr via Guix-patches via
2023-03-11 13:39   ` [bug#62100] [PATCH v3 14/16] gnu: python-sphinxcontrib-apidoc: " Antero Mejr via Guix-patches via
2023-03-11 13:39   ` [bug#62100] [PATCH v3 15/16] gnu: python-pre-commit: Replace with pre-commit Antero Mejr via Guix-patches via
2023-03-11 13:39   ` [bug#62100] [PATCH v3 16/16] lint: Check that python-pre-commit is not an input Antero Mejr via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230311133945.7770-1-antero@mailbox.org \
    --to=guix-patches@gnu.org \
    --cc=62100@debbugs.gnu.org \
    --cc=antero@mailbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).