Hi Mark,
thank you for your answer. I did both updates, and haven't seen the warning since.
KR QNo
Am 05.11.2025 um 01:40 schrieb Mark Sapiro:
On 11/4/25 11:47, Christian H. Kuhn via Mailman-users wrote:
Hi all,
i followed https://docs.mailman3.org/en/latest/install/virtualenv.html and ran in different problems. Here's the first.
All mailman-web runjobs report:
System check identified some issues:
WARNINGS: ?: settings.ACCOUNT_AUTHENTICATION_METHOD is deprecated, use: settings.ACCOUNT_LOGIN_METHODS = {'username', 'email'} ?: settings.ACCOUNT_EMAIL_REQUIRED is deprecated, use: settings.ACCOUNT_SIGNUP_FIELDS = ['email*', 'username*', 'password1*', 'password2*']
This is https://gitlab.com/mailman/mailman-web/-/issues/37 fixed for the next release. There are two ways to fix this. You can upgrade mailman- web in your venv by activating the venv and doing
pip install --upgrade git+https://gitlab.com/mailman/mailman-web
Or you can add the following to your settings.py after the imports from mailman_web.settings.base and mailman_web.settings.mailman
del ACCOUNT_EMAIL_REQUIRED del ACCOUNT_AUTHENTICATION_METHOD ACCOUNT_SIGNUP_FIELDS = ['username*', 'email*', 'password1*', 'password2*'] ACCOUNT_LOGIN_METHODS = {'email', 'username'}(venv) mailman@bywater:~/mm/var/data$ pip install --upgrade mailman==3.3.10 Collecting mailman==3.3.10 ... INFO: pip is looking at multiple versions of mailman to determine which version is compatible with other requirements. This could take a while. ERROR: Could not find a version that satisfies the requirement nntplib; python_version >= "3.13" (from mailman) (from versions: none) ERROR: No matching distribution found for nntplib; python_version >= "3.13"
standard-nntplib 3.13.0 is installed.
This is an issue with Mailman 3.3.10 and Python >= 3.13 fixed by https://gitlab.com/mailman/mailman/-/merge_requests/1348
Here again if you want to upgrade Mailman core you can do
pip install --upgrade git+https://gitlab.com/mailman/mailman
to get the latest from gitlab.