Xqt added a comment.

  In T213287#5195590 <https://phabricator.wikimedia.org/T213287#5195590>, 
@Dvorapa wrote:
  
  > I like the proposal of archiving Python 2-3 compatible 3.0 master branch 
and fork it to new 4.0 master branch. But I'm concerned if this would not be a 
second nightmare like Core-Compat was
  
  
  I don't see the same nightmare comming. The problem of compat/core developing 
was that core started 2007 but it wasn't ready to use. compat was under active 
development until end of 2016. I would say core was usable from more or less 
2012 onwards. Development changed from compat to core in 2012/2013. These 10 
years was a very long time of parallel support which is really hard and there 
are some remaining issues of incompatibility. But I don't see that this will 
repeated from core to a say pwb 4.0. Anyway we had another kind of parallel 
development as we had the core/master branch for development and 2.0 branch as 
stable release between 2014 and 2017 until we dropped 2.0 because backporting 
code determined as "stable" from master to 2.0 was not maintainable.
  
  Currenly I feel that having Python 2.7 support for a long time prevents or 
slows down further development and progression because we cannot use new 
features. I think future bots will working more with streams instead of 
collecting data. We will have workers for each type of event instead if single 
bots. I think we should be able using suitable tools for that; this might be 
means desupporting 2.7 anytime. I don't think this is in next few months.
  
  But in meantime we can write Python 3 code and force operators to install 
those library parts necessary to use that code instead of installing six on 
Python 3 environments and prevent using new Python 3 features. Make Pathlib or 
enum packages mandatory for Python 2.7 for example. This ensures the code to be 
compatible for a while without slow down develoment too strong. Anyway it is 
hard enough to test each code for both versions.

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

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

To: Xqt
Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Xqt, E.S.A-Sheild, joker88john, 
Viztor, DannyS712, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Baloch007, 
Darkminds3113, Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
Tbscho, MayS, Framawiki, WSH1906, Lewizho99, Mdupont, JJMC89, Maathavan, 
Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to