[Pywikipedia-bugs] [Maniphest] [Commented On] T203471: Drop support for Python 2.7.6 and lower

2020-01-06 Thread Xqt
Xqt added a comment.


  I propose not to have an intermediate release dropping Py2.7.6 or Py2.7.8 
only but to desupport Python 2 as a whole in next few weeks or months after the 
next stable release when the tests passes. See parent task for this.

TASK DETAIL
  https://phabricator.wikimedia.org/T203471

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Ricordisamoa, Framawiki, JeanFred, Xqt, Dalba, pywikibot-bugs-list, 
Aklapper, MarcoAurelio, gerritbot, Multichill, Superzerocool, He7d3r, Dvorapa, 
Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, 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


[Pywikipedia-bugs] [Maniphest] [Edited] T213287: Drop support of python 2.7

2020-01-06 Thread Xqt
Xqt updated the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T213287

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Framawiki, 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, 
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


[Pywikipedia-bugs] [Maniphest] [Edited] T213287: Drop support of python 2.7

2020-01-06 Thread Xqt
Xqt updated the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T213287

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Framawiki, 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, 
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


[Pywikipedia-bugs] [Maniphest] [Commented On] T213287: Drop support of python 2.7

2020-01-06 Thread Xqt
Xqt added a comment.


  Strong agree. I propose to have the next stable release (i.e. after the tests 
passes) beeing the last one that support Python 2. Probably that will be in few 
months. The announcement dropping that release was long enough. I also like the 
idea of the 2to3 support.
  
  Other important steps:
  
  - use semver versioning because our current outinatic increasing version 
number leads to problems with installing pwb.
  - cleanup code and remove old deprecated parts. This might be a breaking 
change but bot owners can be informed with FutureWarning instead of 
DeprecationWarning
  
  But let us do this step dropping py2 first and let Travis and Appveyor pass 
again
  
  See also my comment 
https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/562032/

TASK DETAIL
  https://phabricator.wikimedia.org/T213287

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Framawiki, 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, 
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


[Pywikipedia-bugs] [Maniphest] [Raised Priority] T213287: Drop support of python 2.7

2020-01-06 Thread Xqt
Xqt raised the priority of this task from "Low" to "Medium".

TASK DETAIL
  https://phabricator.wikimedia.org/T213287

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Framawiki, 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, 
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


[Pywikipedia-bugs] [Maniphest] [Commented On] T213287: Drop support of python 2.7

2020-01-06 Thread Legoktm
Legoktm added a comment.


  In T213287#5779730 , 
@Dvorapa wrote:
  
  > But we planned to do it sooner actually.
  
  I'm happy to do it earlier if others are on board :)

TASK DETAIL
  https://phabricator.wikimedia.org/T213287

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Legoktm
Cc: Framawiki, 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, 
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


[Pywikipedia-bugs] [Maniphest] [Commented On] T213287: Drop support of python 2.7

2020-01-06 Thread Framawiki
Framawiki added a comment.


  Agree with @legoktm, looks a good move.

TASK DETAIL
  https://phabricator.wikimedia.org/T213287

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Framawiki
Cc: Framawiki, 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, 
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


[Pywikipedia-bugs] [Maniphest] [Commented On] T213287: Drop support of python 2.7

2020-01-06 Thread Dvorapa
Dvorapa added a comment.


  > 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/
  
  Yeah, this is the option we discussed at WM Hackathon last year I think. But 
we planned to do it sooner actually.

TASK DETAIL
  https://phabricator.wikimedia.org/T213287

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
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


[Pywikipedia-bugs] [Maniphest] [Commented On] T213287: Drop support of python 2.7

2020-01-06 Thread Legoktm
Legoktm added a comment.


  In 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