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
MessagesHandlerMixIn
has been removed in 2.12
#11
Comments
We can pin our pylint dependency to |
The basic functionality pylint-ignore needs is to be able to selectively enable/disable individual messages. |
MessagesHandlerMixIn
has been removed in 2.12
MessagesHandlerMixIn
has been removed in 2.12
|
Should be possible yes, there is already such fallback code for even older versions of pylint. |
Hi, I thought this might be relevant. I am have installed % pylint-ignore --version
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pylint_ignore/__main__.py", line 44, in <module>
from pylint.message.message_handler_mix_in import MessagesHandlerMixIn
ModuleNotFoundError: No module named 'pylint.message.message_handler_mix_in'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/pylint-ignore", line 5, in <module>
from pylint_ignore.__main__ import main
File "/usr/local/lib/python3.9/site-packages/pylint_ignore/__main__.py", line 46, in <module>
from pylint.utils import MessagesHandlerMixIn
ImportError: cannot import name 'MessagesHandlerMixIn' from 'pylint.utils' (/usr/local/lib/python3.9/site-packages/pylint/utils/__init__.py) |
Fixed with |
I just saw you actually fixed the underlying issue and lifted the version restriction. Thanks for this, that also potentially decreases the number of issues raised against us 😄 |
pylint
contributor here:One of our issues got tagged in another project, but the actual problem was in this project. With
2.12
we removedMessagesHandlerMixIn
and merged it into the generalPyLinter
class.pylint-ignore
is importing it and this is creating crashes. A quick search showed me that you're using it to patch certain functions. Perhaps there is anything we could do to provide you the things you need frompylint
directly?The issue I'm referring to is wapiti-scanner/wapiti#199
I'm tagging @JulienTD as you might be interested to see when this is fixed so you can remove the pin on
pylint
😄The text was updated successfully, but these errors were encountered: