Am Tuesday, 28 July 2026, 10:40:51 Central European Summer Time schrieb
Andreas Vetter:
> Hi,
> after a recent update of the prerequisites using:
> pip install -U --upgrade-strategy eager mailman postorius django-mailman3
> hyperkitty mailman-web
>
> I get warnings from the cronjobs:
>
> /opt/mailman/venv/lib64/python3.11/site-packages/readme_renderer/
> markdown.py:44: FutureWarning: Use `header_id_prefix` instead
>   gfm_extension_options.header_ids = _HEADER_ID_PREFIX
>
> What would be the best way to silence the warnings? Google does not find the
> warning message yet.
>
> Cheers,
>  Andreas

Quick fix is to change line 44 in /opt/mailman/venv/lib64/python3.11/site-
packages/readme_renderer/markdown.py from
    gfm_extension_options.header_ids = _HEADER_ID_PREFIX
to
    gfm_extension_options.header_id_prefix = _HEADER_ID_PREFIX

Greetings,
 Andreas
_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/[email protected]/message/HDFWX3IZ6KQMXSVYYDKHTMRODPRDK64W/

This message sent to [email protected]

Reply via email to