Python 3 Merged in MAINLINE!!
#1
Gentlemen start your engines.....

Python 3 support is now part of the nightly builds  Cool

Please post below if you have updated your Add-on to support Python 3, I will keep a list in the 2nd post. Happy coding!!
Reply
#2
List of ported Add-ons to Python 3

.....
Embycon - https://github.com/faush01/plugin.video.embycon
Amazon - https://github.com/Sandmann79/xbmc/tree/...deo.amazon
Hbo GO Europehttps://github.com/arvvoid/plugin.video.hbogoeu
Reply
#3
Nice! And perfect timing too. You can count Amazon and Amazon VOD addons in, we prepared ahead of time so it should work already, but I'm going to test with the latest nightlies just to be sure. https://github.com/Sandmann79/xbmc/
Reply
#4
Fantastic, thanks for the hard work to all involved! 

Can anyone confirm the version number to use in addon.xml to use as the python extension point to force Python 3? I'm referring to this:

xml:
<import addon="xbmc.python" version="2.26.0" />
Reply
#5
2.26.0 is used for Leia too.
Reply
#6
Yeah, I was looking for the Matrix equivalent and used Leia as an example.
Reply
#7
It's also 2.26.0.
Reply
#8
It seems I spoke too soon, while the few issues with Python 3 have been ironed out fairly quickly, the supporting libraries are turning to be a nightmare, especially on the side of mechanize/bs4/soupsieve. Gotta figure out why in the world I keep receiving ImportError for installed modules…
Reply
#9
Does anyone know when a matrix branch will be added to the add-on repos for submissions? I don't really know the usual timelines for new releases. I don't want to support both so I've been waiting until I can make a python 3 only add-on.
Reply
#10
There's a migration branch on repo-scripts and repo-plugins.  Is that supposed to be used?

scott s.
.
Reply
#11
nope, we used the migration branch for testing only.
py3 (only) addons can be submitted to the matrix branch.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#12
(2019-10-15, 14:07)Varstahl Wrote: It seems I spoke too soon, while the few issues with Python 3 have been ironed out fairly quickly, the supporting libraries are turning to be a nightmare, especially on the side of mechanize/bs4/soupsieve. Gotta figure out why in the world I keep receiving ImportError for installed modules…

There is indeed a problem with bs4 libraries: https://forum.kodi.tv/showthread.php?tid=347007
Reply
#13
the matrix addon repo has now been set-up. we have BeautifulSoup v4.6.3 in there.
that should fix those issues.

xbmc.python is going to be bumped to 3.0.0 for kodi matrix
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#14
Pretty sure I know the answer to this but for Matrix submissions we only need to be Python 3 compatible right? I've been working on a Python 2/3 port for the Backup addon and it's been a real pain in a few areas. If I'm shooting for Matrix only I could just do Python 3 right?
Reply
#15
yes, any addon that is submitted to the matrix repo only needs py3 support.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
Python 3 Merged in MAINLINE!!0