-
-
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
Rename pylint.Run do_exit parameter to exit #3554
Conversation
This has been inadvertently changed several releases ago to ``do_exit``. Close #3533
This change broke the pytest-pylint plugin.
Are they using your API wrong or was this a breaking change introduced in a patch release? Edit: Now I see that it was changed from |
After digging a bit. The What you have done now is broken an API that has been in the code since the 2.0 release. I would say that you should redact the 2.5.1 release removing it from PyPI and again revert back to the # rant: The python community need to stop breaking things in minor/patch releases. |
@gangefors The 2.0 change from Regarding your rant with the Python community, not sure from it is coming from. As long as you don't contribute to this project via code / doc / financial contributions please feel free to take your opinions elsewhere. This project has been developed on a voluntary basis, but it keeps getting "rants" from folks that only take but never give back. |
Hooray - we have actively developed tools! Really appreciate everyone who has commented on this channel because the discussion means I can see that people who know what is going on are looking at things and that I wasn't going crazy. :-) |
@danielbrownridge @gangefors Just submitted #3591 which will allow both parameters to work in the meantime, until people can move to using |
My rant was due to the fact that we spend a quite significant time debugging why our CI pipeline breaks with new versions of the packages we use (not this package specifically). Opening issues and troubleshooting where the issue stems from is a contribution by itself. Taking the additional time during business hours to work on a PR is not an option for me. And I see that the issue has been resolved. Changing APIs should always be done with extreme care, especially when it comes to software used by millions. I am thankful that you decided to deprecate the param instead of removing it immediately since this gives projects time to adapt. Thanks for the quick response! |
Since pylint-dev/pylint#3554, do_exit has been deprecated, so don't use it any more.
Description
Fix a crash in
method-hidden
lookup for unknown base classes (90d4215)The patch replaces
mro()
withancestors()
as the former is notfully capable of generating the complete linearization when
dealing with ambiguous inferences.
Close #3527
Revert pylint.Run's
exit
parameter todo_exit
(a02b189)This has been inadvertently changed several releases ago to
do_exit
.Lint pylint from toxinidir, not the installed one (357922e)
Type of Changes
Related Issue
Close #3533