From: Donald Stufft Date: Wed, 16 Nov 2016 02:18:40 +0000 (-0500) Subject: Merge - upgrade pip/setuptools X-Git-Tag: v3.6.0b4~74 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=756b45ab6e0d8d88f985cf449298145244bd317b;p=thirdparty%2FPython%2Fcpython.git Merge - upgrade pip/setuptools --- 756b45ab6e0d8d88f985cf449298145244bd317b diff --cc Lib/ensurepip/__init__.py index 7fd81c4ceadb,25c55679a321..9f5d15109a3c --- a/Lib/ensurepip/__init__.py +++ b/Lib/ensurepip/__init__.py @@@ -8,10 -8,23 +8,10 @@@ import tempfil __all__ = ["version", "bootstrap"] - _SETUPTOOLS_VERSION = "28.7.1" + _SETUPTOOLS_VERSION = "28.8.0" - _PIP_VERSION = "9.0.0" + _PIP_VERSION = "9.0.1" -# pip currently requires ssl support, so we try to provide a nicer -# error message when that is missing (http://bugs.python.org/issue19744) -_MISSING_SSL_MESSAGE = ("pip {} requires SSL/TLS".format(_PIP_VERSION)) -try: - import ssl -except ImportError: - ssl = None - def _require_ssl_for_pip(): - raise RuntimeError(_MISSING_SSL_MESSAGE) -else: - def _require_ssl_for_pip(): - pass - _PROJECTS = [ ("setuptools", _SETUPTOOLS_VERSION), ("pip", _PIP_VERSION),