Skip to content

Module smtpd marked deprecated in Python 3.10 #12

Description

@redtoad

Apparently the SMTP module used in pytest_loclaserver/smtp.py will be deprecated in Python version 3.10.

.tox/py310/lib/python3.10/site-packages/pytest_localserver/smtp.py:12
  /home/runner/work/pytest-localserver/pytest-localserver/.tox/py310/lib/python3.10/site-packages/pytest_localserver/smtp.py:12: DeprecationWarning: The smtpd module is deprecated and unmaintained.  Please see aiosmtpd (https://aiosmtpd.readthedocs.io/) for the recommended replacement.
    import smtpd

https://github.com/redtoad/pytest-localserver/runs/4191982788?check_suite_focus=true#step:5:218

Suggested replacement:
https://aiosmtpd.readthedocs.io/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions