On 10/26/22 12:32, Odhiambo Washington wrote:
On Wed, Oct 26, 2022 at 8:44 AM Abhilash Raj <maxking@asynchronous.in <mailto:maxking@asynchronous.in>> wrote:
Hi, I am pleased to announce several new releases for GNU Mailman project. 1. Mailman Core 3.3.6 [1] 2. Postorius 1.3.7 [2] 3. Hyperkitty 1.3.6 [3] 4. Mailmanclient 3.3.4 [4] 5. Django-mailman3 1.3.8 [5] All the releases are published to PyPI and you can find links to all the PyPI projects: https://docs.mailman3.org/en/latest/ <https://docs.mailman3.org/en/latest/> A full list of changelogs are available below: [1]: https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/NEWS.html#news-3-3-6 <https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/NEWS.html#news-3-3-6> [2]: https://docs.mailman3.org/projects/postorius/en/latest/news.html#section-2 <https://docs.mailman3.org/projects/postorius/en/latest/news.html#section-2> -- Something weird is going on with the page missing the bullets. [3]: https://docs.mailman3.org/projects/hyperkitty/en/latest/news.html#news-1-3-6 <https://docs.mailman3.org/projects/hyperkitty/en/latest/news.html#news-1-3-6> [4]: https://docs.mailman3.org/projects/mailmanclient/en/latest/src/mailmanclient/docs/NEWS.html#news-3-3-4 <https://docs.mailman3.org/projects/mailmanclient/en/latest/src/mailmanclient/docs/NEWS.html#news-3-3-4> [5]: https://gitlab.com/mailman/django-mailman3/-/blob/master/README.rst <https://gitlab.com/mailman/django-mailman3/-/blob/master/README.rst> Finally, the minimum Python version required is 3.7 although, 3.9 is recommended if you are doing a new install for longest support. 3.10 is supported for Django apps, but Mailman Core is missing that due to one of the core dependencies not support 3.10 yet (aiosmtpd).
Hello @Abhilash Raj <mailto:maxking@asynchronous.in>
Thank you and the whole MM3 team for all the free work you do to make us have mailing lists :)
I have a question regarding the Python version. I have a very recent installation of MM3, via the Virtual Environment method, running smoothly - so far. The Python version that got installed is 3.10.6
wash@lists:~$ sudo su - mailman (venv) mailman@lists:~$ which python /opt/mailman/mm/venv/bin/python (venv) mailman@lists:~$ /opt/mailman/mm/venv/bin/python -V Python 3.10.6 (venv) mailman@lists:~$ mailma mailmail3 mailman (venv) mailman@lists:~$ mailman --version GNU Mailman 3.3.5 (Tom Sawyer) (venv) mailman@lists:~$
- What does the incompatibility with Python-3.10 portend for my setup and anyone else with Python-3.10?
The bug in aiosmtpd is a bit weird and has to do with how the test cases in aiosmtpd and Python 3.10 changes interact with SSL. For the intents and purposes of Mailman, we don't use SSL for the communication between MTA and aiosmtpd, so there _shouldn't_ be any issuer with your setup.
Ideally, pip
shouldn't have allowed you to install aiosmtpd in a
Python venv with 3.10, but that depends on which version of pip you are
using since the newer versions have better support for such management.
- Is it possible to downgrade the Python in a Venv down to 3.9 without breaking the installation?
You can keep the current installation running and create a 2nd
installation by simply creating a 2nd venv with 3.9. Something like,
/opt/mailman/mm/venv-3.9/
. You can install things into that venv and
when you are done and ready to switch, you can update all the paths in
various places to use update 'venv-3.9' instead of 'venv'.
In case you encounter any issues, you can always revert back to older 'venv' in the paths wherever the are needed and bring back the old install. Venvs are good for multiple installs so you can switch back and forth pretty easily.
And finally, is there documentation/procedure to upgrade a VENV install in this case?
You don't want to upgrade venv is what i've heard, you should always create a new one if you are bumping python versions.
If you are just upgrading packages in the existing venv, then you can follow:
https://docs.mailman3.org/en/latest/upgrade-3.2.html
-- thanks, Abhilash Raj (maxking)