Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#74701 - [ansible-lint] Missing jsonschema dependency
Attached to Project:
Community Packages
Opened by Amin Vakil (aminvakil) - Wednesday, 11 May 2022, 05:51 GMT
Last edited by freswa (frederik) - Wednesday, 11 May 2022, 12:05 GMT
Opened by Amin Vakil (aminvakil) - Wednesday, 11 May 2022, 05:51 GMT
Last edited by freswa (frederik) - Wednesday, 11 May 2022, 12:05 GMT
|
DetailsDescription:
Currently it fails with: ``` Traceback (most recent call last): File "/usr/bin/ansible-lint", line 8, in <module> sys.exit(_run_cli_entrypoint()) File "/usr/lib/python3.10/site-packages/ansiblelint/__main__.py", line 252, in _run_cli_entrypoint sys.exit(main(sys.argv)) File "/usr/lib/python3.10/site-packages/ansiblelint/__main__.py", line 170, in main rules = RulesCollection(options.rulesdirs) File "/usr/lib/python3.10/site-packages/ansiblelint/rules/__init__.py", line 341, in __init__ for rule in load_plugins(rulesdir): File "/usr/lib/python3.10/site-packages/ansiblelint/rules/__init__.py", line 308, in load_plugins spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/lib/python3.10/site-packages/ansiblelint/rules/schema.py", line 10, in <module> from jsonschema import validate ModuleNotFoundError: No module named 'jsonschema' ``` I guess this is because of https://github.com/ansible/ansible-lint/commit/49377b8 which has added jsonschema to requirements.txt and setup.cfg pyrsistent has been added to requirements.txt as well. Additional info: ansible-lint 6.1.0-1 Steps to reproduce: Upgrade to 6.1.0-1, try running ansible-lint on any role / collection ... Please note ansible-lint --version returns 0 and does not have any problem. |
This task depends upon
Closed by freswa (frederik)
Wednesday, 11 May 2022, 12:05 GMT
Reason for closing: Fixed
Additional comments about closing: ansible-lint-6.1.0-2
Wednesday, 11 May 2022, 12:05 GMT
Reason for closing: Fixed
Additional comments about closing: ansible-lint-6.1.0-2
Comment by Amin Vakil (aminvakil) -
Wednesday, 11 May 2022, 06:04 GMT
Well python-pyrsistent is a dep of python-jsonschema, so let's not worry about that for now :)