-
Notifications
You must be signed in to change notification settings - Fork 116
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
Another take on compatibility #206
Conversation
YES has been replaced with Uninferable. YES has been an alias to Uninferable for some time, and was recently removed. Closes #201
in pylint 2.2 and later this method doesn't exist
One single place to put compatability fudges means it's easier to know which ones to get rid of, especially if we properly annotate which versions each "fix" refers to. I am definitely keen to get PyPI.io or requires.io or whatever involved so that we get notified when new pylint/astroid etc releases come out as that will be helpful. I think that our initial response should be to quickly add a small workaround into the So, compat layer is there to get very quick releases out to match pylint/astroid releases and that is it. Certainly I was more dependent on this workflow when I was the sole maintainer, and I think it's still worth doing it that way even now. (( also I already released 2.0.4 as I uploaded 2.0.3 before pulling the latest master so had to delete it from Pypi, oops! )) |
and to ensure pylint-django is working sane with the latest and greatest:
Leaving this PR open for now as a reminder |
closing in favor of #210 |
@carlio here's another approach for the recent issues.
Basically my argument is that we don't need the compatibility layer, instead we need to properly annotate what kind of pylint versions we require.
I am more in favor of investing the time to use tools like PyUP.io which will automatically monitor for dependencies and start tests/pull requests or even designing our suite in Travis to execute regularly against the latest pylint/astroid so we can get a fair warning when something is about to break.
If you like this approach we can release a 2.0.4 version which requires the older version of pylint/astroid then revert the compat layer again and merge these changes on top of that with a new version (2.2 to match pylint maybe? ).