Bug #18261
closed
module 'ssl' has no attribute 'SSLCertVerificationError'
Added by Peter Amstutz about 3 years ago.
Updated about 3 years ago.
Description
Got this Python SDK error:
14:38:48 Traceback (most recent call last):
14:38:48 File "/usr/share/python3/dist/python3-arvados-cwl-runner/lib/python3.6/site-packages/arvados/api.py", line 95, in _intercept_http_request
14:38:48 except ssl.SSLCertVerificationError as e:
14:38:48 AttributeError: [req-u46tl5zo0t56fkh70qx7] module 'ssl' has no attribute 'SSLCertVerificationError'
- Status changed from New to In Progress
- Category set to SDKs
- Description updated (diff)
- Subject changed from ssl to module 'ssl' has no attribute 'SSLCertVerificationError'
- Description updated (diff)
- Assigned To set to Ward Vandewege
The issue here is that 'SSLCertVerificationError' was added in Python 3.7. The failing test suite that showed this error was running against Ubuntu 18.04, which ships with Python 3.6.
While the test suite was running, the cluster was redeployed/upgraded. That caused an api/controller restart. That caused an exception (connection error) in the Python SDK, which caused a secondary exception because ssl.SSLCertVerificationError does not exist on Python 3.6.
- Status changed from In Progress to Resolved
We're not going to fix this since Python 3.6 is almost EOL, but the docs do need a small update; our minimum supported Python version is currently 3.6 (cwltool requires it). Pushed in ffdf779049d4f9ce69d77968dc672f6accbc7a7a, also to the 2.2-dev branch.
Also available in: Atom
PDF