Am Donnerstag, 13. Oktober 2022, 19:09:20 CEST schrieb Mark Sapiro:
On 10/13/22 03:49, Eggert Ehmke wrote:
pip install --upgrade git+https://gitlab.com/mailman/hyperkitty@master
I noticed that mistune-2.0.0rc1 was upgraded to mistune-2.0.4.
All packages were upgraded fine. I applied the patch to venv/lib/python3.9/site-packages/hyperkitty/lib/renderer.py
It shouldn't have been necessary to apply any patch. The head of the GitLab hyperkitty master branch is already compatible with mistune 2.0.4
strange, I still had the line with the (not working) from mistune.scanner import escape_html, escape_url
maybe because the migration step was not working at that time?
I'm guessing at some point you installed something which required you to manually make this migration and that produced this conflict. Do you have both 0017_alter_emailtemplate_language.py and 0017_auto_20220628_1132 in your postorius/migrations/ directory? If so, probably just removing 0017_auto_20220628_1132 will fix this?
That's what I did in the meantime, and it works now! Thank you.