You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/03/23 13:53:12 UTC
[GitHub] [airflow] bryanyang0528 edited a comment on issue #4935:
[AIRFLOW-4113] Unpin boto3
bryanyang0528 edited a comment on issue #4935: [AIRFLOW-4113] Unpin boto3
URL: https://github.com/apache/airflow/pull/4935#issuecomment-475871529
same error here
```
======================================================================
ERROR: test_execute_with_failing_transform_script (tests.operators.test_s3_file_transform_operator.TestS3FileTransformOperator)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "/usr/local/lib/python3.7/site-packages/moto/core/models.py", line 71, in wrapper
result = func(*args, **kwargs)
File "/airflow/tests/operators/test_s3_file_transform_operator.py", line 98, in test_execute_with_failing_transform_script
conn = boto3.client('s3')
File "/usr/local/lib/python3.7/site-packages/boto3/__init__.py", line 91, in client
return _get_default_session().client(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/boto3/session.py", line 263, in client
aws_session_token=aws_session_token, config=config)
File "/usr/local/lib/python3.7/site-packages/botocore/session.py", line 885, in create_client
client_config=config, api_version=api_version)
File "/usr/local/lib/python3.7/site-packages/botocore/client.py", line 70, in create_client
cls = self._create_client_class(service_name, service_model)
File "/usr/local/lib/python3.7/site-packages/botocore/client.py", line 95, in _create_client_class
base_classes=bases)
File "/usr/local/lib/python3.7/site-packages/botocore/hooks.py", line 227, in emit
return self._emit(event_name, kwargs)
File "/usr/local/lib/python3.7/site-packages/botocore/hooks.py", line 360, in _emit
aliased_event_name, kwargs, stop_on_response
File "/usr/local/lib/python3.7/site-packages/botocore/hooks.py", line 210, in _emit
response = handler(**kwargs)
File "/usr/local/lib/python3.7/site-packages/boto3/utils.py", line 61, in _handler
module = import_module(module)
File "/usr/local/lib/python3.7/site-packages/boto3/utils.py", line 52, in import_module
__import__(name)
File "/usr/local/lib/python3.7/site-packages/boto3/s3/inject.py", line 15, in <module>
from boto3.s3.transfer import create_transfer_manager
File "/usr/local/lib/python3.7/site-packages/boto3/s3/transfer.py", line 129, in <module>
from s3transfer.manager import TransferConfig as S3TransferConfig
File "/usr/local/lib/python3.7/site-packages/s3transfer/manager.py", line 21, in <module>
from s3transfer.utils import get_callbacks
File "/usr/local/lib/python3.7/site-packages/s3transfer/utils.py", line 27, in <module>
from botocore.exceptions import ReadTimeoutError
ImportError: cannot import name 'ReadTimeoutError' from 'botocore.exceptions' (/usr/local/lib/python3.7/site-packages/botocore/exceptions.py)
```
environment:
```
>>> import boto3
>>> boto3.__version__
'1.9.120'
>>> import urllib3
>>> urllib3.__version__
'1.24.1'
>>> import botocore
>>> botocore.__version__
'1.10.84'
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services