{"action":"created","issue":{"url":"https://api.github.com/repos/healpy/healpy/issues/357","repository_url":"https://api.github.com/repos/healpy/healpy","labels_url":"https://api.github.com/repos/healpy/healpy/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/healpy/healpy/issues/357/comments","events_url":"https://api.github.com/repos/healpy/healpy/issues/357/events","html_url":"https://github.com/healpy/healpy/issues/357","id":183544732,"number":357,"title":"healpy fails on ReadTheDocs","user":{"login":"gregreen","id":1033896,"avatar_url":"https://avatars.githubusercontent.com/u/1033896?v=3","gravatar_id":"","url":"https://api.github.com/users/gregreen","html_url":"https://github.com/gregreen","followers_url":"https://api.github.com/users/gregreen/followers","following_url":"https://api.github.com/users/gregreen/following{/other_user}","gists_url":"https://api.github.com/users/gregreen/gists{/gist_id}","starred_url":"https://api.github.com/users/gregreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregreen/subscriptions","organizations_url":"https://api.github.com/users/gregreen/orgs","repos_url":"https://api.github.com/users/gregreen/repos","events_url":"https://api.github.com/users/gregreen/events{/privacy}","received_events_url":"https://api.github.com/users/gregreen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-17T22:26:37Z","updated_at":"2016-10-18T19:17:27Z","closed_at":null,"body":"On ReadTheDocs, healpy fails to build. This prevents other packages that depend on healpy from building their own documentation.\r\n\r\n[Here](https://github.com/healpy/healpy/blob/69649467330ba013f4a5c560514d990085040ecb/setup.py#L81), healpy detects whether it is on ReadTheDocs, and if it is, attempts to download and compile several packages. As you can see [here](https://readthedocs.org/projects/dustmaps/builds/4524509/), that can cause packages that rely on healpy to also fail to compile on ReadTheDocs."},"comment":{"url":"https://api.github.com/repos/healpy/healpy/issues/comments/254610368","html_url":"https://github.com/healpy/healpy/issues/357#issuecomment-254610368","issue_url":"https://api.github.com/repos/healpy/healpy/issues/357","id":254610368,"user":{"login":"gregreen","id":1033896,"avatar_url":"https://avatars.githubusercontent.com/u/1033896?v=3","gravatar_id":"","url":"https://api.github.com/users/gregreen","html_url":"https://github.com/gregreen","followers_url":"https://api.github.com/users/gregreen/followers","following_url":"https://api.github.com/users/gregreen/following{/other_user}","gists_url":"https://api.github.com/users/gregreen/gists{/gist_id}","starred_url":"https://api.github.com/users/gregreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregreen/subscriptions","organizations_url":"https://api.github.com/users/gregreen/orgs","repos_url":"https://api.github.com/users/gregreen/repos","events_url":"https://api.github.com/users/gregreen/events{/privacy}","received_events_url":"https://api.github.com/users/gregreen/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T19:17:26Z","updated_at":"2016-10-18T19:17:26Z","body":"Great, thanks for fixing this. It will allow healpy's documentation to stay up-to-date.\r\n\r\nAs for other projects: if they use `sphinx.ext.autodoc` to automatically extract documentation from their code, they have to import all the dependencies. Any dependency that can't be imported causes the build to fail on ReadTheDocs.\r\n\r\nHowever, I didn't realize that there's a way around this: one can avoid loading dependencies during the documentation build process by telling Sphinx to use dummy versions of the dependencies."}}
{"actor":{"display_login":"gregreen"}}