-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Astroid 2.5] astroid.exceptions.DuplicateBasesError: Duplicates found in MROs (OrderedSet) #4093
[Astroid 2.5] astroid.exceptions.DuplicateBasesError: Duplicates found in MROs (OrderedSet) #4093
Comments
@hippo91 maybe pylint 2.6.0 needs to specify astroid < 2.5 ? If that's the case we could release 2.6.1with just a dependency change. |
Hmm, I can't seem to reproduce it. I wanted to check if the error also occurs with the current pylint git clone git@github.com:inetum-orleans/docker-devbox-ddb.git
# develop branch, last commit: bcf04b523482de438742e51d47198464d00f0553
cd docker-devbox-ddb.git
python3.8 -m venv venv
source venv/bin/activate
pip install pylint
pylint ddb
-- @Toilal Could you provide more details (operating system, the exact commit you tested, any other useful information)? Would be great if you could also try the current
If that works, we would know that the pining the |
I have tried current master branch, problem still occurs. |
Also, it works properly with pylint master and astroid<2.5 |
Should be fixed in 2.6.1, I just released. We had |
Thank you @Toilal for reporting the issue so fast! |
Hi there, Sorry to bring to life a closed issue here but felt it was better than opening a new issue. I sort of stumbled here looking through the commits and I'm getting the following error |
@fdosani thanks for the report. |
@tollal thanks for the report. I can reproduce it. |
This stills occurs in pylint 2.7. I currently have to add those constraints as a workaround.
|
@Toilal Pylint |
It works, thanks. |
Steps to reproduce
Current behavior
Pylint crash with the following stack
Expected behavior
It should lint as usual.
pylint --version output
Problem occurs after upgrading astroid to
2.5
. pip install "astroid<2.5" to workaround the issue.The text was updated successfully, but these errors were encountered: