John Paul Adrian Glaubitz píše v St 10. 07. 2019 v 13:34 +0000:
[ 9s] Traceback:
[ 9s] tests/model/test_sam_resources.py:8: in <module> [ 9s] from samtranslator.model.sam_resources import SamFunction [ 9s] samtranslator/model/sam_resources.py:5: in <module> [ 9s] import samtranslator.model.eventsources.pull [ 9s] samtranslator/model/eventsources/pull.py:5: in <module> [ 9s] from samtranslator.translator.arn_generator import ArnGenerator [ 9s] samtranslator/translator/arn_generator.py:1: in <module> [ 9s] import boto3 [ 9s] /usr/lib/python2.7/site-packages/boto3/__init__.py:16: in <module> [ 9s] from boto3.session import Session [ 9s] /usr/lib/python2.7/site-packages/boto3/session.py:17: in <module> [ 9s] import botocore.session [ 9s] /usr/lib/python2.7/site-packages/botocore/session.py:30: in <module> [ 9s] import botocore.credentials [ 9s] /usr/lib/python2.7/site-packages/botocore/credentials.py:42: in <module> [ 9s] from botocore.utils import InstanceMetadataFetcher, parse_key_val_file [ 9s] /usr/lib/python2.7/site-packages/botocore/utils.py:31: in <module> [ 9s] import botocore.httpsession [ 9s] /usr/lib/python2.7/site-packages/botocore/httpsession.py:7: in <module> [ 9s] from urllib3.util.ssl_ import ( [ 9s] E ImportError: cannot import name ssl
Looking at this it is a problem of where the darn SSL is. On SLE12 it is still in the main package and as such the python is needed while your build picked just python-base. If you would add BuildRequires: python it should proceed further. This is fixed on future releases but SLE12 can't handle this sadly. Cheers Tom