{"action":"created","issue":{"url":"https://api.github.com/repos/nir0s/distro/issues/202","repository_url":"https://api.github.com/repos/nir0s/distro","labels_url":"https://api.github.com/repos/nir0s/distro/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/nir0s/distro/issues/202/comments","events_url":"https://api.github.com/repos/nir0s/distro/issues/202/events","html_url":"https://github.com/nir0s/distro/pull/202","id":279068901,"number":202,"title":"Don't raise ImportError on non-linux platforms","user":{"login":"asottile","id":1810591,"avatar_url":"https://avatars3.githubusercontent.com/u/1810591?v=4","gravatar_id":"","url":"https://api.github.com/users/asottile","html_url":"https://github.com/asottile","followers_url":"https://api.github.com/users/asottile/followers","following_url":"https://api.github.com/users/asottile/following{/other_user}","gists_url":"https://api.github.com/users/asottile/gists{/gist_id}","starred_url":"https://api.github.com/users/asottile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asottile/subscriptions","organizations_url":"https://api.github.com/users/asottile/orgs","repos_url":"https://api.github.com/users/asottile/repos","events_url":"https://api.github.com/users/asottile/events{/privacy}","received_events_url":"https://api.github.com/users/asottile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-12-04T16:55:50Z","updated_at":"2017-12-24T15:40:07Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/nir0s/distro/pulls/202","html_url":"https://github.com/nir0s/distro/pull/202","diff_url":"https://github.com/nir0s/distro/pull/202.diff","patch_url":"https://github.com/nir0s/distro/pull/202.patch"},"body":"In order to be able to use `distro` in cross-platform programs without duplicated import guards, `distro` shouldn't raise on `import`.\r\n\r\nFor what it's worth, after this patch `distro` acts _mostly_ in the same way as `platform.linux_distribution` on non-linux platforms:\r\n\r\n```\r\n>>> platform.linux_distribution()\r\n('', '', '')\r\n>>> distro.id(), distro.version(), distro.codename()\r\n('', '', '')\r\n```"},"comment":{"url":"https://api.github.com/repos/nir0s/distro/issues/comments/353790724","html_url":"https://github.com/nir0s/distro/pull/202#issuecomment-353790724","issue_url":"https://api.github.com/repos/nir0s/distro/issues/202","id":353790724,"user":{"login":"asottile","id":1810591,"avatar_url":"https://avatars3.githubusercontent.com/u/1810591?v=4","gravatar_id":"","url":"https://api.github.com/users/asottile","html_url":"https://github.com/asottile","followers_url":"https://api.github.com/users/asottile/followers","following_url":"https://api.github.com/users/asottile/following{/other_user}","gists_url":"https://api.github.com/users/asottile/gists{/gist_id}","starred_url":"https://api.github.com/users/asottile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asottile/subscriptions","organizations_url":"https://api.github.com/users/asottile/orgs","repos_url":"https://api.github.com/users/asottile/repos","events_url":"https://api.github.com/users/asottile/events{/privacy}","received_events_url":"https://api.github.com/users/asottile/received_events","type":"User","site_admin":false},"created_at":"2017-12-24T15:40:07Z","updated_at":"2017-12-24T15:40:07Z","author_association":"CONTRIBUTOR","body":"@nir0s looks pretty neat!  Seems to be trying to solve the same problems as `pip-custom-platform` too.\r\n\r\nI'd be curious to see the full workflow of how `wagon` gets used -- for `pip-custom-platform` it's largely:\r\n- build wheels for all supported platform combinations for all supported packages\r\n- place those wheels on an internal pypi server\r\n- `s/pip/pip-custom-platform/g` in installation scripts"}}
{"actor":{"display_login":"asottile"}}