Closed Bug 1542327 Opened 5 years ago Closed 5 years ago

mac python 3.7.1 lacks ssl support

Categories

(Infrastructure & Operations :: RelOps: Puppet, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1547903

People

(Reporter: gbrown, Assigned: dragrom)

References

(Regression)

Details

+++ This bug was initially created as a clone of Bug #1501497 +++

The python 3.7.1 deployed to osx test hosts in bug 1501497 appears to be lacking ssl support, as noted in bug 1534647.

Code that tries to "import ssl" fails like:

[task 2019-03-12T14:08:41.323Z] 0:40.98 File "/Users/cltbld/tasks/task_1552399473/checkouts/gecko/testing/web-platform/tests/tools/wptserve/wptserve/server.py", line 6, in <module>
[task 2019-03-12T14:08:41.326Z] 0:40.99 import ssl
[task 2019-03-12T14:08:41.326Z] 0:40.99 File "/tools/python37/lib/python3.7/ssl.py", line 98, in <module>
[task 2019-03-12T14:08:41.326Z] 0:40.99 import _ssl # if we can't import it, let the error propagate
[task 2019-03-12T14:08:41.326Z] 0:40.99 ModuleNotFoundError: No module named '_ssl'

:catlee suggested that ssl development libraries may not have been available on the host where python was built: https://bugzilla.mozilla.org/show_bug.cgi?id=1534647#c11

Blocks: 1534578
Blocks: 1552777
Assignee: relops → dcrisan
Status: NEW → ASSIGNED

Created the fix for this bug. I worked under bug https://bugzilla.mozilla.org/show_bug.cgi?id=1547903

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.