Xqt added a comment.
In T226507#5285133 <https://phabricator.wikimedia.org/T226507#5285133>, @Dvorapa wrote: > People from the Czech community are using py2 There are probably some peoble using compat and I am fine with Merlijns recommendation not to make this mistake twice to have years of parallel development (compat to core process needed more than 10 years btw.) and the difficulty to enforce people to migrate. > I hate maintaining old crappy py2-py3 compatibility workarounds (not only in Pywikibot). The main problem are some syntax changes which cannot be backported which needs one library for py2 and one for py3 which is unnecessarily difficult to combine if it ever works and it does not work for code which resides in scripts. This hinders further development and maintaining keeping compatible needs a lot of work which could be better invested in new features or bug fixes. > if they are going to use it further - that it will require extra work **from them instead of devs** to keep their code running." +1 > I also want to point out that with setuptools everyone using good old SemVer recommended practice of specifying dependencies like: > > `pywikibot >= 3.0.20180108, <= 4` > > should be also fine without any branch fiddling (why don't Pywikibot use this format for dependency specifications and we are surprised by breakage every time a dependency pushes some breaking release?) You can also use a tag if you are cloning the repository like https://github.com/yuvipanda/paws/pull/33/commits/5658d2f41834ae28c7b9d6e27fc688afbd5c254e or you can use the stable release from https://tools.wmflabs.org/pywikibot/. I think we can provide a final "python2" tag in the same way. TASK DETAIL https://phabricator.wikimedia.org/T226507 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: matej_suchanek, Frettie, Geertivp, Tobias1984, Chicocvenancio, Ladsgroup, Aklapper, pywikibot-bugs-list, zhuyifei1999, hashar, D3r1ck01, Lokal_Profil, Framawiki, valhallasw, Multichill, Mpaa, Dvorapa, Dalba, Xqt, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
