Closed vincentsarago closed 3 years ago
when trying to run the test within tox I get
ImportError while loading conftest '/Users/vincentsarago/Workspace/vincentsarago/aiocogeo/tests/conftest.py'.
tests/conftest.py:9: in <module>
from aiocogeo import config
aiocogeo/__init__.py:1: in <module>
from .cog import COGReader, CompositeReader
aiocogeo/cog.py:16: in <module>
from .filesystems import Filesystem
aiocogeo/filesystems.py:19: in <module>
import aioboto3
.tox/py37/lib/python3.7/site-packages/aioboto3/__init__.py:5: in <module>
from aioboto3.session import Session
.tox/py37/lib/python3.7/site-packages/aioboto3/session.py:9: in <module>
import aiobotocore.session
.tox/py37/lib/python3.7/site-packages/aiobotocore/__init__.py:1: in <module>
from .session import get_session, AioSession
.tox/py37/lib/python3.7/site-packages/aiobotocore/session.py:11: in <module>
from .credentials import create_credential_resolver, AioCredentials
.tox/py37/lib/python3.7/site-packages/aiobotocore/credentials.py:15: in <module>
from botocore.credentials import EnvProvider, Credentials, RefreshableCredentials, \
E ImportError: cannot import name 'SSOProvider' from 'botocore.credentials' (/Users/vincentsarago/Workspace/vincentsarago/aiocogeo/.tox/py37/lib/python3.7/site-packages/botocore/credentials.py)
ERROR: InvocationError for command /Users/vincentsarago/Workspace/vincentsarago/aiocogeo/.tox/py37/bin/python -m pytest --cov aiocogeo --cov-report xml --cov-report term-missing (exited with code 4)
😬
I pulled down your changes, ran tox
and it worked 🎉
You might be able to merge this onto a non-master
branch, and then CI might run?
Finished in #99 !
👋 This pr does:
To be discussed