Closed EvanCarroll closed 1 year ago
I think it means that some dependency is not supporting python 3.10. I've successfully tested Askbot with Python 3.7-3.9.
Looks like html5lib v 0.999999 is trying to import Mapping directly from collections when it should be using collections.abc now. It's been deprecated for a while and was finally removed in 3.10.
Looking at the code for html5lib 1.1 it seems to have been fixed, so just upgrading html4lib should fix this particular problem. Whether it then works is a whole other question!
I've tried upgrading html5lib
, turns out its API has changed and as a result askbot.utils.html.sanitize_html
will need to be rewritten. I'll try bleach
instead.
When I run
askbot-setup
on master, I getYou can see the screen here,
If I set
ASKBOT_SELF_TEST = False
in settings.py, I getI believe the source of the problem is Django 2.x does not support Python 3.10. You can see their support matrix here:
https://docs.djangoproject.com/en/4.0/faq/install/