Add-on Checker Docker broken?
#1
I made a very minor change to my Addon (OzWeather) - and my github action to run the addon checker is now spitting out errors about 'ImportError: cannot import name 'runtime_checkable' from 'typing' (/usr/local/lib/python3.7/typing.py)'.

The commit in question (https://github.com/bossanova808/weather....9b9c36cc38) is tiny and am pretty sure it's not the cause.

Code:

Run xbmc/[email protected]
/usr/bin/docker run --name f8037da3c6b8f98f4cbb9fac0e1a7447c8a2_0b15d2 --label 35f803 --workdir /github/workspace --rm -e "INPUT_KODI-VERSION" -e "INPUT_IS-PR" -e "INPUT_ADDON-ID" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/weather.ozweather/weather.ozweather":"/github/workspace" 35f803:7da3c6b8f98f4cbb9fac0e1a7447c8a2 "matrix" "weather.ozweather" "false"
Traceback (most recent call last):
File "/usr/local/bin/kodi-addon-checker", line 5, in <module>
from kodi_addon_checker.__main__ import main
File "/usr/local/lib/python3.7/site-packages/kodi_addon_checker/__main__.py", line 14, in <module>
from kodi_addon_checker import __version__, check_addon, ValidKodiVersions
File "/usr/local/lib/python3.7/site-packages/kodi_addon_checker/check_addon.py", line 13, in <module>
from . import (check_allowed_versions, check_artwork, check_dependencies,
File "/usr/local/lib/python3.7/site-packages/kodi_addon_checker/schema_validation.py", line 13, in <module>
import xmlschema
File "/usr/local/lib/python3.7/site-packages/xmlschema/__init__.py", line 18, in <module>
from .xpath import ElementPathMixin
File "/usr/local/lib/python3.7/site-packages/xmlschema/xpath.py", line 14, in <module>
from typing import cast, overload, Any, Dict, Iterator, List, Optional, \
ImportError: cannot import name 'runtime_checkable' from 'typing' (/usr/local/lib/python3.7/typing.py)

Am I doing anything wrong here, or is the addon checker broken currently?
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#2
I have updates to the latest addon-checker.yaml as I could find in other repos, and that is working

...but where is one supposed to find out about update to the Kodi github workflows??
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply

Logout Mark Read Team Forum Stats Members Help
Add-on Checker Docker broken?0