{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/3287","labels_url":"https://api.github.com/repos/pypa/pip/issues/3287/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/3287/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/3287/events","html_url":"https://github.com/pypa/pip/pull/3287","id":120421330,"number":3287,"title":"Alias imports for vendored requests deps","user":{"login":"sigmavirus24","id":240830,"avatar_url":"https://avatars.githubusercontent.com/u/240830?v=3","gravatar_id":"","url":"https://api.github.com/users/sigmavirus24","html_url":"https://github.com/sigmavirus24","followers_url":"https://api.github.com/users/sigmavirus24/followers","following_url":"https://api.github.com/users/sigmavirus24/following{/other_user}","gists_url":"https://api.github.com/users/sigmavirus24/gists{/gist_id}","starred_url":"https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigmavirus24/subscriptions","organizations_url":"https://api.github.com/users/sigmavirus24/orgs","repos_url":"https://api.github.com/users/sigmavirus24/repos","events_url":"https://api.github.com/users/sigmavirus24/events{/privacy}","received_events_url":"https://api.github.com/users/sigmavirus24/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-04T15:17:03Z","updated_at":"2015-12-04T23:34:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pypa/pip/pulls/3287","html_url":"https://github.com/pypa/pip/pull/3287","diff_url":"https://github.com/pypa/pip/pull/3287.diff","patch_url":"https://github.com/pypa/pip/pull/3287.patch"},"body":"Some distributions unvendor pip while leaving other packages vendored.\r\nIn the case of this bug, pip's dependencies were unvendored while\r\nrequests did not have its dependencies unvendored. This caused a\r\nproblem where urllib3 was receiving a\r\npip._vendor.requests.packages.urllib3.Retry instance but expecting a\r\nrequests.packages.urllib3.Retry instance. Since they aren't the same,\r\nurllib3 assumed it was an integer and we received a TypeError as\r\ndescribed in the bug report.\r\n\r\nCreating aliases for urllib3 and it's submodules should fix this\r\n(similar to how we specify six, six.moves, six.moves.urllib, packaging,\r\npackaging.version, and packaging.specifiers)\r\n\r\nCloses #3282\r\n\r\n---\r\n\r\nI'm not sure the easiest way to test this currently, any suggestions?\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/pypa/pip/3287)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/162110300","html_url":"https://github.com/pypa/pip/pull/3287#issuecomment-162110300","issue_url":"https://api.github.com/repos/pypa/pip/issues/3287","id":162110300,"user":{"login":"sigmavirus24","id":240830,"avatar_url":"https://avatars.githubusercontent.com/u/240830?v=3","gravatar_id":"","url":"https://api.github.com/users/sigmavirus24","html_url":"https://github.com/sigmavirus24","followers_url":"https://api.github.com/users/sigmavirus24/followers","following_url":"https://api.github.com/users/sigmavirus24/following{/other_user}","gists_url":"https://api.github.com/users/sigmavirus24/gists{/gist_id}","starred_url":"https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigmavirus24/subscriptions","organizations_url":"https://api.github.com/users/sigmavirus24/orgs","repos_url":"https://api.github.com/users/sigmavirus24/repos","events_url":"https://api.github.com/users/sigmavirus24/events{/privacy}","received_events_url":"https://api.github.com/users/sigmavirus24/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T23:34:38Z","updated_at":"2015-12-04T23:34:38Z","body":"@JohannesBuchner when you get a chance can you try out the latest version of the commit?"}}