|
Python 3.11 comes out in a few days and it drops support for @asyncio.coroutine as mentioned here: https://docs.python.org/3/library/asyncio-task.html#asyncio.coroutine
When I try to run scons.py with Python 3.11, I get the following warning:
Failed import while loading options for tool: build_metrics
|
cannot import name 'coroutine' from 'asyncio' (/usr/local/python/lib/site-packages/asyncio/__init__.py)
|
I think this is actually an error in a dependency of build_metrics, memory_profiler:
https://github.com/pythonprofilers/memory_profiler/blob/eed3447369e5b0cd708de045b757e0bac853a83b/memory_profiler.py#L10. We should probably let users know that Python 3.11 isn't supported for running build_metrics until this is fixed.
|