<div dir="ltr"><div>Hi All,<br></div><div><br></div><div><div><div><div>I'm trying to add Py3 packaging support 
for Ubuntu Rocky and while there are a lot of issues involved with supporting
Py3.7, this is one of the big ones that I could use a hand 
with.<br></div></div><br></div><div>With py3.7, there's a deadlock when eventlet monkeypatch of stdlib thread modules is combined with use of ThreadPoolExecutor. I know this affects at least designate. The same or similar also affects heat (though I've not dug into the code the traceback after canceling tests matches that seen with designate). And it may affect other projects that I haven't touched yet.<br></div><div><br></div><div>How to recreate [1]:<br></div><div>* designate: Add a tox.ini py37 target and run designate.tests.test_workers.<wbr>test_processing.<wbr>TestProcessingExecutor.test_<wbr>execute_multiple_tasks</div><div>* heat: Add a tox.ini py37 target and run tests<br></div><div>* general: Run <a href="https://bugs.python.org/file47709/bpo34173-recreate.py">bpo34173-recreate.py</a> from issue 34173 (see below).</div><div>[1] ubuntu cosmic has py3.7</div><div><br></div><div>In issue 508 (see below) @tomoto asks "Eventlet and asyncio solve same problem. Why would you want concurrent.futures and eventlet in same application?"</div><div><br></div><div>I told @tomoto that I'd seek input to that question from upstream. I know there've been efforts to move away from eventlet but I just don't have the knowledge to  provide a good answer to him.<br></div><div><br></div><div>Here are the bugs/issues I currently have open for this:</div></div><div><a href="https://github.com/eventlet/eventlet/issues/508" target="_blank">https://github.com/eventlet/<wbr>eventlet/issues/508</a><br></div><div><a href="https://bugs.launchpad.net/designate/+bug/1782647" target="_blank">https://bugs.launchpad.net/<wbr>designate/+bug/1782647</a></div><div><a href="https://bugs.python.org/issue34173" target="_blank">https://bugs.python.org/<wbr>issue34173</a></div><div><br></div><div>Any help with this would be greatly appreciated!<br></div><div><br></div><div>Thanks,</div><div>Corey<br></div></div>