addon-checker workflow fails on import lib2to3
#1
I opened a PR the other day against repo-plugins and found that addon-checker failed with this mesage:

File "/home/runner/.local/lib/python3.13/site-packages/kodi_addon_checker/check_py3_compatibility.py", line 10, in
from lib2to3 import pgen2, refactor # pylint: disable=deprecated-module
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'lib2to3'

It looks like the repo-plugin's workflow is now using python 3.13, but lib2to3 has been removed in this version.
How and where can I report this issue?
Reply
#2
Thread moved to addon development
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#3
I confirmed this and posted something in the team Slack.  I unfortunately can't fix it, but at least now there are two places someone who can fix it might see this.
Reply
#4
I ran into this and it's probably your github action being set up a while ago, as mine was.

I changed mine to this : https://github.com/bossanova808/weather....hecker.yml

And all is good again.

Comes from:
https://github.com/xbmc/action-kodi-addo...mple-usage

Not sure when it changed (vs how I used to have it - https://github.com/bossanova808/weather....hecker.yml) - but if you follow the current docs, it works.  Well, does for me!
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | Caber Toss | Switchback | XSqueezeDisplay | Kodi 2nd Display
Sorry, no help w/out a *full debug log*.
Reply

Logout Mark Read Team Forum Stats Members Help
addon-checker workflow fails on import lib2to30
This forum uses Lukasz Tkacz MyBB addons.