On Tue, 12 Dec 2023 at 09:29, Thomas Goirand <zigo@debian.org> wrote:
Hi,

As per this document:
https://docs.python.org/3/whatsnew/3.12.html

 > Removed
 > asynchat and asyncore
 >
 >    These two modules have been removed according to the schedule in
 > PEP 594, having been deprecated in Python 3.6. Use asyncio instead.
 > (Contributed by Nikita Sobolev in gh-96580.)

Therefore, building the taskflow package (and many other packages that
depends on it, like Cinder) fails.

Can someone write a patch to get rid of the use of asyncore? Will using
asincio instead fail because of our use of Eventlet?

There's a pyasyncore module that's effectively the asyncore from py3.11: https://pypi.org/project/pyasyncore/ 

Corey (ubuntu) is packaging it (https://bugs.launchpad.net/ubuntu/+source/python-pyasyncore/+bug/2046160) into Ubuntu, after it was discussed here: https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/VL5QIG4JXOPD3V45MALBMKZFXNNBIWIT/#IJVPHJA4LH243EDRZZNEFT5MBA2ALO7F

Hope this is useful.

Cheers
Alex.

--
Alex Kavanagh
OpenStack Engineering  - Canonical Ltd