You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python
Python 3.14.0a6 (main, Mar 15 2025, 08:53:03) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.version
'3.14.0a6 (main, Mar 15 2025, 08:53:03) [GCC 11.4.0]'
>>> import aiosmtpd
>>> aiosmtpd.__version__
'1.4.6'
>>> from aiosmtpd import smtp
Traceback (most recent call last):
File "<python-input-5>", line 1, in <module>
from aiosmtpd import controller
File "/venv/py314/lib/python3.14/site-packages/aiosmtpd/controller.py", line 26, in <module>
from aiosmtpd.smtp import SMTP
File "/venv/py314/lib/python3.14/site-packages/aiosmtpd/smtp.py", line 40, in <module>
from aiosmtpd.proxy_protocol import ProxyData, get_proxy
File "/venv/py314/lib/python3.14/site-packages/aiosmtpd/proxy_protocol.py", line 12, in <module>
from typing import Any, ByteString, Dict, Optional, Protocol, Tuple, Union
ImportError: cannot import name 'ByteString' from 'typing' (/usr/lib/python3.14/typing.py)
>>>
The text was updated successfully, but these errors were encountered:
According to document of typing.ByteString, it deprecated since version 3.9, will be removed in version 3.14.
The text was updated successfully, but these errors were encountered: