Dependency nntplib not found

Hi all,
next problem. I got a proper configuration (so i thought, but when starting, mailman3 exits. The output of journalctl -xeu mailman3.service ends with:
Sep 05 17:33:23 bywater mailman[223227]: File "/opt/mailman/venv/lib/python3.13/site-packages/mailman/commands/cli_ga> Sep 05 17:33:23 bywater mailman[223227]: import nntplib Sep 05 17:33:23 bywater mailman[223227]: ModuleNotFoundError: No module named 'nntplib' Sep 05 17:33:23 bywater systemd[1]: mailman3.service: Control process exited, code=exited, status=1/FAILURE ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ An ExecStart= process belonging to unit mailman3.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 1. Sep 05 17:33:23 bywater systemd[1]: mailman3.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ The unit mailman3.service has entered the 'failed' state with result 'exit-code'. Sep 05 17:33:23 bywater systemd[1]: Failed to start mailman3.service - GNU Mailing List Manager. ░░ Subject: A start job for unit mailman3.service has failed ░░ Defined-By: systemd ░░ Support: http://www.ubuntu.com/support ░░ ░░ A start job for unit mailman3.service has finished with a failure.
I googled and found that module nntplib is no more part of python since python-3.13. How can i fullfill (or avoid?) this dependency?
TIA QNo

On 9/5/25 08:42, qno-mailman--- via Mailman-users wrote:
I googled and found that module nntplib is no more part of python since python-3.13. How can i fullfill (or avoid?) this dependency?
Mailman does not support Python 3.13 until Mailman 3.3.11 (not yet released). I'm not sure if there are other issues with Mailman 3.3.10 and Python 3.13 (I think not), but you can fix the missing nntplib dependency by doing
pip install standard-nntplib
in your venv.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Thank you. I tried nntplib, python-standard-nntplib, python-nntplib und python3-nntplib, but not standard-nntplib. That fixed that error.
Kind regards, QNo
participants (2)
-
Mark Sapiro
-
qno-mailman@qno.de