I just noticed this because depencencychecker complains about a missing dependency on asyncore.
On Python 3.11, when I import asyncore I get:
DeprecationWarning:
The asyncore module is deprecated and will be removed in Python 3.12.
The recommended replacement is asyncio
See also the Python docs.
I don't know if we can simply search-and-replace, or need to do more. But ZServer itself is not supported anymore. Our zserver.rst tests only get run if import ZServer succeeds, which it does not.
So we should probably deprecate/remove it.
I just noticed this because
depencencycheckercomplains about a missing dependency onasyncore.On Python 3.11, when I
import asyncoreI get:See also the Python docs.
I don't know if we can simply search-and-replace, or need to do more. But ZServer itself is not supported anymore. Our
zserver.rsttests only get run ifimport ZServersucceeds, which it does not.So we should probably deprecate/remove it.