Disabling non HTTPS access to APIs on PyPI
![](https://secure.gravatar.com/avatar/80922d9249325cda6225dc4caaeef98e.jpg?s=120&d=mm&r=g)
This will probably (unfortunately) break some things for some people, which is worrying. But it is the right thing to do and good advice in general.
Did I miss something, but I can't install some package. I use docker and get the following $ cat Dockerfile FROM ubuntu:16.04 RUN apt-get update RUN apt-get install -y python-pip RUN pip install --upgrade pip $ docker run -it --rm pip bash root@a633a43c5df6:/# pip -V pip 9.0.1 from /usr/local/lib/python2.7/dist-packages (python 2.7) root@a633a43c5df6:/# pip install google-appengine Collecting google-appengine Downloading google-appengine-1.5.1.tar.gz (897kB) 100% |################################| 901kB 745kB/s Complete output from command python setup.py egg_info: Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-hd5GWR/google-appengine/setup.py", line 3, in <module> ez_setup.use_setuptools() File "/usr/local/lib/python2.7/dist-packages/ez_setup.py", line 145, in use_setuptools return _do_download(version, download_base, to_dir, download_delay) File "/usr/local/lib/python2.7/dist-packages/ez_setup.py", line 124, in _do_download to_dir, download_delay) File "/usr/local/lib/python2.7/dist-packages/ez_setup.py", line 193, in download_setuptools src = urlopen(url) File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 435, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 548, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 473, in error return self._call_chain(*args) File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) * urllib2.HTTPError: HTTP Error 403: SSL is required* ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-hd5GWR/google-appengine/ Do I need to make some additional upgrades? I just thought that pip is the only one tool that I have to upgrade
participants (1)
-
Alex Domoradov