Closed Bug 1696526 (ci-py3) Opened 4 years ago Closed 3 years ago

[meta] Run all tasks in CI with Python 3

Categories

(Firefox Build System :: Task Configuration, task)

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ahal, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: meta)

Work to support Python 3 in our test harnesses and build system has largely been completed (with a few stragglers). But most of these still run against Python 2 in CI. We should attempt to switch everything we can over to running with Python 3. Once that happens, we'll be able to drop Python 2 support.

In general this will look like:

  1. Add the python-3: true config to the task definition
  2. Test on try to make sure everything passes (fix things that break)
  3. Once all tasks for a given code module are switched over, add an exclude rule to the py2 linter so we can start using Python 3-only syntax there.
Depends on: 1696529
Depends on: 1696530
Depends on: 1696531
Depends on: 1696536
Depends on: 1696538
Depends on: 1696539
Depends on: 1696540
Depends on: 1696541
Blocks: goodbye-py2
Depends on: 1699932
Depends on: 1712998
Depends on: 1713000
Depends on: 1713001
Depends on: 1713004
Depends on: 1713006
Depends on: 1714406
Depends on: 1717232
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.