============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-7.0.1, pluggy-1.0.0 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /s3ql-3.8.1/tests, configfile: pytest.ini
plugins: trio-0.7.0
collecting ... collected 205 items / 1 error / 204 selected
==================================== ERRORS ====================================
______________________ ERROR collecting t2_block_cache.py ______________________
ImportError while importing test module '/s3ql-3.8.1/tests/t2_block_cache.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.6/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/t2_block_cache.py:22: in <module>
from s3ql.block_cache import BlockCache, QuitSentinel
src/s3ql/block_cache.py:12: in <module>
from .multi_lock import MultiLock
src/s3ql/multi_lock.py:13: in <module>
from contextlib import asynccontextmanager
E ImportError: cannot import name 'asynccontextmanager'
=========================== short test summary info ============================
ERROR tests/t2_block_cache.py
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 1.24s ===============================
I am trying to build s3ql-3.8.1 on CentOS 7. For me the self tests fails, are there any pointers to follow.
platform linux -- Python 3.6.8, pytest-7.0.1, pluggy-1.0.0 -- /usr/bin/python3
E ImportError: cannot import name 'asynccontextmanager'