myint / yolk

Command-line tool for querying PyPI and Python packages installed on your system (with Python 3 support)
https://pypi.python.org/pypi/yolk3k
BSD 3-Clause "New" or "Revised" License
66 stars 12 forks source link

Fails with 403 error on any command that queries PyPI #8

Closed elirnm closed 8 years ago

elirnm commented 8 years ago

Yolk is failing with "HTTP Error 403: Must access using HTTPS instead of HTTP" when it runs with any command which queries PyPI. This started just in the last few days.

schwehr commented 8 years ago

This is likely a support lib being out of date, but the error message is less than helpful.

Old yolk 0.8.7:

yolk -U
HTTP Error 403: Must access using HTTPS instead of HTTP

After updating yolk in fink:

yolk -U
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)>

fink list yolk3k
Information about 9766 packages read in 1 seconds.
     yolk3k-py34      0.9-1        Query PyPI and Python packages installed
 i   yolk3k-py35      0.9-1        Query PyPI and Python packages installed

fink list -i python35 ssl | grep py
 i  backports.ssl-match-hostname-py27   3.5.0.1-1   Backport of py34's ssl.match_hostname()
 i  pyopenssl-py27  16.0.0-1    Python wrapper module around OpenSSL
 i  python35    3.5.1-2 Interpreted, object-oriented language
 i  python35-shlibs 3.5.1-2 Interpreted, object-oriented language