latest S3QL 3.8.1 self test fails

23 views
Skip to first unread message

Ashutosh Vyas

unread,
Mar 16, 2022, 12:21:57 AM3/16/22
to s3ql
Hi,

I am trying to build   s3ql-3.8.1 on CentOS 7.  For me the self tests fails, are there any pointers to follow. 

Regards
Ashutosh

I see following errors :   

============================= 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 ===============================

David Gasaway

unread,
Mar 21, 2022, 12:56:58 AM3/21/22
to s3ql
On Tue, Mar 15, 2022 at 9:21 PM Ashutosh Vyas <ashuto...@gmail.com> wrote:

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


     from contextlib import asynccontextmanager

E   ImportError: cannot import name 'asynccontextmanager'

--
-:-:- David K. Gasaway
-:-:- Email: da...@gasaway.org
Reply all
Reply to author
Forward
Message has been deleted
0 new messages