Firefox/Python 3 Migration: Difference between revisions

Add a rough plan
(→‎How to Port the Code: Initial porting guide)
(Add a rough plan)
Line 4: Line 4:


Python 2 will reach it's End Of Life on January 1st 2020.  This page collects links and resources to assist the migration of the Firefox ecosystem off of Python 2 and onto Python 3.
Python 2 will reach it's End Of Life on January 1st 2020.  This page collects links and resources to assist the migration of the Firefox ecosystem off of Python 2 and onto Python 3.
== How We Get There ==
As of today (May 2019) we require both the Python 2 and Python 3 interpreters to be installed to build and develop Firefox.
Next we:
* Build interpreter switching mechanisms into the toolchain so we can run sub-components in just 2 or just 3. (mach sub-commands, py_action)
* Make Python 3 porting and development safe by adding a Python 3 option to the developer toolchain. (mach lint, parts of the test suite)
* Port Python 2-only components to Python 3 piecemeal.
* Remove Python 2 compatibility. (When that might happen needs discussion :)


== Getting Involved ==
== Getting Involved ==
75

edits