diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-05 14:09:30 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:09 +0100 |
| commit | 97fa837bac74928f8a5134aa1d81e8f651e18278 (patch) | |
| tree | cf5f0bc974704b6c2b95c985c0cca8b5df4c11d8 /gnu/packages/python-web.scm | |
| parent | 2a970167910a0ac7d5250a5183b9ade872fb86f3 (diff) | |
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
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 61 |
1 files changed, 27 insertions, 34 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 8c23726a5f1..890d431f86f 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2155,60 +2155,53 @@ decode and default on encode. (define-public python-cfn-lint (package (name "python-cfn-lint") - (version "1.28.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/aws-cloudformation/cfn-lint") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0n1v05516s0zy64v1a7f7pj5h9lscvbkkwnlgmys7g8lydlgf0v4")))) + (version "1.38.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/aws-cloudformation/cfn-lint") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1crwx0cp50h83xz8lc4ny504mx4dadpk80ln539syd4jd78qplgy")))) (build-system pyproject-build-system) (arguments (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 #~(modify-phases %standard-phases (add-after 'unpack 'remove-deprecated (lambda _ (substitute* "src/cfnlint/data/AdditionalSpecs/LmbdRuntimeLifecycle.json" (("deprecated\": \"2025") - "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 ")))) + "deprecated\": \"2125"))))))) (native-inputs (list python-defusedxml python-pydot python-pytest - python-setuptools - python-wheel)) + python-setuptools)) (propagated-inputs (list python-aws-sam-translator - python-importlib-resources - python-jschema-to-python python-jsonpatch - python-junit-xml python-networkx python-pyyaml python-regex - python-sarif-om 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") (synopsis "Validate CloudFormation templates") (description |
