Skip to content
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

module 'pylint.checkers.utils' has no attribute 'is_call_of_name' // pylint 2.6.1 #4096

Closed
aabramovrepo opened this issue Feb 16, 2021 · 5 comments
Labels
Crash 💥 A bug that makes pylint crash Regression
Milestone

Comments

@aabramovrepo
Copy link

Hi All,

after the update to 2.6.1 version I'm getting the following error in every .py file:

AttributeError: module 'pylint.checkers.utils' has no attribute 'is_call_of_name'

has anyone already experienced this?

Best,
Alexey

@aabramovrepo aabramovrepo changed the title module 'pylint.checkers.utils' has no attribute 'is_call_of_name' module 'pylint.checkers.utils' has no attribute 'is_call_of_name' // pylint 2.6.1 Feb 16, 2021
@jsemric
Copy link

jsemric commented Feb 16, 2021

experiencing the same issue with pylint==2.6.1

@Pierre-Sassoulas
Copy link
Member

Pierre-Sassoulas commented Feb 16, 2021

Thank you for the report, we're having some trouble following the release of astroid 2.5 The temporary fix is to use:

pylint==2.6.0
astroid < 2.5

Edit : pylint 2.6.2 should work now.

@Pierre-Sassoulas Pierre-Sassoulas added the Crash 💥 A bug that makes pylint crash label Feb 16, 2021
@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.6.2 milestone Feb 16, 2021
@tngTUDOR
Copy link

Also bitten by the regression.
I confirm that the fix from #4096 (comment) worked fine.

andy-maier added a commit to zhmcclient/zhmccli that referenced this issue Feb 16, 2021
Details:

* The latest release 2.6.1 of Pylint has an issue resulting in AttributeError:

    module 'pylint.checkers.utils' has no attribute 'is_call_of_name'

  See pylint-dev/pylint#4096.

  To circumvent that, this change excluded pylint 2.6.1 and astroid 2.5.0
  for now.

Signed-off-by: Andreas Maier <maiera@de.ibm.com>
andy-maier added a commit to zhmcclient/zhmccli that referenced this issue Feb 16, 2021
Details:

* The latest release 2.6.1 of Pylint has an issue resulting in AttributeError:

    module 'pylint.checkers.utils' has no attribute 'is_call_of_name'

  See pylint-dev/pylint#4096.

  To circumvent that, this change excluded pylint 2.6.1. The proposal made
  in the pylint issue to also exclude astroid 2.5.0 is not necessary
  (at least not for our use cases).

Signed-off-by: Andreas Maier <maiera@de.ibm.com>
@andy-maier
Copy link

I was trying to verify that excluding pylint 2.6.1 alone is sufficient (see PR posts above), but it turns out pylint 2.6.2 had just been released some minutes ago and it succeeds again. Thanks much for the very quick turnaround!!

@Pierre-Sassoulas
Copy link
Member

No problem, I don't like seeing issues with a new thumbs up every 3 minutes :D

Made me realize that pinning pylint is the way to go as a new version can make a build fail because of new messages anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash 💥 A bug that makes pylint crash Regression
Projects
None yet
Development

No branches or pull requests

5 participants