Migration to Python 3

From Official Kodi Wiki
Revision as of 20:44, 2 August 2024 by Fourpointsix (talk | contribs) (Updated to reflect sunsetting of Python 2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.