{"action":"opened","number":4764,"pull_request":{"url":"https://api.github.com/repos/pypa/pip/pulls/4764","id":144663344,"html_url":"https://github.com/pypa/pip/pull/4764","diff_url":"https://github.com/pypa/pip/pull/4764.diff","patch_url":"https://github.com/pypa/pip/pull/4764.patch","issue_url":"https://api.github.com/repos/pypa/pip/issues/4764","number":4764,"state":"open","locked":false,"title":"Do wheel installs from VCS/directories using ephemeral caching","user":{"login":"pradyunsg","id":3275593,"avatar_url":"https://avatars1.githubusercontent.com/u/3275593?v=4","gravatar_id":"","url":"https://api.github.com/users/pradyunsg","html_url":"https://github.com/pradyunsg","followers_url":"https://api.github.com/users/pradyunsg/followers","following_url":"https://api.github.com/users/pradyunsg/following{/other_user}","gists_url":"https://api.github.com/users/pradyunsg/gists{/gist_id}","starred_url":"https://api.github.com/users/pradyunsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradyunsg/subscriptions","organizations_url":"https://api.github.com/users/pradyunsg/orgs","repos_url":"https://api.github.com/users/pradyunsg/repos","events_url":"https://api.github.com/users/pradyunsg/events{/privacy}","received_events_url":"https://api.github.com/users/pradyunsg/received_events","type":"User","site_admin":false},"body":"Closes #4501 \r\nCloses #4562\r\nCloses #4714\r\n\r\nQuoting from #4501:\r\n\r\n> Follow up from gh-4144\r\n>\r\n> To allow build system abstractions, we want installation to go through wheels in more cases. In particular, installing packages from a local directory or a VCS URL currently runs 'setup.py install'. The aim of this PR is to have it build a wheel, which is stored in an ephemeral cache directory, used for installation, and then discarded.\r\n>\r\n> We can't cache it permanently based on the path/URL, because the code there might change, but our cache wouldn't be invalidated.\r\n\r\nThis is implemented by reusing the current `WheelCache` and wrapping what is basically 2 instances of it in a wrapper that implements everything a `Cache` should, with an extra helper for direct access to the ephemeral directory when caching wheels.\r\n\r\n---\r\n\r\nI'm building on top of some awesome work by @takluyver, @alex and @xoviat.\r\n","created_at":"2017-10-04T13:03:32Z","updated_at":"2017-10-04T13:03:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/pypa/pip/pulls/4764/commits","review_comments_url":"https://api.github.com/repos/pypa/pip/pulls/4764/comments","review_comment_url":"https://api.github.com/repos/pypa/pip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pypa/pip/issues/4764/comments","statuses_url":"https://api.github.com/repos/pypa/pip/statuses/cc5b7e11e187a8911e7b0c74d63c66ab91c466a1","head":{"label":"pradyunsg:cache/ephem-wheel-cache","ref":"cache/ephem-wheel-cache","sha":"cc5b7e11e187a8911e7b0c74d63c66ab91c466a1","user":{"login":"pradyunsg","id":3275593,"avatar_url":"https://avatars1.githubusercontent.com/u/3275593?v=4","gravatar_id":"","url":"https://api.github.com/users/pradyunsg","html_url":"https://github.com/pradyunsg","followers_url":"https://api.github.com/users/pradyunsg/followers","following_url":"https://api.github.com/users/pradyunsg/following{/other_user}","gists_url":"https://api.github.com/users/pradyunsg/gists{/gist_id}","starred_url":"https://api.github.com/users/pradyunsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradyunsg/subscriptions","organizations_url":"https://api.github.com/users/pradyunsg/orgs","repos_url":"https://api.github.com/users/pradyunsg/repos","events_url":"https://api.github.com/users/pradyunsg/events{/privacy}","received_events_url":"https://api.github.com/users/pradyunsg/received_events","type":"User","site_admin":false},"repo":{"id":44105197,"name":"pip","full_name":"pradyunsg/pip","owner":{"login":"pradyunsg","id":3275593,"avatar_url":"https://avatars1.githubusercontent.com/u/3275593?v=4","gravatar_id":"","url":"https://api.github.com/users/pradyunsg","html_url":"https://github.com/pradyunsg","followers_url":"https://api.github.com/users/pradyunsg/followers","following_url":"https://api.github.com/users/pradyunsg/following{/other_user}","gists_url":"https://api.github.com/users/pradyunsg/gists{/gist_id}","starred_url":"https://api.github.com/users/pradyunsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradyunsg/subscriptions","organizations_url":"https://api.github.com/users/pradyunsg/orgs","repos_url":"https://api.github.com/users/pradyunsg/repos","events_url":"https://api.github.com/users/pradyunsg/events{/privacy}","received_events_url":"https://api.github.com/users/pradyunsg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pradyunsg/pip","description":"A fork for improving the Rube Goldberg machine of sadness; making it worse at exactly that.","fork":true,"url":"https://api.github.com/repos/pradyunsg/pip","forks_url":"https://api.github.com/repos/pradyunsg/pip/forks","keys_url":"https://api.github.com/repos/pradyunsg/pip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pradyunsg/pip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pradyunsg/pip/teams","hooks_url":"https://api.github.com/repos/pradyunsg/pip/hooks","issue_events_url":"https://api.github.com/repos/pradyunsg/pip/issues/events{/number}","events_url":"https://api.github.com/repos/pradyunsg/pip/events","assignees_url":"https://api.github.com/repos/pradyunsg/pip/assignees{/user}","branches_url":"https://api.github.com/repos/pradyunsg/pip/branches{/branch}","tags_url":"https://api.github.com/repos/pradyunsg/pip/tags","blobs_url":"https://api.github.com/repos/pradyunsg/pip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pradyunsg/pip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pradyunsg/pip/git/refs{/sha}","trees_url":"https://api.github.com/repos/pradyunsg/pip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pradyunsg/pip/statuses/{sha}","languages_url":"https://api.github.com/repos/pradyunsg/pip/languages","stargazers_url":"https://api.github.com/repos/pradyunsg/pip/stargazers","contributors_url":"https://api.github.com/repos/pradyunsg/pip/contributors","subscribers_url":"https://api.github.com/repos/pradyunsg/pip/subscribers","subscription_url":"https://api.github.com/repos/pradyunsg/pip/subscription","commits_url":"https://api.github.com/repos/pradyunsg/pip/commits{/sha}","git_commits_url":"https://api.github.com/repos/pradyunsg/pip/git/commits{/sha}","comments_url":"https://api.github.com/repos/pradyunsg/pip/comments{/number}","issue_comment_url":"https://api.github.com/repos/pradyunsg/pip/issues/comments{/number}","contents_url":"https://api.github.com/repos/pradyunsg/pip/contents/{+path}","compare_url":"https://api.github.com/repos/pradyunsg/pip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pradyunsg/pip/merges","archive_url":"https://api.github.com/repos/pradyunsg/pip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pradyunsg/pip/downloads","issues_url":"https://api.github.com/repos/pradyunsg/pip/issues{/number}","pulls_url":"https://api.github.com/repos/pradyunsg/pip/pulls{/number}","milestones_url":"https://api.github.com/repos/pradyunsg/pip/milestones{/number}","notifications_url":"https://api.github.com/repos/pradyunsg/pip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pradyunsg/pip/labels{/name}","releases_url":"https://api.github.com/repos/pradyunsg/pip/releases{/id}","deployments_url":"https://api.github.com/repos/pradyunsg/pip/deployments","created_at":"2015-10-12T12:12:04Z","updated_at":"2017-08-21T17:15:21Z","pushed_at":"2017-10-04T13:02:07Z","git_url":"git://github.com/pradyunsg/pip.git","ssh_url":"git@github.com:pradyunsg/pip.git","clone_url":"https://github.com/pradyunsg/pip.git","svn_url":"https://github.com/pradyunsg/pip","homepage":"","size":46483,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pypa:master","ref":"master","sha":"90f64b41bbb20ebb7143d88052c944b30dbe61ac","user":{"login":"pypa","id":647025,"avatar_url":"https://avatars2.githubusercontent.com/u/647025?v=4","gravatar_id":"","url":"https://api.github.com/users/pypa","html_url":"https://github.com/pypa","followers_url":"https://api.github.com/users/pypa/followers","following_url":"https://api.github.com/users/pypa/following{/other_user}","gists_url":"https://api.github.com/users/pypa/gists{/gist_id}","starred_url":"https://api.github.com/users/pypa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pypa/subscriptions","organizations_url":"https://api.github.com/users/pypa/orgs","repos_url":"https://api.github.com/users/pypa/repos","events_url":"https://api.github.com/users/pypa/events{/privacy}","received_events_url":"https://api.github.com/users/pypa/received_events","type":"Organization","site_admin":false},"repo":{"id":1446467,"name":"pip","full_name":"pypa/pip","owner":{"login":"pypa","id":647025,"avatar_url":"https://avatars2.githubusercontent.com/u/647025?v=4","gravatar_id":"","url":"https://api.github.com/users/pypa","html_url":"https://github.com/pypa","followers_url":"https://api.github.com/users/pypa/followers","following_url":"https://api.github.com/users/pypa/following{/other_user}","gists_url":"https://api.github.com/users/pypa/gists{/gist_id}","starred_url":"https://api.github.com/users/pypa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pypa/subscriptions","organizations_url":"https://api.github.com/users/pypa/orgs","repos_url":"https://api.github.com/users/pypa/repos","events_url":"https://api.github.com/users/pypa/events{/privacy}","received_events_url":"https://api.github.com/users/pypa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pypa/pip","description":"The PyPA recommended tool for installing Python packages","fork":false,"url":"https://api.github.com/repos/pypa/pip","forks_url":"https://api.github.com/repos/pypa/pip/forks","keys_url":"https://api.github.com/repos/pypa/pip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pypa/pip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pypa/pip/teams","hooks_url":"https://api.github.com/repos/pypa/pip/hooks","issue_events_url":"https://api.github.com/repos/pypa/pip/issues/events{/number}","events_url":"https://api.github.com/repos/pypa/pip/events","assignees_url":"https://api.github.com/repos/pypa/pip/assignees{/user}","branches_url":"https://api.github.com/repos/pypa/pip/branches{/branch}","tags_url":"https://api.github.com/repos/pypa/pip/tags","blobs_url":"https://api.github.com/repos/pypa/pip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pypa/pip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pypa/pip/git/refs{/sha}","trees_url":"https://api.github.com/repos/pypa/pip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pypa/pip/statuses/{sha}","languages_url":"https://api.github.com/repos/pypa/pip/languages","stargazers_url":"https://api.github.com/repos/pypa/pip/stargazers","contributors_url":"https://api.github.com/repos/pypa/pip/contributors","subscribers_url":"https://api.github.com/repos/pypa/pip/subscribers","subscription_url":"https://api.github.com/repos/pypa/pip/subscription","commits_url":"https://api.github.com/repos/pypa/pip/commits{/sha}","git_commits_url":"https://api.github.com/repos/pypa/pip/git/commits{/sha}","comments_url":"https://api.github.com/repos/pypa/pip/comments{/number}","issue_comment_url":"https://api.github.com/repos/pypa/pip/issues/comments{/number}","contents_url":"https://api.github.com/repos/pypa/pip/contents/{+path}","compare_url":"https://api.github.com/repos/pypa/pip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pypa/pip/merges","archive_url":"https://api.github.com/repos/pypa/pip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pypa/pip/downloads","issues_url":"https://api.github.com/repos/pypa/pip/issues{/number}","pulls_url":"https://api.github.com/repos/pypa/pip/pulls{/number}","milestones_url":"https://api.github.com/repos/pypa/pip/milestones{/number}","notifications_url":"https://api.github.com/repos/pypa/pip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pypa/pip/labels{/name}","releases_url":"https://api.github.com/repos/pypa/pip/releases{/id}","deployments_url":"https://api.github.com/repos/pypa/pip/deployments","created_at":"2011-03-06T14:30:46Z","updated_at":"2017-10-04T07:35:20Z","pushed_at":"2017-10-04T06:38:52Z","git_url":"git://github.com/pypa/pip.git","ssh_url":"git@github.com:pypa/pip.git","clone_url":"https://github.com/pypa/pip.git","svn_url":"https://github.com/pypa/pip","homepage":"https://pip.pypa.io/","size":49490,"stargazers_count":3868,"watchers_count":3868,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1355,"mirror_url":null,"open_issues_count":354,"forks":1355,"open_issues":354,"watchers":3868,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pypa/pip/pulls/4764"},"html":{"href":"https://github.com/pypa/pip/pull/4764"},"issue":{"href":"https://api.github.com/repos/pypa/pip/issues/4764"},"comments":{"href":"https://api.github.com/repos/pypa/pip/issues/4764/comments"},"review_comments":{"href":"https://api.github.com/repos/pypa/pip/pulls/4764/comments"},"review_comment":{"href":"https://api.github.com/repos/pypa/pip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pypa/pip/pulls/4764/commits"},"statuses":{"href":"https://api.github.com/repos/pypa/pip/statuses/cc5b7e11e187a8911e7b0c74d63c66ab91c466a1"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":32,"additions":148,"deletions":73,"changed_files":10}}
{"actor":{"display_login":"pradyunsg"}}