html5lib 1.0.1 doesn't work with python 3.10.X - needs upgrade to html5lib 1.1
#1
I'm using script.module.html5lib version 1.0.1+matrix.2 in my addon (plugin.video.ted.talks). I'm trying to get out a fix version but when I tested the addon got the following failure trying to import html5lib:

```
<snipped>
File "/home/foo/.kodi/addons/script.module.html5lib/lib/html5lib/_trie/_base.py", line 3, in <module>
from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
```

It looks like an upgrade to html5lib 1.1 is required to fix this issue, see e.g. https://github.com/tensorflow/tensorboard/issues/5478. Is there someone who can push an upgrade to this package? I don't have the time to get involved in this as well I'm afraid.
Reply
#2
I started a PR: https://github.com/xbmc/repo-scripts/pull/2281
Reply

Logout Mark Read Team Forum Stats Members Help
html5lib 1.0.1 doesn't work with python 3.10.X - needs upgrade to html5lib 1.10