Skip to content

Refactor test_smtpserver.py using aiosmtpd #8077

@jennifer-richards

Description

@jennifer-richards

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions