Python 2 LTS version of pylint for use with spyder since python2 support has been dropped in versions >=2.0.
Details
- Reviewers
• sunnyflunk DataDrake - Group Reviewers
Triage Team - Commits
- R4472:0aa215de4018: Initial commit of python2-pylint
Test with spyder.
Diff Detail
- Repository
- R4472 python2-pylint
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
@sunnyflunk I'm just putting all the work in place for when the discussion has been had. Will let you know when I'm done in this area and I can explain what I'm proposing.
Actually "Work in progress" stuffs are not accepted anymore as it generates useless noise for the triage team. They ask to commit the patches only when full stuff is ready and tested.
Now to add my 2 cents to this discussion
- As far as I know there are currently no packages that require pylint 2.x in the repository and pylint 1.9 will still receive bugfixes until 2020 (end of python2 support), so personally I don't see any reason for updating pylint to 2.x
- Solus has no python2- prefixed packages only a few python3- prefixed packages that are exceptions.
@kyrios123 It's not a WIP, I've been testing this locally for a while, just rebuilding and submitting atm. As for pylint 2, you are correct that no packages need it right now. However the work to separate the packages will be mandatory at some point, and it's nice for people who use pylint as a stand-alone package to have the latest features, so might as well do it now.
About the naming thing, do you have a suggestion for an alternative name?
@kyrios123 Nobody said it, but I'm assuming that either spyder or some other package will require it in the next 18 months, or, more likely, people will request the new features. The same treatment will be required for many Python packages in the short-term. It doesn't do any harm, anyway, this package can be deleted when we drop Python 2.
What are the percentage of chances that a new package that requires pylint as a mandatory dependency and that does not support pylint 1.9.x is added in the repository before python2 reaches EOL?
And are you sure that spyder3 will stop working with pylint 1.9.x by then?
Wouldn't it be easier/wiser to simply keep on using 1.9.x until we start deprecating python2 packages (and thus spyder) instead of creating new packages that are already doomed to be withdrawn ?
@kyrios123 I think it's spyder version 4 that will drop python2 and possibly require a newer pylint. Also, remember that this is a stand-alone package, and those users are not going to be happy if they are stuck on LTS for 18 months. It doesn't matter either way, it's done now. It's up to the triage team if they wish to accept it.
@sunnyflunk This is ready to be merged. I've split pylint and asteroid into python2 and python3 packages for LTS of python2, and updated any references. I know the name of this particular package does not conform to the usual standards, however I was unable to come up with a suitable alternative. Please merge all items in the stack in one go to ensure compatibility.
Please don't change the status until this has been discussed (the alternative is to abandon so it isn't landed accidentally).