mintel / pytest-localstack

Pytest plugin for local AWS integration tests
MIT License
78 stars 17 forks source link

Bug with botocore <1.6.0 #11

Closed suprzer0 closed 6 years ago

suprzer0 commented 6 years ago

I'm getting a TypeError exception from botocore when its running checks on the services. I'm running botocore 1.5.95

Traceback (most recent call last): File "/usr/src/app/tests/conftest.py", line 24, in running_localstack_session with session: # Start localstack if needed. File "/pytest-localstack/pytest_localstack/session.py", line 132, in enter self.start(timeout=start_timeout) File "/pytest-localstack/pytest_localstack/session.py", line 77, in start self._check_services(timeout) File "/pytest-localstack/pytest_localstack/session.py", line 108, in _check_services service_checks.SERVICE_CHECKSservice_name File "/pytest-localstack/pytest_localstack/service_checks.py", line 62, in _wrapped s3={'addressing_style': 'path'}, File "/usr/local/lib/python3.6/site-packages/botocore/config.py", line 107, in init args, kwargs) File "/usr/local/lib/python3.6/site-packages/botocore/config.py", line 132, in _record_user_provided_options 'Got unexpected keyword argument \'%s\'' % key) TypeError: Got unexpected keyword argument 'retries'

The retries kwarg to botocore.core.Config was added in 1.6.0