Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-RfCs.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **Proposal**
  I propose to drop support for Python 3.5.0 - 3.5.2 with Pywikibot 7.0 
(deployed probably in September 2021). A more important step would be dropping 
3.5 completely due to further advantages (path-like objects, f-strings, 
variable type hints, async generators and comprehensions)[1] and pywikibot gui 
cannot be used with Python 3.5 due to T278743. Also a lot of packages does not 
support Python 3.5 with their current release.[2] Anyway Toolforge provides 
merely 3.5.3.
  
  Please add your remarks, expand pros and cons and maybe draw attention to it 
when you find a blocker.
  
  **Pros**
  
  - The end of life cycle of Python 3.5 has been reached since 30th September 
2020 [3]
  - Our documenation recommondates Python 3.6 or higher [4]
  - Python 3.5.0-3.5.2 does not solve a lot of recursive imports well [5] which 
Python 3.5.3+ does; see T286844 <https://phabricator.wikimedia.org/T286844>. 
With T286403 <https://phabricator.wikimedia.org/T286403> such imports are 
intensively used.
  - Python < 3.5.2 does not provide DefaultDict for type annotations [6]
  - Python < 3.5.2 needs additional work for backward compatibility with async 
iterators (not yet used within Pywikibot but possibly in future) [7]
  - Python 3.5 updates cannot be used with older versions [8]
  - Fixes and Improvements aren't provided with older Pythons [9]
  - Older Python versions are still supported with Pywikibot releases marked 
with a tag [10][11]
  - L10N updates can be done by maintenance scripts for older Python versions
  - Pywikibot 3.5.0 - 3.5.2 aren't used very often (~ 1%), see T242157 
<https://phabricator.wikimedia.org/T242157> and T266984 
<https://phabricator.wikimedia.org/T266984>
  
  **Cons**
  
  - Pywikibot is not updated for older Python versions
  - Bugfixes are not available for older Pywikibot versions
  
  **Refs**
  [0] https://docs.python.org/3.6/whatsnew/3.6.html
  [2]
  [3] https://devguide.python.org/devcycle/#end-of-life-branches
  [4] https://doc.wikimedia.org/pywikibot/stable/index.html
  [5] 
https://ci.appveyor.com/project/Ladsgroup/pywikibot-g4xqx/builds/40034703/job/vtsbfsuih2a3h1xo
  [6] 
https://codesearch.wmcloud.org/pywikibot/?q=%5C(3%2C%205&i=nope&files=&excludeFiles=&repos=
  [7] https://docs.python.org/3.5/reference/datamodel.html#async-iterators
  [8] https://docs.python.org/3.5/whatsnew/3.5.html#asyncio
  [9] 
https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-3-release-candidate-1
  [10] https://pypi.org/project/pywikibot/#history
  [11] https://gerrit.wikimedia.org/r/admin/repos/pywikibot/core,tags

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

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

To: Xqt
Cc: Aklapper, pywikibot-bugs-list, DannyS712, Rubin16, Dalba, Dvorapa, Mpaa, 
valhallasw, Multichill, JJMC89, atagar, Xqt, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, Altostratus, 
Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org

Reply via email to