aio-libs / aiozmq

Asyncio (pep 3156) integration with ZeroMQ
aiozmq.readthedocs.org
BSD 2-Clause "Simplified" License
422 stars 56 forks source link

Support Python 3.10 #172

Closed musicinmybrain closed 2 years ago

musicinmybrain commented 3 years ago

Explicit loop parameters, deprecated since Python 3.8, will be removed throughout the public asyncio APIs in Python 3.10. See also this overview on StackOverflow. This causes widespread test failures in aiozmq with the available pre-release versions of Python 3.10.

I was considering taking over maintaining the python-aiozmq package in Fedora Linux, which was recently “orphaned,” but I can’t keep it in the distribution without a path forward for Python 3.10, and the needed changes seem not-quite-trivial (else I would just offer a quick PR).

Any thoughts? Thanks!

musicinmybrain commented 3 years ago

Now I see that you already mentioned dropping explicit loop parameters in https://github.com/aio-libs/aiozmq/issues/166. Please feel free to close this as a duplicate if you like.

JelleZijlstra commented 3 years ago

Yes, I need to get back to working on this, thanks for the reminder!

Any PRs implementing some of this would be appreciated.

weaming commented 2 years ago

works on branch master!

JelleZijlstra commented 2 years ago

Fixed in the latest release: https://pypi.org/project/aiozmq/1.0.0/