guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/11: gnu: python-cfgv: Update to 3.3.1.


From: guix-commits
Subject: 09/11: gnu: python-cfgv: Update to 3.3.1.
Date: Wed, 7 Sep 2022 11:42:52 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 9046adf8efa3d33a2a9123786be4788d02cf131a
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Sep 5 17:56:08 2022 +0200

    gnu: python-cfgv: Update to 3.3.1.
    
    * gnu/packages/python-xyz.scm (python-cfgv): Update to 3.3.1.
    [arguments]: Respect TESTS? keyword in check phase.
    [native-inputs]: Remove PYTHON-COVERAGE and PYTHON-COVDEFAULTS.
---
 gnu/packages/python-xyz.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 75070c8b82..a73f07ece3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22577,7 +22577,7 @@ Let's Encrypt.")
 (define-public python-cfgv
   (package
     (name "python-cfgv")
-    (version "3.1.0")
+    (version "3.3.1")
     (source
      (origin
        ;; There are no tests in the PyPI tarball.
@@ -22587,16 +22587,17 @@ Let's Encrypt.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1vvkkqw92sak4b28bpscpppq483amy52ch2yqy1i2m23q7xjkabx"))))
+        (base32 "1pci97cmn3v45sfch9s3lshidrl0309ls9byidic0l8drkwnkwcj"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda _
-             (invoke "pytest" "-vv"))))))
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "pytest" "-vv")))))))
     (native-inputs
-     (list python-covdefaults python-coverage python-pytest))
+     (list python-pytest))
     (home-page "https://github.com/asottile/cfgv";)
     (synopsis "Configuration validation library")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]