Page MenuHomePhabricator

Python 2 to 3 support request
Open, MediumPublic

Description

Pywikibot is dropping Python 2 support soon. The framework is ready to use with Python 3 including all the scripts inside the scripts folder.

All bot owners are invited to merge to Python 3 too. If you need any help for your own scripts to migrate, ask here for support.

If you need more time for migrating you can still use pywikibot with an older release tag.
The last stable release for Python 2 is marked with tag python2.
See https://gerrit.wikimedia.org/r/#/admin/projects/pywikibot/core,tags

Event Timeline

Xqt created this task.Jan 7 2020, 3:21 PM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptJan 7 2020, 3:21 PM
Xqt triaged this task as Medium priority.Jan 7 2020, 3:21 PM

We (rTSTW tool-stewardbots) use some bots that still depend on Python 2. It looks none of us knows how to code on Python properly to migrate to Python 3. Any help would be appreciated (cc: @Rxy and @Melos). Related: T216018.

Xqt updated the task description. (Show Details)Jan 7 2020, 3:46 PM
Xqt added a comment.Jan 8 2020, 2:35 AM

@MarcoAurelio: I guess this is not related to pwb framework where we prepare dropping Py2 support. Anyway we should help to migrate the steward scripts.

Xqt claimed this task.Jan 8 2020, 3:43 PM
Xqt removed Xqt as the assignee of this task.
Legoktm added a subscriber: Legoktm.
Dvorapa moved this task from Backlog to Tracking tasks on the Pywikibot board.Apr 5 2020, 8:31 PM