mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-cfn-lint: Update to 1.38.1.
* gnu/packages/python-web.scm (python-cfn-lint): Update to 1.38.1. [arguments] <test-flags>: Rework skipped and ignored tests. [propagated-inputs]: Remove python-importlib-resources. [native-inputs]: Remove python-wheel. Change-Id: I9c3056a167f27659fb498941884a28c1099bb9c6
This commit is contained in:
parent
2a97016791
commit
97fa837bac
1 changed files with 27 additions and 34 deletions
|
@ -2155,60 +2155,53 @@ decode and default on encode.
|
||||||
(define-public python-cfn-lint
|
(define-public python-cfn-lint
|
||||||
(package
|
(package
|
||||||
(name "python-cfn-lint")
|
(name "python-cfn-lint")
|
||||||
(version "1.28.0")
|
(version "1.38.1")
|
||||||
(source (origin
|
(source
|
||||||
(method git-fetch)
|
(origin
|
||||||
(uri (git-reference
|
(method git-fetch)
|
||||||
(url "https://github.com/aws-cloudformation/cfn-lint")
|
(uri (git-reference
|
||||||
(commit (string-append "v" version))))
|
(url "https://github.com/aws-cloudformation/cfn-lint")
|
||||||
(file-name (git-file-name name version))
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(file-name (git-file-name name version))
|
||||||
(base32
|
(sha256
|
||||||
"0n1v05516s0zy64v1a7f7pj5h9lscvbkkwnlgmys7g8lydlgf0v4"))))
|
(base32 "1crwx0cp50h83xz8lc4ny504mx4dadpk80ln539syd4jd78qplgy"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
;; tests: 2136 passed, 11 deselected, 1 warning
|
||||||
|
#:test-flags
|
||||||
|
#~(list "--ignore=test/integration/"
|
||||||
|
"-k" (string-join
|
||||||
|
;; Tests failing on doctest or comparing diff.
|
||||||
|
(list "not test_build_graph"
|
||||||
|
"test_good_template"
|
||||||
|
"test_success_run"
|
||||||
|
"test_update_docs")
|
||||||
|
" and not "))
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'remove-deprecated
|
(add-after 'unpack 'remove-deprecated
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "src/cfnlint/data/AdditionalSpecs/LmbdRuntimeLifecycle.json"
|
(substitute* "src/cfnlint/data/AdditionalSpecs/LmbdRuntimeLifecycle.json"
|
||||||
(("deprecated\": \"2025")
|
(("deprecated\": \"2025")
|
||||||
"deprecated\": \"2125")))))
|
"deprecated\": \"2125")))))))
|
||||||
;; tests: 1807 passed, 26 deselected, 1 warning
|
|
||||||
#:test-flags
|
|
||||||
#~(list "-k" (string-join
|
|
||||||
(list
|
|
||||||
;; Skip documentation tests.
|
|
||||||
"not test_update_docs"
|
|
||||||
;; Tests fail with error: AssertinError ...
|
|
||||||
"test_module_integration"
|
|
||||||
"test_parameter_for_autopublish_code_sha256"
|
|
||||||
"test_sam_with_language_extension"
|
|
||||||
"test_success_run"
|
|
||||||
"test_templates"
|
|
||||||
;; Test fails with error: diff error while comparing
|
|
||||||
;; graphs.
|
|
||||||
"test_build_graph")
|
|
||||||
" and not "))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-defusedxml
|
(list python-defusedxml
|
||||||
python-pydot
|
python-pydot
|
||||||
python-pytest
|
python-pytest
|
||||||
python-setuptools
|
python-setuptools))
|
||||||
python-wheel))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-aws-sam-translator
|
(list python-aws-sam-translator
|
||||||
python-importlib-resources
|
|
||||||
python-jschema-to-python
|
|
||||||
python-jsonpatch
|
python-jsonpatch
|
||||||
python-junit-xml
|
|
||||||
python-networkx
|
python-networkx
|
||||||
python-pyyaml
|
python-pyyaml
|
||||||
python-regex
|
python-regex
|
||||||
python-sarif-om
|
|
||||||
python-sympy
|
python-sympy
|
||||||
python-typing-extensions))
|
python-typing-extensions
|
||||||
|
;; [optional]
|
||||||
|
python-jschema-to-python
|
||||||
|
python-junit-xml
|
||||||
|
python-sarif-om))
|
||||||
(home-page "https://github.com/aws-cloudformation/cfn-lint")
|
(home-page "https://github.com/aws-cloudformation/cfn-lint")
|
||||||
(synopsis "Validate CloudFormation templates")
|
(synopsis "Validate CloudFormation templates")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue