[MacPorts] #68068: py37-reportlab @3.6.12: ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)
MacPorts
noreply at macports.org
Mon Aug 28 08:48:15 UTC 2023
#68068: py37-reportlab @3.6.12: ssl.SSLCertVerificationError: [SSL:
CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local
issuer certificate (_ssl.c:1091)
------------------------+--------------------------
Reporter: ryandesign | Owner: stromnov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: py-reportlab
------------------------+--------------------------
https://build.macports.org/builders/ports-
11_arm64-builder/builds/101233/steps/install-port/logs/stdio
{{{
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py",
line 1350, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py",
line 1281, in request
self._send_request(method, url, body, headers, encode_chunked)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py",
line 1327, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py",
line 1276, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py",
line 1036, in _send_output
self.send(msg)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py",
line 976, in send
self.connect()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py",
line 1451, in connect
server_hostname=server_hostname)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py",
line 423, in wrap_socket
session=session
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py",
line 870, in _create
self.do_handshake()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py",
line 1139, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate
verify failed: unable to get local issuer certificate (_ssl.c:1091)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in
<module>
main()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in
main
json_out['return_val'] = hook(**hook_input['kwargs'])
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/pyproject_hooks/_in_process/_in_process.py", line 118, in
get_requires_for_build_wheel
return hook(config_settings)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/setuptools/build_meta.py", line 341, in
get_requires_for_build_wheel
return self._get_build_requires(config_settings,
requirements=['wheel'])
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
self.run_setup()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/setuptools/build_meta.py", line 488, in run_setup
self).run_setup(setup_script=setup_script)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/setuptools/build_meta.py", line 338, in run_setup
exec(code, locals())
File "<string>", line 863, in <module>
File "<string>", line 771, in main
File "<string>", line 257, in __call__
File "<string>", line 437, in ensureResourceStuff
File "<string>", line 413, in url2data
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py",
line 222, in urlopen
return opener.open(url, data, timeout)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py",
line 525, in open
response = self._open(req, data)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py",
line 543, in _open
'_open', req)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py",
line 503, in _call_chain
result = func(*args)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py",
line 1393, in https_open
context=self._context, check_hostname=self._check_hostname)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py",
line 1352, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: unable to get local issuer certificate
(_ssl.c:1091)>
ERROR Backend subprocess exited when trying to invoke
get_requires_for_build_wheel
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68068>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list