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.
--
Mark Sapiro <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
_______________________________________________
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/OK423NM2W7VGZN6AMHHRQE4SQYRGSWGJ/
This message sent to [email protected]