unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Greg Hogan <code@greghogan.com>
To: 58012@debbugs.gnu.org
Cc: Greg Hogan <code@greghogan.com>
Subject: [bug#58012] [core-updates PATCH 5/7] gnu: python-cfn-lint: Update to 0.65.0.
Date: Thu, 22 Sep 2022 19:44:08 +0000	[thread overview]
Message-ID: <17faf0389c712400350a2a47ea1565c39eedc071.1663875245.git.code@greghogan.com> (raw)
In-Reply-To: <cover.1663875244.git.code@greghogan.com>

* gnu/packages/python-web.scm (python-cfn-lint): Update to 0.65.0.
[arguments]<#:phases>: Add 'skip-network-test.
[propagated-inputs]: Add python-importlib-resources,
python-jschema-to-python, python-sarif-om.
---
 gnu/packages/python-web.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9d1fed7edd..2aa487d5c3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -710,7 +710,7 @@ (define-public python-cbor2
 (define-public python-cfn-lint
   (package
     (name "python-cfn-lint")
-    (version "0.54.3")
+    (version "0.65.0")
     (home-page "https://github.com/aws-cloudformation/cfn-lint")
     (source (origin
               (method git-fetch)
@@ -720,11 +720,16 @@ (define-public python-cfn-lint
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "106qf19n2k6sdjkb4006aidibd24qqiw901c1613xgjpnyw4dyl6"))))
+                "1rfacp39jssrbchrzb49vwrqyzhx5v7jfcgngqnb9r7qfs4bwi3w"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'skip-network-test
+           (lambda _
+             ;; This test requires networking.
+             (substitute* "test/unit/module/formatters/test_formatters.py"
+               (("def test_sarif_formatter") "def _test_sarif_formatter"))))
          (replace 'check
            (lambda* (#:key inputs outputs tests? #:allow-other-keys)
              (when tests?
@@ -744,11 +749,14 @@ (define-public python-cfn-lint
      (list python-pydot python-mock))
     (propagated-inputs
      (list python-aws-sam-translator
+           python-importlib-resources
+           python-jschema-to-python
            python-jsonpatch
            python-jsonschema
            python-junit-xml
            python-networkx
            python-pyyaml
+           python-sarif-om
            python-six))
     (synopsis "Validate CloudFormation templates")
     (description
-- 
2.37.3





  parent reply	other threads:[~2022-09-22 19:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1663875244.git.code@greghogan.com>
2022-09-22 19:44 ` [bug#58012] [core-updates PATCH 1/7] gnu: python-networkx: Update to 2.8.6 Greg Hogan
2022-09-22 19:44 ` [bug#58012] [core-updates PATCH 2/7] gnu: python-aws-sam-translator: Update to 1.51.0 Greg Hogan
2022-09-22 19:44 ` [bug#58012] [core-updates PATCH 3/7] gnu: Add python-jschema-to-python Greg Hogan
2022-09-22 19:44 ` [bug#58012] [core-updates PATCH 4/7] gnu: Add python-sarif-om Greg Hogan
2022-09-22 19:44 ` Greg Hogan [this message]
2022-09-22 19:44 ` [bug#58012] [core-updates PATCH 6/7] gnu: python-setools: Update to 4.4.0 Greg Hogan
2022-09-22 19:44 ` [bug#58012] [core-updates PATCH 7/7] gnu: python-louvain: Fix test Greg Hogan

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=17faf0389c712400350a2a47ea1565c39eedc071.1663875245.git.code@greghogan.com \
    --to=code@greghogan.com \
    --cc=58012@debbugs.gnu.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).