Open mgorny opened 4 years ago
Oh, forgot to mention it happens with py3.7 and py3.8, not py3.6.
[I was the original contributor of the asyncio feature in Logbook - seeing this issue by pure chance.]
This probably happens because gevent
and the builtin contextvars
module (Python 3.7+) aren't compatible.
This explains why the tests succeed in Python 3.6, since the test is skipped in that version.
It's an easy fix IMHO, we just have to consider gevent
(or even use gevent.contextvars
) in concurrency.py.
To repro: