-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Fix import astroid.scoped_nodes #1325
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, this a private function seeing it's name, if we want to make it public we should rename it. Why do you want to make it public exactly ?
For what it's worth, part of a recent change released as part of 2.9.1 caused an issue in pylint-django related to not being able to find this
For pylint-django, I just had to change |
Ah yes - I see it now : the old deprecated scoped nodes attempts to import it: but it is not defined ('exported') in the new scoped nodes module So I think the correct fix is to remove line 17 from |
@carlio Thanks for the extra information and good job on fixing this so quickly in your own repo! I think the best things to do for now is to add this as is done in this PR and publish a new version asap (@Pierre-Sassoulas). As the reporter in your repo notes, this breaking change is not to be expected in a The move in #1302 was not intended to have any other side-effects other than allows us to split some files up. The imports should have stayed the same. I'd say a quick release is necessary to prevent any other packages facing similar issues. |
Let's release 2.9.2 ASAP. |
Steps
Description
Type of Changes
Related Issue