Has MM3 been tested with Python3.11? I updated a Debian VM to Python3.11, installed MM3 and migrated the configs. However, I am unable to get past the following error:
root@debian:/home/wash# less /opt/mailman/web/logs/uwsgi-error.log worker 2 buried after 1 seconds goodbye to uWSGI. *** Starting uWSGI 2.0.21 (64bit) on [Mon Mar 6 14:27:20 2023] *** compiled with version: 10.2.1 20210110 on 21 February 2023 07:16:19 os: Linux-6.1.0-5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1 (2023-02-15) nodename: debian machine: x86_64 clock source: unix detected number of CPU cores: 16 current working directory: / writing pidfile to /opt/mailman/mm/var/uwsgi.pid detected binary path: /opt/mailman/venv/bin/uwsgi !!! no internal routing support, rebuild with pcre support !!! your processes number limit is 31427 your memory page size is 4096 bytes detected max file descriptor number: 1024 lock engine: pthread robust mutexes thunder lock: disabled (you can enable it with --thunder-lock) uwsgi socket 0 bound to TCP address 0.0.0.0:8000 fd 8 uwsgi socket 1 bound to UNIX address /opt/mailman/mm/var/uwsgi.sock fd 9 Python version: 3.11.2 (main, Feb 21 2023, 02:03:40) [GCC 10.2.1 20210110] PEP 405 virtualenv detected: /opt/mailman/venv/ Set PythonHome to /opt/mailman/venv/ Python main interpreter initialized at 0x560130dd7df8 python threads support enabled your server socket listen backlog is limited to 100 connections your mercy for graceful operations on workers is 60 seconds mapped 250128 bytes (244 KB) for 4 cores *** Operational MODE: preforking+threaded *** 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) *** no app loaded. going in full dynamic mode *** *** uWSGI is running in multiple interpreter mode *** spawned uWSGI master process (pid: 117115) spawned uWSGI worker 1 (pid: 117118, cores: 2) spawned uWSGI worker 2 (pid: 117119, cores: 2) [uwsgi-daemons] spawning "/opt/mailman/venv/bin/mailman-web qcluster" (uid: 1001 gid: 1001) 11:27:20 [Q] INFO Q Cluster vegan-arizona-massachusetts-texas starting. 11:27:20 [Q] INFO Process-1:1 ready for work at 117129 11:27:20 [Q] INFO Process-1:2 ready for work at 117130 11:27:20 [Q] INFO Process-1:3 ready for work at 117131 11:27:20 [Q] INFO Process-1:4 ready for work at 117132 11:27:20 [Q] INFO Process-1:5 ready for work at 117133 11:27:20 [Q] INFO Process-1:6 ready for work at 117134 11:27:20 [Q] INFO Process-1:7 ready for work at 117135 11:27:20 [Q] INFO Process-1:8 ready for work at 117136 11:27:20 [Q] INFO Process-1:9 ready for work at 117137 11:27:20 [Q] INFO Process-1:10 ready for work at 117138 11:27:20 [Q] INFO Process-1:11 ready for work at 117139 11:27:20 [Q] INFO Process-1:12 ready for work at 117140 11:27:20 [Q] INFO Process-1:13 ready for work at 117141 11:27:20 [Q] INFO Process-1:14 ready for work at 117142 11:27:20 [Q] INFO Process-1:15 ready for work at 117143 11:27:20 [Q] INFO Process-1:16 ready for work at 117144 11:27:20 [Q] INFO Process-1:17 monitoring at 117145 11:27:20 [Q] INFO Process-1 guarding cluster vegan-arizona-massachusetts-texas 11:27:20 [Q] INFO Process-1:18 pushing tasks at 117146 11:27:20 [Q] INFO Q Cluster vegan-arizona-massachusetts-texas running. --- no python application found, check your startup logs for errors --- --- no python application found, check your startup logs for errors ---
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)