[meta] Unsupport Python 2 in mozilla-central
Categories
(Firefox Build System :: General, task, P3)
Tracking
(Not tracked)
People
(Reporter: ahal, Unassigned)
References
(Depends on 2 open bugs, Blocks 1 open bug)
Details
(Keywords: meta)
We're almost there!
A few tasks under this bug:
- Delete the py2/py3 linters
- Remove "py2commands" logic from mach driver
- Remove logic for a Python 2 virtualenv
- Remove uses of
six
and delete the vendored copy of it (this one will likely take a long time, but no rush).
Probably missing a few.
Reporter | ||
Comment 1•4 years ago
|
||
Some of this work (like the mach stuff) can proceed before we finish the ci-py3
metabug as it only impacts things locally.
Comment 2•4 years ago
|
||
Bravo :)
It might be an interesting experience to share in a blog post :)
Reporter | ||
Comment 3•4 years ago
•
|
||
Yes, I'll definitely publish a retrospective blog post when this is all done.
Reporter | ||
Comment 4•4 years ago
|
||
Let's make this a meta bug.. I think there will be a long tail of "Remove uses of six from X" bugs to be filed.
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Comment 5•4 years ago
|
||
Callek found https://github.com/asottile/pyupgrade which can automatically remove six
compatibility code as well as __future__
imports. It might be worth standing this up as a mozlint linter, but even if not, it'll likely be handy for folks to use manually as part of this bug.
Comment 6•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Mach Core' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Reporter | ||
Updated•3 years ago
|
Description
•