{"action":"closed","number":1036,"pull_request":{"url":"https://api.github.com/repos/lxc/lxc/pulls/1036","id":72002623,"html_url":"https://github.com/lxc/lxc/pull/1036","diff_url":"https://github.com/lxc/lxc/pull/1036.diff","patch_url":"https://github.com/lxc/lxc/pull/1036.patch","issue_url":"https://api.github.com/repos/lxc/lxc/issues/1036","number":1036,"state":"closed","locked":false,"title":"python-lxc: fix breakage caused by the switch to setuptools","user":{"login":"amezin","id":1273397,"avatar_url":"https://avatars.githubusercontent.com/u/1273397?v=3","gravatar_id":"","url":"https://api.github.com/users/amezin","html_url":"https://github.com/amezin","followers_url":"https://api.github.com/users/amezin/followers","following_url":"https://api.github.com/users/amezin/following{/other_user}","gists_url":"https://api.github.com/users/amezin/gists{/gist_id}","starred_url":"https://api.github.com/users/amezin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amezin/subscriptions","organizations_url":"https://api.github.com/users/amezin/orgs","repos_url":"https://api.github.com/users/amezin/repos","events_url":"https://api.github.com/users/amezin/events{/privacy}","received_events_url":"https://api.github.com/users/amezin/received_events","type":"User","site_admin":false},"body":"Looks like it's a bug in Debian or Ubuntu Python/setuptools patches.\r\nWhen `--install-layout=deb` is passed to `setup.py`, setuptools don't generate stub helpers for loading extensions from .egg files. The same command without `--install-layout` works as expected.\r\n\r\nHowever, it could simply be an unsupported configuration, because distro packages should be built with `--single-version-externally-managed`, which prevents .egg builds.\r\n\r\nSo, I assume setuptools builds will be used for distro packages. Then the fix is very simple: always pass `--root=` to `setup.py`, even when `DESTDIR` isn't set. As `--root` implies `--single-version-externally-managed`.","created_at":"2016-05-31T11:55:44Z","updated_at":"2016-05-31T19:40:46Z","closed_at":"2016-05-31T19:40:46Z","merged_at":"2016-05-31T19:40:46Z","merge_commit_sha":"71e4ea52bf4abd97929d04a828fc053bd646ada5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lxc/lxc/pulls/1036/commits","review_comments_url":"https://api.github.com/repos/lxc/lxc/pulls/1036/comments","review_comment_url":"https://api.github.com/repos/lxc/lxc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lxc/lxc/issues/1036/comments","statuses_url":"https://api.github.com/repos/lxc/lxc/statuses/0e586abd44259afb501b32a288fe001cd3d858b9","head":{"label":"GreatFruitOmsk:python-setuptools","ref":"python-setuptools","sha":"0e586abd44259afb501b32a288fe001cd3d858b9","user":{"login":"GreatFruitOmsk","id":1570594,"avatar_url":"https://avatars.githubusercontent.com/u/1570594?v=3","gravatar_id":"","url":"https://api.github.com/users/GreatFruitOmsk","html_url":"https://github.com/GreatFruitOmsk","followers_url":"https://api.github.com/users/GreatFruitOmsk/followers","following_url":"https://api.github.com/users/GreatFruitOmsk/following{/other_user}","gists_url":"https://api.github.com/users/GreatFruitOmsk/gists{/gist_id}","starred_url":"https://api.github.com/users/GreatFruitOmsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GreatFruitOmsk/subscriptions","organizations_url":"https://api.github.com/users/GreatFruitOmsk/orgs","repos_url":"https://api.github.com/users/GreatFruitOmsk/repos","events_url":"https://api.github.com/users/GreatFruitOmsk/events{/privacy}","received_events_url":"https://api.github.com/users/GreatFruitOmsk/received_events","type":"Organization","site_admin":false},"repo":{"id":54996286,"name":"lxc","full_name":"GreatFruitOmsk/lxc","owner":{"login":"GreatFruitOmsk","id":1570594,"avatar_url":"https://avatars.githubusercontent.com/u/1570594?v=3","gravatar_id":"","url":"https://api.github.com/users/GreatFruitOmsk","html_url":"https://github.com/GreatFruitOmsk","followers_url":"https://api.github.com/users/GreatFruitOmsk/followers","following_url":"https://api.github.com/users/GreatFruitOmsk/following{/other_user}","gists_url":"https://api.github.com/users/GreatFruitOmsk/gists{/gist_id}","starred_url":"https://api.github.com/users/GreatFruitOmsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GreatFruitOmsk/subscriptions","organizations_url":"https://api.github.com/users/GreatFruitOmsk/orgs","repos_url":"https://api.github.com/users/GreatFruitOmsk/repos","events_url":"https://api.github.com/users/GreatFruitOmsk/events{/privacy}","received_events_url":"https://api.github.com/users/GreatFruitOmsk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GreatFruitOmsk/lxc","description":"LXC - Linux Containers","fork":true,"url":"https://api.github.com/repos/GreatFruitOmsk/lxc","forks_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/forks","keys_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/teams","hooks_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/hooks","issue_events_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/issues/events{/number}","events_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/events","assignees_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/assignees{/user}","branches_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/branches{/branch}","tags_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/tags","blobs_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/git/refs{/sha}","trees_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/statuses/{sha}","languages_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/languages","stargazers_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/stargazers","contributors_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/contributors","subscribers_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/subscribers","subscription_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/subscription","commits_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/commits{/sha}","git_commits_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/git/commits{/sha}","comments_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/comments{/number}","issue_comment_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/issues/comments{/number}","contents_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/contents/{+path}","compare_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/merges","archive_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/downloads","issues_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/issues{/number}","pulls_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/pulls{/number}","milestones_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/milestones{/number}","notifications_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/labels{/name}","releases_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/releases{/id}","deployments_url":"https://api.github.com/repos/GreatFruitOmsk/lxc/deployments","created_at":"2016-03-29T17:32:01Z","updated_at":"2016-03-29T17:32:03Z","pushed_at":"2016-05-31T11:43:43Z","git_url":"git://github.com/GreatFruitOmsk/lxc.git","ssh_url":"git@github.com:GreatFruitOmsk/lxc.git","clone_url":"https://github.com/GreatFruitOmsk/lxc.git","svn_url":"https://github.com/GreatFruitOmsk/lxc","homepage":"https://linuxcontainers.org/lxc","size":13833,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lxc:master","ref":"master","sha":"b4b75e16db84f5bd3f4171046ef062e0926d6a3a","user":{"login":"lxc","id":2301756,"avatar_url":"https://avatars.githubusercontent.com/u/2301756?v=3","gravatar_id":"","url":"https://api.github.com/users/lxc","html_url":"https://github.com/lxc","followers_url":"https://api.github.com/users/lxc/followers","following_url":"https://api.github.com/users/lxc/following{/other_user}","gists_url":"https://api.github.com/users/lxc/gists{/gist_id}","starred_url":"https://api.github.com/users/lxc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxc/subscriptions","organizations_url":"https://api.github.com/users/lxc/orgs","repos_url":"https://api.github.com/users/lxc/repos","events_url":"https://api.github.com/users/lxc/events{/privacy}","received_events_url":"https://api.github.com/users/lxc/received_events","type":"Organization","site_admin":false},"repo":{"id":5720995,"name":"lxc","full_name":"lxc/lxc","owner":{"login":"lxc","id":2301756,"avatar_url":"https://avatars.githubusercontent.com/u/2301756?v=3","gravatar_id":"","url":"https://api.github.com/users/lxc","html_url":"https://github.com/lxc","followers_url":"https://api.github.com/users/lxc/followers","following_url":"https://api.github.com/users/lxc/following{/other_user}","gists_url":"https://api.github.com/users/lxc/gists{/gist_id}","starred_url":"https://api.github.com/users/lxc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxc/subscriptions","organizations_url":"https://api.github.com/users/lxc/orgs","repos_url":"https://api.github.com/users/lxc/repos","events_url":"https://api.github.com/users/lxc/events{/privacy}","received_events_url":"https://api.github.com/users/lxc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lxc/lxc","description":"LXC - Linux Containers","fork":false,"url":"https://api.github.com/repos/lxc/lxc","forks_url":"https://api.github.com/repos/lxc/lxc/forks","keys_url":"https://api.github.com/repos/lxc/lxc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lxc/lxc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lxc/lxc/teams","hooks_url":"https://api.github.com/repos/lxc/lxc/hooks","issue_events_url":"https://api.github.com/repos/lxc/lxc/issues/events{/number}","events_url":"https://api.github.com/repos/lxc/lxc/events","assignees_url":"https://api.github.com/repos/lxc/lxc/assignees{/user}","branches_url":"https://api.github.com/repos/lxc/lxc/branches{/branch}","tags_url":"https://api.github.com/repos/lxc/lxc/tags","blobs_url":"https://api.github.com/repos/lxc/lxc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lxc/lxc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lxc/lxc/git/refs{/sha}","trees_url":"https://api.github.com/repos/lxc/lxc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lxc/lxc/statuses/{sha}","languages_url":"https://api.github.com/repos/lxc/lxc/languages","stargazers_url":"https://api.github.com/repos/lxc/lxc/stargazers","contributors_url":"https://api.github.com/repos/lxc/lxc/contributors","subscribers_url":"https://api.github.com/repos/lxc/lxc/subscribers","subscription_url":"https://api.github.com/repos/lxc/lxc/subscription","commits_url":"https://api.github.com/repos/lxc/lxc/commits{/sha}","git_commits_url":"https://api.github.com/repos/lxc/lxc/git/commits{/sha}","comments_url":"https://api.github.com/repos/lxc/lxc/comments{/number}","issue_comment_url":"https://api.github.com/repos/lxc/lxc/issues/comments{/number}","contents_url":"https://api.github.com/repos/lxc/lxc/contents/{+path}","compare_url":"https://api.github.com/repos/lxc/lxc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lxc/lxc/merges","archive_url":"https://api.github.com/repos/lxc/lxc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lxc/lxc/downloads","issues_url":"https://api.github.com/repos/lxc/lxc/issues{/number}","pulls_url":"https://api.github.com/repos/lxc/lxc/pulls{/number}","milestones_url":"https://api.github.com/repos/lxc/lxc/milestones{/number}","notifications_url":"https://api.github.com/repos/lxc/lxc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lxc/lxc/labels{/name}","releases_url":"https://api.github.com/repos/lxc/lxc/releases{/id}","deployments_url":"https://api.github.com/repos/lxc/lxc/deployments","created_at":"2012-09-07T18:50:27Z","updated_at":"2016-05-31T08:42:54Z","pushed_at":"2016-05-31T19:40:46Z","git_url":"git://github.com/lxc/lxc.git","ssh_url":"git@github.com:lxc/lxc.git","clone_url":"https://github.com/lxc/lxc.git","svn_url":"https://github.com/lxc/lxc","homepage":"https://linuxcontainers.org/lxc","size":16911,"stargazers_count":1452,"watchers_count":1452,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":487,"mirror_url":null,"open_issues_count":211,"forks":487,"open_issues":211,"watchers":1452,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lxc/lxc/pulls/1036"},"html":{"href":"https://github.com/lxc/lxc/pull/1036"},"issue":{"href":"https://api.github.com/repos/lxc/lxc/issues/1036"},"comments":{"href":"https://api.github.com/repos/lxc/lxc/issues/1036/comments"},"review_comments":{"href":"https://api.github.com/repos/lxc/lxc/pulls/1036/comments"},"review_comment":{"href":"https://api.github.com/repos/lxc/lxc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lxc/lxc/pulls/1036/commits"},"statuses":{"href":"https://api.github.com/repos/lxc/lxc/statuses/0e586abd44259afb501b32a288fe001cd3d858b9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"stgraber","id":2230599,"avatar_url":"https://avatars.githubusercontent.com/u/2230599?v=3","gravatar_id":"","url":"https://api.github.com/users/stgraber","html_url":"https://github.com/stgraber","followers_url":"https://api.github.com/users/stgraber/followers","following_url":"https://api.github.com/users/stgraber/following{/other_user}","gists_url":"https://api.github.com/users/stgraber/gists{/gist_id}","starred_url":"https://api.github.com/users/stgraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgraber/subscriptions","organizations_url":"https://api.github.com/users/stgraber/orgs","repos_url":"https://api.github.com/users/stgraber/repos","events_url":"https://api.github.com/users/stgraber/events{/privacy}","received_events_url":"https://api.github.com/users/stgraber/received_events","type":"User","site_admin":false},"comments":13,"review_comments":0,"commits":2,"additions":4,"deletions":7,"changed_files":1}}
{"actor":{"display_login":"stgraber"}}