[meta] Add Python 3 support to marionette driver
Categories
(Remote Protocol :: Marionette, task, P3)
Tracking
(Not tracked)
People
(Reporter: markjballard, Unassigned)
References
Details
(Keywords: meta)
Attachments
(1 obsolete file)
Comment 1•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Comment 2•6 years ago
|
||
I just checked the mozbase dependencies for bug 1093212 and as I can see all the packages as required by Marionette now have Python 3 support. That means we are no longer blocked on actually updating Marionette client to make it at least work with Python 3.
I talked to Rishi over IRC and he mentioned interest working on this bug.
Comment 3•6 years ago
|
||
Please note that the requirements file for the Marionette client package might still refer to older releases of some mozbase packages. So please make sure to update the versions to the latest releases of the specific packages. As best do it in a separate commit.
Updated•6 years ago
|
Comment 4•6 years ago
|
||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
After locally taking the changes from 1595814 i tried running marionette test. There were no errors from harness or driver but from testing/mozbase/manifest. Error was in accessing dictionary items which works differently in python3. As i checked in mozilla-unified/testing/mozbase/manifestparser/setup.py. This is a python2 based library.
What should be done in this scenario as manifestparser is a mozbase package. Should i log a separate bug or enhancement on this as a dependency ?
Comment 6•6 years ago
|
||
Indeed manifestparser is still Python2 only. See bug 1428705 which handles the upgrade to Python3. But is that actually used when you reference a single .py test file? If that is not the case it shouldn't be a hard blocker for the harness. Also the driver doesn't depend on it at all.
Updated•6 years ago
|
Comment 7•6 years ago
|
||
This is actually a meta bug now which cannot be assigned to someone. Lets get any work done in dependent bugs.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 8•4 years ago
|
||
Nothing more left to do for this meta. I'm going and close it out now. Thanks to everyone who has contributed to make it happen!
Updated•3 years ago
|
Description
•