[issue19744] test_venv fails if SSL/TLS is not available

Nick Coghlan report at bugs.python.org
Sat Dec 21 16:31:02 CET 2013


Nick Coghlan added the comment:

OK, since pip 1.5 will still have the SSL/TLS dependency, the approach I'll go with for 3.4 is to:

1. Have ensurepip refuse to bootstrap pip if the ssl module is not available (noting that we'll remove that restriction if pip 1.6 avoids the strict dependency)
2. Use import_fresh_module to check that behaviour
3. Ensure venv skips trying to bootstrap pip if the ssl module is not available (although the subprocess invocation in the venv tests could make that tricky to test when the ssl module actually *is* available)

----------
assignee:  -> ncoghlan

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19744>
_______________________________________


More information about the Python-bugs-list mailing list