Page MenuHomePhabricator

Python 2 to 3 support request
Open, MediumPublic


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.

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
MarcoAurelio added subscribers: Melos, Rxy, MarcoAurelio.EditedJan 7 2020, 3:36 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
bd808 added a subscriber: bd808.Jun 9 2020, 5:38 PM

I want to work on this!

Xqt added a comment.Sep 23 2020, 11:54 AM

I want to work on this!

Wait until a subtask is created but you may work on T257399 if you want