Legoktm added a comment.
In T213287#5294585 <https://phabricator.wikimedia.org/T213287#5294585>, @Xqt wrote: > **EOL** of Python 2.7 **is also important** for us because the most external libraries are also giving up Python 2 support (including pip btw). This means no further support, no bugfixes no new features. Ok you can say you never update libraries like requests or sseclient and what care about other stuff or about tests. On the other hand you don't need to update your bot. You can use every stable release submitted with their own tag; ask the HISTORY.rst file for their changes. Surely you will find a release running with Python 2.6. But this is not actually tested with current environments and external library dependencies. I think this is a key factor in why we also will need to drop Python 2.7 support - the rest of the ecosystem we depend upon is also moving in that direction (https://python3statement.org/). At mwparserfromhell I'm looking at deleting ~500 lines of code to drop Python 2.7 support: https://github.com/earwig/mwparserfromhell/pull/234 - a huge win for future maintenance. My proposal for how to move forward: - Set a date 3-4 months for now for the final pywikibot release that supports Python 2.7. I suggest we pick the same time as the final Python 2.7 release in April: https://www.python.org/psf/press-release/pr20191220/ - After this date people can continue to use the old release or branch to run their bots, and any maintainers who'd like to step up to backport critical patches should be more than welcome to do so. - Set up a process (maybe a new phab project or a wiki page) in which script authors can post links to their code and receive assistance in Python 3 porting (usually mostly automatable with 2to3 and pyupgrade). I don't think setting up a new branch for py3-only is a good idea, mostly because I would estimate that it requires *more* manual work on the part of everyone who already made their switch to Python 3 to help avoid breaking changes for the few people who are still on 2.7. TASK DETAIL https://phabricator.wikimedia.org/T213287 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Legoktm Cc: Legoktm, Ricordisamoa, Multichill, zhuyifei1999, Dalba, Eatcha, KTC, Lokal_Profil, Dvorapa, Aklapper, pywikibot-bugs-list, Xqt, Zkhalido, Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400, E.S.A-Sheild, Meekrab2012, joker88john, Viztor, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Af420, Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, Framawiki, WSH1906, Lewizho99, Mdupont, JJMC89, Maathavan, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs