Skip to content

Astroid incompatibility #302

@ZuluPro

Description

@ZuluPro

Latest version of astroid seems to break prospector.

They remove the YES constant, replaced by Uninferable.

File "/builds/cs/cb/.tox/lint/lib/python3.5/site-packages/pylint_django/__init__.py", line 6, in <module>
    from pylint_django import plugin
  File "/builds/cs/cb/.tox/lint/lib/python3.5/site-packages/pylint_django/plugin.py", line 5, in <module>
    from pylint_django.checkers import register_checkers
  File "/builds/cs/cb/.tox/lint/lib/python3.5/site-packages/pylint_django/checkers/__init__.py", line 3, in <module>
    from pylint_django.checkers.models import ModelChecker
  File "/builds/cs/cb/.tox/lint/lib/python3.5/site-packages/pylint_django/checkers/models.py", line 11, in <module>
    from pylint_django.utils import node_is_subclass, PY3
  File "/builds/cs/cb/.tox/lint/lib/python3.5/site-packages/pylint_django/utils.py", line 4, in <module>
    from astroid.util import YES
ImportError: cannot import name 'YES'```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions