Closed Bug 1638986 Opened 4 years ago Closed 4 years ago

Convert 'mach talos-test' to run with Python 3

Categories

(Testing :: Talos, task, P3)

task

Tracking

(firefox84 fixed)

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: KrisWright, Assigned: gbrown)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

mach talos-test 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/testing/talos/mach_commands.py

FWIW, this is probably one of my top painpoints. homebrew has stopped shipping updated versions of python2, and the system python2 (which is used if you don't brew link python@2 to override python3) can no longer create virtualenvs on recent macOS because of copy permissions, cf. https://stackoverflow.com/questions/46781050/unable-to-setup-virtualenv-with-always-copy-flag-due-to-errno-1 . But linking in python2 in homebrew causes problems with other, python3-requiring, mach commands...

Priority: -- → P3

Hi -- is there a status update on this work?

Flags: needinfo?(gmierz2)

Hi rstewart, there's no update on this work.

Flags: needinfo?(gmierz2)
Assignee: nobody → whole.grains
Pushed by whole.grains@protonmail.com:
https://hg.mozilla.org/integration/autoland/rev/7a7cc42e5ff8
Run 'mach talos-test' with python 3; r=sparky,perftest-reviewers
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: