Kodi Community Forum

Full Version: Does Kodi 19.3 UWP ships with builtin Python older then 3.8.2?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello guys, I'm on Kodi 19.3 UWP on Win10. We are having issues in getting Kodi Connect (Alexa/GoogleAssistant) addon to work and the cause il likely to be this one:
https://stackoverflow.com/questions/6035...on-3-8-wit

So my question is: which exact Python version is bundled inside the UWP/Xbox edition of Kodi? Can I make it use the default system-wide Python3.10 interpreter instead?
Would it be possible to upgrade  the bundled Python to 3.8.2 at least?

Here is the full discussion about Kodi Connect issue: https://github.com/kodi-connect/kodi-con.../issues/35

Thanks for the attention,
LuKe
(2022-01-02, 01:53)LuKePicci Wrote: [ -> ]which exact Python version is bundled inside the UWP/Xbox edition of Kodi?

Hmmm, looking at the code, I guess its 3.8.5 https://github.com/xbmc/xbmc/blob/Matrix...0-x64.list  Line 37
 
(2022-01-02, 01:53)LuKePicci Wrote: [ -> ]Would it be possible to upgrade  the bundled Python to 3.8.2 at least?

Seems to already be higher than that, and no, we wouldn't bump the python version in minor releases - 19.1, 19.2, 19.3 etc. Only for major releases 19.x, 20.x etc.
Ok, not sure why the bug is still there in 3.8.5 as the changelog states it's fixed in 3.8.2, but the workaround in that stack overflow topic is actually solving the issue. I'll tell the dev to go for the workaround then.

I'd strongly advice upgrading to 3.9 or even 3.10 on next major.
Just in case, could it be that my old kodi 18 app package has been updated during years up to 19.3 while python has somehow been left on older ver?

Is there any way into Kodi to check the python version at runtime?