Bug 55037

Summary: Add support to Python 3 for webkit-patch
Product: WebKit Reporter: Benjamin Poulain <benjamin>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Enhancement CC: antognolli+webkit, benjamin, eric, rakuco, robert
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Benjamin Poulain
Reported 2011-02-23 04:36:59 PST
Python 3 is the default for some Linux distribution. It would be nice to support it for webkit-tools. Python 2.5 is the minimum version we must support: https://lists.webkit.org/pipermail/webkit-dev/2011-February/016032.html
Attachments
Patch (26.48 KB, patch)
2011-02-24 12:08 PST, Benjamin Poulain
no flags
Benjamin Poulain
Comment 1 2011-02-24 11:51:52 PST
Unfortunately, we rely on third party that do not support Python 3 yet (mechanize for example). So that will have to wait a bit.
Benjamin Poulain
Comment 2 2011-02-24 12:08:05 PST
Benjamin Poulain
Comment 3 2011-02-24 12:11:40 PST
Comment on attachment 83693 [details] Patch This patch does not make any feature available with Python 3. I am blocked by the lib "mechanize" which is not compatible. I put the patch here so the work is not lost.
Eric Seidel (no email)
Comment 4 2011-11-05 16:26:00 PDT
*** Bug 71170 has been marked as a duplicate of this bug. ***
Eric Seidel (no email)
Comment 5 2011-11-05 16:28:09 PDT
We just upgraded our copy of Mechanize. Perhaps its python 3 compatible now? bug 71594.
Eric Seidel (no email)
Comment 6 2011-11-07 13:13:14 PST
*** Bug 71723 has been marked as a duplicate of this bug. ***
Benjamin Poulain
Comment 7 2011-11-22 23:21:52 PST
(In reply to comment #5) > We just upgraded our copy of Mechanize. Perhaps its python 3 compatible now? bug 71594. I had a quick look at Mechanize, and it does not look like it supports Python 3. We should probably port it ourself if many people use Python 3. I fall back on Python 2 for webkit-patch.
Note You need to log in before you can comment on or make changes to this bug.