Skip to content

cannot import name 'default_rulesdir' from 'ansiblelint' #91

Open
@ekbfh

Description

Hi!

Recently https://github.com/ansible/ansible-lint was updated from 4.2.0 to 4.3.[0,1].
And now ansible-review don't worked with error:

ansible-review --version
Traceback (most recent call last):
  File "/usr/local/bin/ansible-review", line 5, in <module>
    from ansiblereview.__main__ import main
  File "/usr/local/lib/python3.8/site-packages/ansiblereview/__init__.py", line 1, in <module>
    from ansiblelint import default_rulesdir, RulesCollection
ImportError: cannot import name 'default_rulesdir' from 'ansiblelint' (/usr/local/lib/python3.8/site-packages/ansiblelint/__init__.py)

I think it may be caused by ansible/ansible-lint@734c6f8#diff-3a0d2814ee14f24f804a7c3bd1c7863a

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions