Closed Bug 1638976 Opened 5 years ago Closed 5 years ago

Convert 'mach power' to run with Python 3

Categories

(Core :: General, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: KrisWright, Assigned: n.nethercote)

References

Details

Attachments

(1 file)

mach power still runs with python 2 [1]. We want to convert all mach commands to python 3.

To do this, any dependencies of the command may need to be converted as well as the command itself.

[1] https://searchfox.org/mozilla-central/rev/9193635dca8cfdcb68f114306194ffc860456044/tools/power/mach_commands.py

I guess technically njn owns this, I'm not sure how much effort we want to put in to keep it going.

Flags: needinfo?(n.nethercote)
Priority: -- → P3

When I run it with python3 I get "TypeError: cannot use a string pattern on a bytes-like object".

Flags: needinfo?(n.nethercote)
Assignee: nobody → n.nethercote
Status: NEW → ASSIGNED
Pushed by nnethercote@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9ca07f6e0135 Convert 'mach power' to run with Python 3. r=glandium
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: