-
Notifications
You must be signed in to change notification settings - Fork 603
Python 3 Conversion
Due to the scheduled end of support for Python 2.7 in 2020 we are starting a project to convert CHIPSEC to run under Python 3.4. To limit the impact of this conversion we are planning to support Python 2.7 and Python 3.4 with the same code. Once the code has been converted to support both Python 2.7 and 3.4 a further discussion of removing python 2.7 support can be started.
The current branch used to stage and validate changes is located here. Any changes related to this work can be submitted to this branch for review.
python3-rc1 - Provides python3 support for Linux and should only be used for experimental/development work
General Python 3.4 cleanup that is compatible with Python 2.7 can be started. This will include general changes like converting to using print() instead of print. These changes should be easy and have limited impact. This can also include using more up to date python modules that are compatible with both versions of Python. These changes should all be safe for the master branch.
Updating more complex code such as how OS helpers are detected and loaded. This will most likely have a major impact to the current code and will require additional validation. These changes may not be merged into the master branch and will live in an integration branch until they are fully validated.
Final validation will happen at this point and then integration into the master branch.