mach - python-test compatibility for python3
Categories
(Firefox Build System :: Mach Core, task, P3)
Tracking
(firefox-esr78 fixed, firefox81 fixed)
People
(Reporter: egao, Assigned: hamzah18051)
References
Details
Attachments
(1 file, 1 obsolete file)
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-esr78+
|
Details | Review |
Enable python3 compatibility for ./mach python-test
.
To complete fully, this task will require multiple sub-tasks to be completed:
- migration of all dependencies to be python3 compatible
- all tests of dependencies run on python3 in addition to python2.7
Once the prerequisites are complete, I envision the following tasks:
- migrate syntax to python3
- enable and pass tests on python3
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 5•5 years ago
•
|
||
Backed out changeset 19269e470c71 (Bug 1594914) for causing bustages.
Backout link: https://hg.mozilla.org/integration/autoland/rev/e50941c3894af1e41e512f9b6f9b241f59f2f87b
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=309024902&repo=autoland&lineNumber=58870
Update - Also seeing these valgrid bustages which look related:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=309046114&repo=autoland&lineNumber=58892
Comment 6•5 years ago
|
||
The failures on the first landing were from running python tests during make check, which we don't do anymore as of bug 1655111, so this can reland.
![]() |
||
Comment 7•5 years ago
|
||
Yes! ...except for some new mozbuild failures, only on py2/osx:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=efc3b4ed78b0ad0c4dd3cfc123da83b5899e1793
I'll have a look today...maybe just disable on py2/osx again?
Comment 9•5 years ago
|
||
bugherder |
Comment 10•5 years ago
|
||
Comment on attachment 9153524 [details]
Bug 1594914 - Convert mach python-test to run with python 3
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Needed to uplift https://phabricator.services.mozilla.com/D88296, otherwise the non-pipenv test runner runs with Python 2, and that fails.
- User impact if declined: None
- Fix Landed on Version: 81
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It's a build-only patch
- String or UUID changes made by this patch:
Comment 11•5 years ago
|
||
Comment on attachment 9153524 [details]
Bug 1594914 - Convert mach python-test to run with python 3
Needed to better support running mach on newer macOS releases. Approved for 78.8esr.
Comment 12•5 years ago
|
||
bugherder uplift |
Description
•