On Fri, Mar 6, 2026 at 10:25 AM Thomas Krichel <[email protected]> wrote:
>
> This issue is still there for me. I am starting a new installation from
> scratch, with the venv method in 3.13.
>
> (venv) root@darni ~ # mailman-web migrate
> System check identified some issues:
>
> WARNINGS:
> ?: settings.ACCOUNT_AUTHENTICATION_METHOD is deprecated, use:
> settings.ACCOUNT_LOGIN_METHODS = {'email', 'username'}
> ?: settings.ACCOUNT_EMAIL_REQUIRED is deprecated, use:
> settings.ACCOUNT_SIGNUP_FIELDS = ['email*', 'username*', 'password1*',
> 'password2*']
> Operations to perform:
> Apply all migrations: account, admin, auth, contenttypes,
> django_mailman3, django_q, hyperkitty, postorius, sessions, sites,
> socialaccount
> Running migrations:
> No migrations to apply.
>
> I have
>
> root@darni /etc/mailman3 # head -15 /etc/mailman3/settings.py
> # Mailman Web configuration file.
> # /etc/mailman3/settings.py
>
> # Get the default settings.
> from mailman_web.settings.base import *
> from mailman_web.settings.mailman import *
>
> # Settings below supplement or override the defaults.
> # see
> https://lists.mailman3.org/archives/list/[email protected]/thread/U.
> ..
> del ACCOUNT_AUTHENTICATION_METHOD
> ACCOUNT_LOGIN_METHODS = {'email', 'username'}
> del ACCOUNT_EMAIL_REQUIRED
> ACCOUNT_SIGNUP_FIELDS = ['email*', 'username*', 'password1*', 'password2*']
>
>
> Which is what I believe Wikinaut suggested works for her/him. But the
> warning is
> still there.
>
> I added Marks suggestions to add verbiage in the actual codebase
>
> root@darni /etc/mailman3 # tail -17
> /usr/local/mailman/venv/lib/python3.13/site-packages/mailman_web/settings/mailman.py
> ### added by ToK
>
> #: Django Allauth
> #ACCOUNT_AUTHENTICATION_METHOD = "username_email"
> #ACCOUNT_EMAIL_REQUIRED = True
> #ACCOUNT_EMAIL_VERIFICATION = "mandatory"
> #ACCOUNT_UNIQUE_EMAIL = True
>
> ACCOUNT_LOGIN_METHODS = {'email', 'username'}
> ACCOUNT_SIGNUP_FIELDS = ['username*', 'email*', 'password1*',
> 'password2*']
> ACCOUNT_EMAIL_VERIFICATION = "mandatory"
> ACCOUNT_UNIQUE_EMAIL = True
> ACCOUNT_EMAIL_UNKNOWN_ACCOUNTS = False
>
> del ACCOUNT_EMAIL_REQUIRED
> ACCOUNT_SIGNUP_FIELDS = ['username*', 'email*', 'password1*', 'password2*']
>
> Restarted
>
> root@darni /etc/mailman3 # systemctl restart mailman3 ; systemctl restart
> mailmanweb
>
> Same old.
>
> (venv) root@darni ~ # mailman-web migrate
> System check identified some issues:
>
> WARNINGS:
> ?: settings.ACCOUNT_AUTHENTICATION_METHOD is deprecated, use:
> settings.ACCOUNT_LOGIN_METHODS = {'email', 'username'}
> ?: settings.ACCOUNT_EMAIL_REQUIRED is deprecated, use:
> settings.ACCOUNT_SIGNUP_FIELDS = ['email*', 'username*', 'password1*',
> 'password2*']
> Operations to perform:
> Apply all migrations: account, admin, auth, contenttypes,
> django_mailman3, django_q, hyperkitty, postorius, sessions, sites,
> socialaccount
> Running migrations:
> No migrations to apply.
>
> Maybe I missunderstood something.
>
Something was said about MM3 and Python-3.13. I just don't remember it
well, but there were some incompatibility issues.
Perhaps it's better you do an alt-install of Python-3.12 and use that env
until the issues are addressed?
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]
_______________________________________________
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/WVAPUFOWV5GZRBZWQXZR3GJFAENWVTVL/
This message sent to [email protected]