On Wed, Oct 4, 2023 at 3:45 AM Mark Sapiro <mark@msapiro.net> wrote:
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 mailman3installs 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.0The 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
And I think the 'slightly more complex way' is a better choice as it lets one not get stuck with old software versions :)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]