Skip to content

v0.32.0 seems to have broken for us

Hi thanks for pipeline-components, we really enjoy it a lot.

With the newest release v0.32.0 we get an error. It seems to be related to the following GitHub issue, which seems to be resolved with ansible-lint 5.3.2

https://github.com/ansible-community/ansible-lint/issues/1795#issuecomment-1008850920

Alternatively an older version of the library rich can be used.

Here our error for reference:

Traceback (most recent call last):
  File "/app/bin//ansible-lint", line 8, in <module>
    sys.exit(_run_cli_entrypoint())
  File "/app/lib/python3.9/site-packages/ansiblelint/__main__.py", line 299, in _run_cli_entrypoint
    sys.exit(main(sys.argv))
  File "/app/lib/python3.9/site-packages/ansiblelint/__main__.py", line 211, in main
    from ansiblelint.generate_docs import rules_as_rich, rules_as_rst, rules_as_str
  File "/app/lib/python3.9/site-packages/ansiblelint/generate_docs.py", line 6, in <module>
    from rich.console import render_group
ImportError: cannot import name 'render_group' from 'rich.console' (/app/lib/python3.9/site-packages/rich/console.py)

Have a good day