Swapping out ThreadPoolExecutor with GreenThreadPoolExecutor gets rid of the deadlock. Joshua Harlow suggests [1]: If you have the ability to specify which executor your code is using, and you are running under eventlet I'd give preference to the green thread pool executor under that situation (and if not running under eventlet then prefer the threadpool executor variant).
[1] http://lists.openstack.org/pipermail/openstack- dev/2018-July/132473.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1782647 Title: py3.7 deadlock in threading To manage notifications about this bug go to: https://bugs.launchpad.net/designate/+bug/1782647/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
