On 3/6/23 03:38, Odhiambo Washington wrote:
Has MM3 been tested with Python3.11?
Yes, but not with uWSGI which is not part of Mailman per se.
I updated a Debian VM to Python3.11, installed MM3 and migrated the configs. However, I am unable to get past the following error:
...
Traceback (most recent call last): File "/opt/mailman/venv/lib/python3.11/site-packages/mailman_web/wsgi.py", line 10, in <module> from django.core.wsgi import get_wsgi_application File "/opt/mailman/venv/lib/python3.11/site-packages/django/__init__.py", line 1, in <module> from django.utils.version import get_version File "/opt/mailman/venv/lib/python3.11/site-packages/django/utils/version.py", line 1, in <module> import datetime File "/usr/lib/python3.11/datetime.py", line 12, in <module> import math as _math ModuleNotFoundError: No module named 'math' unable to load app 0 (mountpoint='') (callable not found or import error)
This error says /usr/lib/python3.11/datetime.py can't import math. math is part of the python 3.11 standard library <https://docs.python.org/3/library/math.html>. There is something wrong with your Python 3.11 installation.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan