OS NAME="openSUSE Tumbleweed"
# VERSION="20161025"
zypper se -si python
S | Name | Type | Version | Arch | Repository
--+------------------+---------+---------------+--------+------------------------
i | python-certifi | package | 2016.2.28-1.1 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-certifi | package | 2016.9.26-1.1 | noarch | openSUSE-Tumbleweed-Oss
i | python3 | package | 3.5.1-3.7 | x86_64 | openSUSE-Tumbleweed-Oss
i | python3-requests | package | 2.11.1-1.2 | noarch | openSUSE-Tumbleweed-Oss
i | python-requests | package | 2.11.1-1.1 | noarch | openSUSE-Tumbleweed-Oss
irrelevant rows removed from the table
Problem
If I install with sudo pip3 install --upgrade --force acdcli everything works as expected.
If I install from master branch sudo pip3 install --upgrade --force git+https://github.com/yadayada/acd_cli.git I get following error on acd_cli s:
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 595, in urlopen
chunked=chunked)
File "/usr/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 352, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 831, in _validate_conn
conn.connect()
File "/usr/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 289, in connect
ssl_version=resolved_ssl_version)
File "/usr/lib/python3.5/site-packages/requests/packages/urllib3/util/ssl_.py", line 308, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/lib64/python3.5/ssl.py", line 376, in wrap_socket
_context=self)
File "/usr/lib64/python3.5/ssl.py", line 747, in __init__
self.do_handshake()
File "/usr/lib64/python3.5/ssl.py", line 983, in do_handshake
self._sslobj.do_handshake()
File "/usr/lib64/python3.5/ssl.py", line 628, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/requests/adapters.py", line 421, in send
timeout=timeout
File "/usr/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 621, in urlopen
raise SSLError(e)
requests.packages.urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/acd_cli", line 11, in <module>
load_entry_point('acdcli==0.3.2', 'console_scripts', 'acd_cli')()
File "/usr/bin/acd_cli.py", line 1577, in main
acd_client = client.ACDClient(CACHE_PATH, SETTINGS_PATH)
File "/usr/lib/python3.5/site-packages/acdcli/api/client.py", line 47, in __init__
self._load_endpoints()
File "/usr/lib/python3.5/site-packages/acdcli/api/client.py", line 70, in _load_endpoints
self._endpoint_data = self._get_endpoints()
File "/usr/lib/python3.5/site-packages/acdcli/api/client.py", line 78, in _get_endpoints
r = requests.get(_AMZ_ENDPOINT_REQ_URL, auth=self.handler)
File "/usr/lib/python3.5/site-packages/requests/api.py", line 70, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3.5/site-packages/requests/api.py", line 56, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3.5/site-packages/requests/sessions.py", line 475, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.5/site-packages/requests/sessions.py", line 596, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.5/site-packages/requests/adapters.py", line 495, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
Environment
Problem
If I install with
sudo pip3 install --upgrade --force acdcli
everything works as expected. If I install from master branchsudo pip3 install --upgrade --force git+https://github.com/yadayada/acd_cli.git
I get following error onacd_cli s
: