[issue19744] ensurepip should refuse to install pip if SSL/TLS is not available

2013-12-03 Thread Nick Coghlan
Nick Coghlan added the comment: Relevant pip issue: https://github.com/pypa/pip/issues/1165 -- nosy: +larry priority: high -> release blocker ___ Python tracker ___ _

[issue19744] ensurepip should refuse to install pip if SSL/TLS is not available

2013-11-25 Thread Nick Coghlan
Nick Coghlan added the comment: If the ssl import is actually in a submodule, you may need to list additional subpackages in the "fresh" parameter. If you're wondering why this isn't in the importlib API - it's because it can go wrong in an impressively large number of ways, and we don't have

[issue19744] ensurepip should refuse to install pip if SSL/TLS is not available

2013-11-25 Thread Nick Coghlan
Nick Coghlan added the comment: That I can help with. Steal the "import_fresh_module helper function from test.support (or the gist of it anyway - you can likely leave out the stuff about deprecated imports): http://hg.python.org/cpython/file/default/Lib/test/support/__init__.py#l192 Then do

[issue19744] ensurepip should refuse to install pip if SSL/TLS is not available

2013-11-25 Thread Donald Stufft
Donald Stufft added the comment: It probably can. I just need to figure out how to test it to make sure the PR that supposedly fixes it fixes it, and then figure out how to ensure it still works into the future. -- ___ Python tracker

[issue19744] ensurepip should refuse to install pip if SSL/TLS is not available

2013-11-25 Thread Bill Winslow
Bill Winslow added the comment: I've stumbled upon what appears to be a related issue, but I'm not sure it deserves its own bug report. I compiled 3.4 on my LMDE (so essentially Debian testing) system, and aside from not building tkinter, various compression modules, etc., all went well. I ra

[issue19744] ensurepip should refuse to install pip if SSL/TLS is not available

2013-11-25 Thread Nick Coghlan
Nick Coghlan added the comment: Is that likely to be in 1.5 or 1.5.1? Not needing to special case this in ensurepip would be nice :) -- ___ Python tracker ___ ___

[issue19744] ensurepip should refuse to install pip if SSL/TLS is not available

2013-11-24 Thread Donald Stufft
Donald Stufft added the comment: There's a ticket in pip to make pip work even when ssl isn't available. You wouldn't be able to install from PyPI but you would be able to install from local archives. -- nosy: +dstufft ___ Python tracker

[issue19744] ensurepip should refuse to install pip if SSL/TLS is not available

2013-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: Also noting that the reason for the dummy ssl in the venv would be to provoke the "SSL/TLS not available" behaviour when running the tests in a Python that actually has those pieces (since the buildbots will have them available unless something goes wrong with t

[issue19744] ensurepip should refuse to install pip if SSL/TLS is not available

2013-11-23 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue19744] ensurepip should refuse to install pip if SSL/TLS is not available

2013-11-23 Thread Nick Coghlan
Nick Coghlan added the comment: Temporarily skipped the test to appease the build bots for the beta release, but this should be changed so that ensurepip refuses to bootstrap pip if SSL/TLS support is not available. test_venv would then be updated to check for the appropriate behaviour (e.g. b