You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've patched astroid locally and this does allow astroid to import the module. I'm surprised we haven't seen this before, I think an older version of pylint also failed to astroid-import the module, but just didn't complain about it?
The text was updated successfully, but these errors were encountered:
Hey @leifwalsh Thanks for creating the issue! Yes that fix might actually solve this problem and sounds reasonable. Would you mind sending a PR with that?
Steps to reproduce
Current behavior
pylint reports an error that it cannot import the module
Expected behavior
pylint doesn't report an error
python -c "from astroid import __pkginfo__; print(__pkginfo__.version)"
outputastroid 1.6.3, pylint 1.8.1
I believe the fix would be to add
'.whl'
to this list: https://github.com/PyCQA/astroid/blob/e0a298df55b15abcb77c2a93253f5ab7be52d0fb/astroid/manager.py#L188I've patched astroid locally and this does allow astroid to import the module. I'm surprised we haven't seen this before, I think an older version of pylint also failed to astroid-import the module, but just didn't complain about it?
The text was updated successfully, but these errors were encountered: