Important Attn: Addon Devs - Python 3 compatible addons
#1
Exclamation 
Sadly, sometimes things do not work out as planned...

We have been asking addon developers to make sure their addon is python 3 compatible and allowed those addons in any repo branch (gotham/helix/isengard/etc..).
One thing we hadn't figured out yet was, how can Kodi 19 Matrix identify whether an addons is python 3 compatible or not.
This is important, as in Kodi Matrix we need to disable all previously install python 2 addons and only list python 3 addons in the addon manager.

Since we can not find a better solution we would like to ask all addon developers to:
  1. bump the xbmc.python dependency to 3.0.0 in your addon.xml file
  2. bump the addon version in your addon.xml file
  3. re-submit your addon the the Matrix branch in our addon repo


We are sorry and apologize for any/all inconvenience this will cause you.
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
#2
Does that means moving forward that we'll have to maintain two branches of our addons if we want to submit changes for Kodi 18 and earlier and also submit twice (once to Matrix and once to another pre-Matrix branch)?  If that's true, is there a suggested best practice on order of submission?  I'd hate for someone to have to review the same code twice when all I'm doing is submitting the same addon with a different addon.xml file.
Providing a debug log: Log_file/Easy (wiki)
Leia Estuary mod: 333143 (thread)
Artist Slideshow: Add-on:Artist_Slideshow (wiki)
SpeedFan Information Display: Add-on:SpeedFan_Information_Display (wiki)
Reply
#3
I propose adding <py3>compliant</py3> tags to the addon.xml...
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Twitter | Help?
Reply
#4
I've updated some addons to PY3 that appear to have no active devs.  I would like to have to have a release path to add  PY3 addons with same addon id to the matrix branch as I don't care to try to make a 2/3 compatible version.  IIUC right now there can only be one addon ver in the repo?

scott s.
.
maintainer of skin  Aeon MQ5 mods for post-Gotham Kodi releases:
Matrix
Leia see: 304472
Reply
#5
(2020-02-15, 19:02)pkscout Wrote: Does that means moving forward that we'll have to maintain two branches of our addons if we want to submit changes for Kodi 18 and earlier and also submit twice (once to Matrix and once to another pre-Matrix branch)?

that is correct.

(2020-02-15, 19:02)pkscout Wrote: If that's true, is there a suggested best practice on order of submission?  I'd hate for someone to have to review the same code twice when all I'm doing is submitting the same addon with a different addon.xml file.

 whatever suits you best, really. if you submit both versions at the same time, i'm sure our addon maintainers are smart enough to figure out there's no need to review them both.
or just leave them a message in the pull request ;-)
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
#6
(2020-02-15, 19:44)Lunatixz Wrote: I propose adding <py3>compliant</py3> tags to the addon.xml...

you must have been living under a rock? ;-p
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
#7
(2020-02-16, 03:37)scott967 Wrote: I've updated some addons to PY3 that appear to have no active devs.  I would like to have to have a release path to add  PY3 addons with same addon id to the matrix branch as I don't care to try to make a 2/3 compatible version.  IIUC right now there can only be one addon ver in the repo?

scott s.
.

just submit those py3 versions to the matrix branch, that'll make sure anyone running kodi 19 will get those.
people using leia or below will get the previous py2 version that's currently in the repo.
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
#8
Sorry, just one more question (probably).  Does the Matrix version number always need to be bumped higher than the version in other repos, or can I bump the version number once, submit to both repos, and then keep the version numbers the same?  I'm just trying to figure out the best strategy for version numbering to keep everything somewhat tidy.
Providing a debug log: Log_file/Easy (wiki)
Leia Estuary mod: 333143 (thread)
Artist Slideshow: Add-on:Artist_Slideshow (wiki)
SpeedFan Information Display: Add-on:SpeedFan_Information_Display (wiki)
Reply
#9
the version number needs to be higher for people to receive the py3 version when they upgrade to matrix.
previously installed addons will only be updated if there's a higher version available in the repo.
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
#10
(2020-02-16, 04:12)ronie Wrote:
(2020-02-16, 03:37)scott967 Wrote: I've updated some addons to PY3 that appear to have no active devs.  I would like to have to have a release path to add  PY3 addons with same addon id to the matrix branch as I don't care to try to make a 2/3 compatible version.  IIUC right now there can only be one addon ver in the repo?

scott s.
.

just submit those py3 versions to the matrix branch, that'll make sure anyone running kodi 19 will get those.
people using leia or below will get the previous py2 version that's currently in the repo. 
Thanks.  That could really help.  There are a number of addons that have not been updated in a long time, and just do what they are meant to do.   Being able to get Py3 versions with identical functionality into the matrix repo would allow skins to continue to support the addons without having Yet Another Skin Helper (YASH).  My current examples are service.skin.widgets and script.extended.info (and underlying script.module.kodi65) both of which I have running fine in Matrix (comparing to their py2 versions).

A side benefit may be to make it easier to move to the new settings.xml format and language files/folders names.

scott s.
.
maintainer of skin  Aeon MQ5 mods for post-Gotham Kodi releases:
Matrix
Leia see: 304472
Reply
#11
just scan the xml file for the python dependency so that it matches python 3.x, a simple bash script could make that possible that unpacks the zip file checks the xml and if it matches it else discards it
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Attn: Addon Devs - Python 3 compatible addons00