datatracker icon indicating copy to clipboard operation
datatracker copied to clipboard

Refactor test_smtpserver.py using aiosmtpd

Open jennifer-richards opened this issue 4 months ago • 0 comments

Describe the issue

For testing / dev environments, an test SMTP server is used to handle messages the Datatracker sends. This uses the smtpd library which was deprecated in Python 3.6 and dropped in Python 3.12. This is blocking #7929.

General instructions for migrating from amtpd to aiosmtpd are here: https://aiosmtpd.aio-libs.org/en/latest/migrating.html

Code of Conduct

jennifer-richards avatar Oct 24 '24 14:10 jennifer-richards