aiosmtpd
aiosmtpd copied to clipboard
smtpd may be removed from the Python 3.11 standard library
FYI I plan to remove the smtpd module from the Python 3.11 standard library. In my change, I suggest to replace smtpd with aiosmtpd ;-)
- https://bugs.python.org/issue28533
- https://mail.python.org/archives/list/[email protected]/thread/LZOOLX5EKOITW55TW7JQYKLXJUPCAJB4/
@vstinner Luckily removal was not approved as aiosmtpd is not yet ported even to Python 3.10.
In current situation removal of smtpd
would remove important functionality from Python without any replacement.
The removal will likely happen in Python 3.12.
So SMTP server functionality is planned to be removed from Python without any replacement?
I guess we should start getting aiosmtpd working well under more modern Python 😅
So SMTP server functionality is planned to be removed from Python without any replacement?
One replacement is aiosmtpd, but there are other SMTP servers implemented in Python or not ;-)
I guess we should start getting aiosmtpd working well under more modern Python 😅
@waynew This would be nice. Some distributions will switch soon to Python 3.10 and we will lost SMTP server functionality.
Anyway, there is still a lot of work to be done before replacing smtpd.
There is no single commit in aiosmtpd repo for more than last 14 months. Chances that compatibility will be checked (and fixed) before Python 3.11 release are quite low.
There is no single commit in aiosmtpd repo for more than last 14 months. Chances that compatibility will be checked (and fixed) before Python 3.11 release are quite low.
Just for an update:
PR #309 and PR #314 enables testing to run successfully on 3.10 and 3.11 after some fixing of GitHub CI in PR #324
The results of latest tests by GitHub CI are all green as can be seen here, here, and here.
I think those are enough to verify compatibility with Python 3.11.
Besides, Python 3.11 is released anyways, so I think I'll close this issue because it's no longer relevant.
(Still relevant if we're talking about taking out smtpd in Python 3.12, but let's start a new Issue)