On 10/14/22 13:59, Martin Lorenz wrote:
OK
thanks for the advice.
I started installing following the path ...
the first error I hit is:
```
...
File "/opt/mailman/venv/lib/python3.9/site-packages/hyperkitty/lib/renderer.py",
line 6, in <module>
from mistune.plugins.extra import plugin_url
ModuleNotFoundError: No module named 'mistune.plugins.extra'
Sorry, that's https://gitlab.com/mailman/hyperkitty/-/issues/437
It is also not clear if you will also encounter
https://gitlab.com/mailman/hyperkitty/-/issues/431
If your HyperKitty is version 1.3.5 installed from PyPI, the simplest
solution is to downgrade mistune to 2.0.0rc1 in your venv
```
pip install mistune==2.0.0rc1
```
Alternatively you can downgrade to mistune<3.0
```
pip install mistune<3.0
```
But then you also need to ensure that line 7 in
/opt/mailman/venv/lib/python3.9/site-packages/hyperkitty/lib/renderer.py is
```
from mistune.util import escape_html, escape_url
```
and not
```
from mistune.scanner import escape_html, escape_url
```
--
Mark Sapiro <m...@msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/