Skip to content

Add PYTHONPATH also to uwsgi test command

As discussed in https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/NHU6PQC7N2XHRA3IEPXNAOBPOESHPAM4/, when starting uwsgi it is necessary to set environment variable PYTHONPATH=/etc/mailman3, otherwise mailman-web qcluster fails with No module named 'settings' and spams uwsgi-error.log with continuous respawn attempts.

This was added to the systemd service configuration in !82 (merged), but was still missing from the “test run” instructions. This commit adds it there.

I just ran into that issue while trying to install Mailman according to the Virtualenv instructions and can confirm that adding the environment variable fixes it.

Merge request reports