Project

General

Profile

Actions

Bug #18261

closed

module 'ssl' has no attribute 'SSLCertVerificationError'

Added by Peter Amstutz over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
Story points:
-

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'

Actions #1

Updated by Peter Amstutz over 2 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Peter Amstutz over 2 years ago

  • Category set to SDKs
  • Description updated (diff)
  • Subject changed from ssl to module 'ssl' has no attribute 'SSLCertVerificationError'
Actions #3

Updated by Peter Amstutz over 2 years ago

  • Description updated (diff)
Actions #4

Updated by Ward Vandewege over 2 years ago

  • 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.

Actions #5

Updated by Ward Vandewege over 2 years ago

  • 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.

Actions

Also available in: Atom PDF