isislovecruft / python-gnupg

A modified version of python-gnupg, including security patches, extensive documentation, and extra features.
Other
424 stars 172 forks source link

Ordered Dict requirement for python 2.6 is specified with hash but fails #140

Closed antevens closed 7 years ago

antevens commented 8 years ago

Searching for ordereddict==1.1#a0ed854ee442051b249bfad0f638bbec Reading https://pypi.python.org/simple/ordereddict/ No local packages or download links found for ordereddict==1.1#a0ed854ee442051b249bfad0f638bbec error: Could not find suitable distribution for Requirement.parse('ordereddict==1.1#a0ed854ee442051b249bfad0f638bbec')

Removing the hash from the dependency specification fixes the issue.

Platform is Centos 6.7 x86_64 current with Python 2.6.6, and behind a Squid proxy for both HTTP and HTTPS.

isislovecruft commented 7 years ago

Yikes! The hash should match. Because it doesn't, I'm guessing something suspicious is happening at your Squid proxy (which is a nasty piece of software, by the way, which has historically been used for both censorship and malware delivery).

antevens commented 7 years ago

I think you are missing the point, the upstream package hash does not match the hash you specified ...

Although it seems to do so now

a0ed854ee442051b249bfad0f638bbec

https://pypi.python.org/pypi?:action=show_md5&digest=a0ed854ee442051b249bfad0f638bbec

My mistake.