Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible-lint check is failing #2426

Closed
sxa opened this issue Jan 10, 2022 · 2 comments
Closed

ansible-lint check is failing #2426

sxa opened this issue Jan 10, 2022 · 2 comments

Comments

@sxa
Copy link
Member

sxa commented Jan 10, 2022

Appears to be on multiple PRs in this repository, so unlikely to be specific to any particular one and therefore needs to be resolved independently of any PR:

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.10.1/x64/bin/ansible-lint", line 8, in <module>
    sys.exit(_run_cli_entrypoint())
  File "/opt/hostedtoolcache/Python/3.10.1/x64/lib/python3.10/site-packages/ansiblelint/__main__.py", line 310, in _run_cli_entrypoint
    sys.exit(main(sys.argv))
  File "/opt/hostedtoolcache/Python/3.10.1/x64/lib/python3.10/site-packages/ansiblelint/__main__.py", line 214, in main
    from ansiblelint.generate_docs import rules_as_rich, rules_as_rst, rules_as_str
  File "/opt/hostedtoolcache/Python/3.10.1/x64/lib/python3.10/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' (/opt/hostedtoolcache/Python/3.10.1/x64/lib/python3.10/site-packages/rich/console.py)
Error: Process completed with exit code 1.
  • Link to any log file showing the problem:

  • Please describe the issue:

@Willsparker
Copy link
Contributor

For some reason, the Linter has decided to fix itself - in both #2420 and #2427 , the check has passed.

@Willsparker
Copy link
Contributor

Did a quick re-test on my PR (#2424 ) and it passed as expected. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants