Migration to Python 3: Difference between revisions
Jump to navigation
Jump to search
Created page with "After a successful GOSC 2017 project that brought Python 3 (3.6 exactly) to Kodi it was decided that starting one of the next releases (19 M* preliminarily)Kodi will include a..." |
Fourpointsix (talk | contribs) Updated to reflect sunsetting of Python 2 |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
After a successful | After a successful GSOC 2017 project that brought Python 3 (3.6 exactly) to Kodi it was decided that Kodi 19.x Matrix would switch to Python 3 as an environment for running Python addons. Enough time has now passed that the last Python 2 release, Leia, has aged out of support. Therefore, all addon contributions must be Python 3-compatible. | ||
Since Python 3 is not backward compatible with 2.x versions, developers of older addons must convert their addons to be Python 3-compatible so that their addons will continue to run on current and future Kodi versions. This page contains information that should help addon developers in this conversion process. | |||
* [[General information about migration to Python 3]] | * [[General information about migration to Python 3]] | ||
* [https://forum.kodi.tv/forumdisplay.php?fid=281 Python 3 migration section on the Kodi forum] | * [https://forum.kodi.tv/forumdisplay.php?fid=281 Python 3 migration section on the Kodi forum] | ||
* [https://kodi.tv/article/the-sun-sets-on-python-2/ The Sun Sets on Python 2] | |||
[[Category:Development]] | |||
Latest revision as of 20:44, 2 August 2024
After a successful GSOC 2017 project that brought Python 3 (3.6 exactly) to Kodi it was decided that Kodi 19.x Matrix would switch to Python 3 as an environment for running Python addons. Enough time has now passed that the last Python 2 release, Leia, has aged out of support. Therefore, all addon contributions must be Python 3-compatible.
Since Python 3 is not backward compatible with 2.x versions, developers of older addons must convert their addons to be Python 3-compatible so that their addons will continue to run on current and future Kodi versions. This page contains information that should help addon developers in this conversion process.