On 10/3/23 06:00, Kyriakos Terzopoulos wrote:
However, I cannot find the mailman/setup.py anywhere in order to patch it, since the installation was done through pip from here: https://docs.mailman3.org/en/latest/install/virtualenv.html#virtualenv-insta...
Maybe I can try upgrading python from 3.10 to 3.11 and re-install
Upgrading Python won't help. There is currently an incompatibility issue
when following
https://docs.mailman3.org/en/latest/install/virtualenv.html because that
doc is based on the head of the GitLab branch, but pip install mailman3
installs the 3.3.8 released version of core and the latest
6.1.0 version of importlib_resources and these are incompatible.
There are two ways to fix this.
The easy way is to downgrade importlib_resources in your venv with
pip install importlib_resources\<6.0
The slightly more complex way is to upgrade mailman core to 3.3.9b1 from GitLab with
pip install -U git+https://gitlab.com/mailman/mailman.git
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan