{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/astropy-helpers/issues/144","labels_url":"https://api.github.com/repos/astropy/astropy-helpers/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy-helpers/issues/144/comments","events_url":"https://api.github.com/repos/astropy/astropy-helpers/issues/144/events","html_url":"https://github.com/astropy/astropy-helpers/pull/144","id":58966430,"number":144,"title":"Allow astropy-helpers to override itself","user":{"login":"embray","id":676149,"avatar_url":"https://avatars.githubusercontent.com/u/676149?v=3","gravatar_id":"","url":"https://api.github.com/users/embray","html_url":"https://github.com/embray","followers_url":"https://api.github.com/users/embray/followers","following_url":"https://api.github.com/users/embray/following{/other_user}","gists_url":"https://api.github.com/users/embray/gists{/gist_id}","starred_url":"https://api.github.com/users/embray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embray/subscriptions","organizations_url":"https://api.github.com/users/embray/orgs","repos_url":"https://api.github.com/users/embray/repos","events_url":"https://api.github.com/users/embray/events{/privacy}","received_events_url":"https://api.github.com/users/embray/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-25T20:45:49Z","updated_at":"2015-02-25T20:47:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/astropy/astropy-helpers/pulls/144","html_url":"https://github.com/astropy/astropy-helpers/pull/144","diff_url":"https://github.com/astropy/astropy-helpers/pull/144.diff","patch_url":"https://github.com/astropy/astropy-helpers/pull/144.patch"},"body":"This should provide a workaround for astropy/astropy#3541\r\n\r\nI haven't written a test for this yet, though it would be a relatively difficult one (not impossible though so I may try to add one later).  In the meantime I'm going to test this directly using testpypi.\r\n\r\nIn order for this change to fully fix astropy/astropy#3541 there will need to be two new releases of astropy-helpers: v0.4.8, and v1.0.1 each of which will include this fix.  When installing poppy, webbpsf, or any other similar affiliated package that has not yet updated to astropy-helpers 1.0 *and* that lists astropy in `setup_requires`, the ah_bootstrap will auto-upgrade astropy-helpers to v0.4.8.  This will include the necessary logic required so that when it in turn tries to install astropy, astropy's *own* ah_bootstrap can run, upgrade itself to astropy-helpers v1.0.1, and carry on with the installation."},"comment":{"url":"https://api.github.com/repos/astropy/astropy-helpers/issues/comments/76052959","html_url":"https://github.com/astropy/astropy-helpers/pull/144#issuecomment-76052959","issue_url":"https://api.github.com/repos/astropy/astropy-helpers/issues/144","id":76052959,"user":{"login":"embray","id":676149,"avatar_url":"https://avatars.githubusercontent.com/u/676149?v=3","gravatar_id":"","url":"https://api.github.com/users/embray","html_url":"https://github.com/embray","followers_url":"https://api.github.com/users/embray/followers","following_url":"https://api.github.com/users/embray/following{/other_user}","gists_url":"https://api.github.com/users/embray/gists{/gist_id}","starred_url":"https://api.github.com/users/embray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embray/subscriptions","organizations_url":"https://api.github.com/users/embray/orgs","repos_url":"https://api.github.com/users/embray/repos","events_url":"https://api.github.com/users/embray/events{/privacy}","received_events_url":"https://api.github.com/users/embray/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T20:47:32Z","updated_at":"2015-02-25T20:47:32Z","body":"Although in the process of writing this I realized a flaw with the plan--the fix that allows astropy-helpers to replace a previous astropy-helpers is in ah_bootstrap.  But when astropy-helpers auto-upgrades it does not run the *new* ah_bootstrap from the upgraded version.  I *had* thought of this problem previously, but somehow convinced myself (incorrectly) that it wouldn't be an issue.  I'll have to see if I can find a way around that..."}}