Last modified: 2014-11-17 08:12:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60053, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58053 - (pwbpy3) [Tracking] Pywikibot Python 3 compatibility
(pwbpy3)
[Tracking] Pywikibot Python 3 compatibility
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on: 65675 68617 70976 70983 71786 71788 72236 72603 73120 69664 70969 70977 70978
Blocks: pwb20
  Show dependency treegraph
 
Reported: 2013-12-05 21:24 UTC by Merlijn van Deen (test)
Modified: 2014-11-17 08:12 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Merlijn van Deen (test) 2013-12-05 21:24:15 UTC
Make Pywikibot also work under shiny new versions of Python (3.3+, probably).

We are aiming for a multi-compatible codebase (2.6, 2.7 and 3.3, and in the near future 3.4), without a dependency on six. This means we do have some hacks (try-except import blocks, 'if sys.version[0] > 2: unicode = str', etc.
Comment 1 Gerrit Notification Bot 2013-12-05 21:24:57 UTC
Change 99189 had a related patch set uploaded by Merlijn van Deen:
58053 - Use PY3 environment variable for setup.py

https://gerrit.wikimedia.org/r/99189
Comment 2 Gerrit Notification Bot 2013-12-05 21:25:10 UTC
Change 98381 had a related patch set uploaded by Merlijn van Deen:
Fix relative imports in tests/

https://gerrit.wikimedia.org/r/98381
Comment 3 Gerrit Notification Bot 2013-12-05 21:25:14 UTC
Change 98383 had a related patch set uploaded by Merlijn van Deen:
Add Python 3 import for cStringIO

https://gerrit.wikimedia.org/r/98383
Comment 4 Gerrit Notification Bot 2013-12-05 21:25:17 UTC
Change 98385 had a related patch set uploaded by Merlijn van Deen:
py3k-ify pwb.py

https://gerrit.wikimedia.org/r/98385
Comment 5 Gerrit Notification Bot 2013-12-05 21:25:21 UTC
Change 98387 had a related patch set uploaded by Merlijn van Deen:
py3k: Fix various imports

https://gerrit.wikimedia.org/r/98387
Comment 6 Gerrit Notification Bot 2013-12-07 11:31:26 UTC
Change 99189 merged by jenkins-bot:
Bug 58053 - Use PY3 environment variable for setup.py

https://gerrit.wikimedia.org/r/99189
Comment 7 Gerrit Notification Bot 2013-12-07 11:50:53 UTC
Change 98387 merged by jenkins-bot:
Bug 58053 - py3k: Fix various imports

https://gerrit.wikimedia.org/r/98387
Comment 8 Gerrit Notification Bot 2013-12-07 14:10:04 UTC
Change 98383 merged by jenkins-bot:
Bug 58053 - Add Python 3 import for cStringIO

https://gerrit.wikimedia.org/r/98383
Comment 9 Gerrit Notification Bot 2013-12-07 15:44:58 UTC
Change 98385 merged by jenkins-bot:
Bug 58053 - py3k-ify pwb.py, check py version

https://gerrit.wikimedia.org/r/98385
Comment 10 Gerrit Notification Bot 2013-12-07 20:12:22 UTC
Change 100166 had a related patch set uploaded by Merlijn van Deen:
Bug 58053 - exceptions cannot be strings anymore

https://gerrit.wikimedia.org/r/100166
Comment 11 Gerrit Notification Bot 2013-12-07 20:12:29 UTC
Change 100167 had a related patch set uploaded by Merlijn van Deen:
Bug 58053 - next(it) instead of it.next()

https://gerrit.wikimedia.org/r/100167
Comment 12 Gerrit Notification Bot 2013-12-07 20:12:35 UTC
Change 100168 had a related patch set uploaded by Merlijn van Deen:
Bug 58053 - iter{items,values,keys} -> items(),values(),keys()

https://gerrit.wikimedia.org/r/100168
Comment 13 Gerrit Notification Bot 2013-12-07 20:12:43 UTC
Change 100169 had a related patch set uploaded by Merlijn van Deen:
Bug 58053 - catch Exception *as*

https://gerrit.wikimedia.org/r/100169
Comment 14 Gerrit Notification Bot 2013-12-07 20:12:50 UTC
Change 100170 had a related patch set uploaded by Merlijn van Deen:
Bug 58053 - func_name -> __name__

https://gerrit.wikimedia.org/r/100170
Comment 15 Gerrit Notification Bot 2013-12-07 20:12:56 UTC
Change 100171 had a related patch set uploaded by Merlijn van Deen:
Bug 58053 - fix print & octal in generate_user_files

https://gerrit.wikimedia.org/r/100171
Comment 16 Gerrit Notification Bot 2013-12-07 20:26:16 UTC
Change 100166 merged by jenkins-bot:
Bug 58053 - exceptions cannot be strings anymore

https://gerrit.wikimedia.org/r/100166
Comment 17 Gerrit Notification Bot 2013-12-07 20:28:29 UTC
Change 100169 merged by jenkins-bot:
Bug 58053 - catch Exception *as*

https://gerrit.wikimedia.org/r/100169
Comment 18 Gerrit Notification Bot 2013-12-07 20:31:17 UTC
Change 100170 merged by jenkins-bot:
Bug 58053 - func_name -> __name__

https://gerrit.wikimedia.org/r/100170
Comment 19 Gerrit Notification Bot 2013-12-07 20:33:27 UTC
Change 100171 merged by jenkins-bot:
Bug 58053 - fix print & octal in generate_user_files

https://gerrit.wikimedia.org/r/100171
Comment 20 Gerrit Notification Bot 2013-12-07 20:36:19 UTC
Change 100167 merged by jenkins-bot:
Bug 58053 - next(it) instead of it.next()

https://gerrit.wikimedia.org/r/100167
Comment 21 Gerrit Notification Bot 2013-12-07 20:38:35 UTC
Change 100168 merged by jenkins-bot:
Bug 58053 - iter{items,values,keys} -> items(),values(),keys()

https://gerrit.wikimedia.org/r/100168
Comment 22 Andre Klapper 2014-02-17 19:35:33 UTC
Ignoring the MERGED patches, only patch left here is:
https://gerrit.wikimedia.org/r/#/c/98381/
Comment 23 Gerrit Notification Bot 2014-04-21 08:23:46 UTC
Change 98381 merged by jenkins-bot:
Bug 58053 - Fix relative imports in tests/

https://gerrit.wikimedia.org/r/98381
Comment 24 Ricordisamoa 2014-07-24 15:22:34 UTC
No more in-review patches.
Comment 25 John Mark Vandenberg 2014-09-17 10:46:05 UTC
All tests now pass on py3

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links