Closed evandrocoan closed 4 years ago
This has been fixed in https://github.com/PyCQA/astroid/commit/5e7aed79bf8104f53849b9126cb3ec1329634ce4 which will be part of astroid 2.4.1 in a couple of days (still going through the recent issues to see if there are any crashes we can quickly fix)
Steps to reproduce
After reverting our
pylint
to useastroid 2.3.3
, everything started working again: https://github.com/ankitects/pylint/pull/1 - Fix astroid update breaking buildAnyways, the problem can be reproduced with the latest
pylint
andastroid
versions.Our builds were working fine until come out the latest update of
astroid
to2.4.0
: https://github.com/ankitects/anki/runs/624211313#step:27:1153After minimizing the problem, I reduce it to the following minimal code which is working fine before the recent updates:
pip install pylint astroid --pre -U
test.py
with the contents:from PyQt5 import QtWidgets
python -m pylint --extension-pkg-whitelist=PyQt5 test.py
pylint --version output