{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/3144","labels_url":"https://api.github.com/repos/pypa/pip/issues/3144/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/3144/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/3144/events","html_url":"https://github.com/pypa/pip/issues/3144","id":108566198,"number":3144,"title":"Installation from extra-index-url (eg Gemfury) fails if package has requirements on Gemfury","user":{"login":"therefromhere","id":197540,"avatar_url":"https://avatars.githubusercontent.com/u/197540?v=3","gravatar_id":"","url":"https://api.github.com/users/therefromhere","html_url":"https://github.com/therefromhere","followers_url":"https://api.github.com/users/therefromhere/followers","following_url":"https://api.github.com/users/therefromhere/following{/other_user}","gists_url":"https://api.github.com/users/therefromhere/gists{/gist_id}","starred_url":"https://api.github.com/users/therefromhere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therefromhere/subscriptions","organizations_url":"https://api.github.com/users/therefromhere/orgs","repos_url":"https://api.github.com/users/therefromhere/repos","events_url":"https://api.github.com/users/therefromhere/events{/privacy}","received_events_url":"https://api.github.com/users/therefromhere/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-27T23:02:37Z","updated_at":"2016-01-02T03:45:07Z","closed_at":null,"body":"I've got various private packages hosted on Gemfury, some of these have dependencies on other packages in the same private Gemfury index.\r\n\r\nSince pip 7 I've found that I'm unable to install any of the packages that have Gemfury dependencies.\r\n\r\nI first reported this as a comment on #2849 , which was closed due to [PEP470](http://legacy.python.org/dev/peps/pep-0470/).  I'm not clear PEP470 means that my use case is now no longer supported by pip?\r\n\r\nIf it is supported, as per #2849, I think the bug is that some data is incorrectly being cached between requests."},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/168361569","html_url":"https://github.com/pypa/pip/issues/3144#issuecomment-168361569","issue_url":"https://api.github.com/repos/pypa/pip/issues/3144","id":168361569,"user":{"login":"therefromhere","id":197540,"avatar_url":"https://avatars.githubusercontent.com/u/197540?v=3","gravatar_id":"","url":"https://api.github.com/users/therefromhere","html_url":"https://github.com/therefromhere","followers_url":"https://api.github.com/users/therefromhere/followers","following_url":"https://api.github.com/users/therefromhere/following{/other_user}","gists_url":"https://api.github.com/users/therefromhere/gists{/gist_id}","starred_url":"https://api.github.com/users/therefromhere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therefromhere/subscriptions","organizations_url":"https://api.github.com/users/therefromhere/orgs","repos_url":"https://api.github.com/users/therefromhere/repos","events_url":"https://api.github.com/users/therefromhere/events{/privacy}","received_events_url":"https://api.github.com/users/therefromhere/received_events","type":"User","site_admin":false},"created_at":"2016-01-02T03:45:07Z","updated_at":"2016-01-02T03:45:07Z","body":"I think the issue is caused by pip's http cache being corrupted somehow (possibly by pip 6.1.1), I found that clearing the cache (`rm -rf ~/.cache/pip/http`) at least temporarily fixes it for me, so install using pip 7 works, but after various pip operations (including some with pip 6), it failed again.\r\n\r\nSo I think the bug is, that in some circumstances, either pip 6.1.1 or pip 7.1.2 (or both) cache gzip'd HTTP from gemfury incorrectly (causing the gzipped data to be returned from the cache instead of the unzipped content)."}}