-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
pylint and astroid AttributeError: 'Module' object has no attribute 'col_offset' #4671
Comments
Do you have an hint about the code that provoked the crash ? I'd want to add a regression test if possible (and also possibly do more than just avoid the crash and do the right thing). Ideally it would be a python file that would crash pylint with |
I'm afraid this is not possible at the moment to provide such information. Let's hope that you will the issue, or other people experience similar problems and will be able to provide a full-working example code. |
Ok, thank you for providing as much details as you can 😄 Blind fix it is then :) Could you maybe tell me if there is still a crash when installing astroid via : |
Thanks a lot for this hint! Indeed, the combination
worked out without a failure (the entire AWS CodePipeline process testing and building the packages). The dev team on my side decided that we're going to keep on using |
As I'd already asked on StackOverFlow, versions
2.9.0
and2.9.3
seem to have this bug.A workaround is to downgrade
pylint
to version 2.8.3, which still works.EDIT:
I've just updated the OP with all python-packages involved in this testing environment, as well listing some attempts which did not work out to solve the problem.
The text was updated successfully, but these errors were encountered: