gnu: python-cfn-lint: Update to 0.65.0.

* 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.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Greg Hogan 2022-09-22 19:44:08 +00:00 committed by Ludovic Courtès
parent 56d8907c5f
commit 35c92a6324
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -711,7 +711,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)
@ -721,11 +721,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?
@ -745,11 +750,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