{"action":"closed","issue":{"url":"https://api.github.com/repos/astropy/ci-helpers/issues/123","repository_url":"https://api.github.com/repos/astropy/ci-helpers","labels_url":"https://api.github.com/repos/astropy/ci-helpers/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/astropy/ci-helpers/issues/123/comments","events_url":"https://api.github.com/repos/astropy/ci-helpers/issues/123/events","html_url":"https://github.com/astropy/ci-helpers/issues/123","id":170015984,"number":123,"title":"Avoid double download and install for dependencies","user":{"login":"bsipocz","id":6788290,"avatar_url":"https://avatars.githubusercontent.com/u/6788290?v=3","gravatar_id":"","url":"https://api.github.com/users/bsipocz","html_url":"https://github.com/bsipocz","followers_url":"https://api.github.com/users/bsipocz/followers","following_url":"https://api.github.com/users/bsipocz/following{/other_user}","gists_url":"https://api.github.com/users/bsipocz/gists{/gist_id}","starred_url":"https://api.github.com/users/bsipocz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsipocz/subscriptions","organizations_url":"https://api.github.com/users/bsipocz/orgs","repos_url":"https://api.github.com/users/bsipocz/repos","events_url":"https://api.github.com/users/bsipocz/events{/privacy}","received_events_url":"https://api.github.com/users/bsipocz/received_events","type":"User","site_admin":false},"labels":[{"id":284299277,"url":"https://api.github.com/repos/astropy/ci-helpers/labels/bug","name":"bug","color":"fc2929","default":true},{"id":396967553,"url":"https://api.github.com/repos/astropy/ci-helpers/labels/conda","name":"conda","color":"fbca04","default":false},{"id":284299282,"url":"https://api.github.com/repos/astropy/ci-helpers/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-08T20:21:45Z","updated_at":"2016-11-23T15:20:38Z","closed_at":"2016-11-23T15:20:38Z","body":"Ideally we want to install packages in a strict order.\n 1) numpy\n 2) astropy\n 3) dependencies\n\nHowever it seems that due to the existence of the version pin file, all the dependencies are picked up during the first step. This is suboptimal for several of our typical builds (e.g. when older astropy is required, or when the build is aborted as no numpy prerelease is available, etc.).\n\nE.g. here is a build were only numpy needed to be installed, and then the build aborted as there is no prerelease. Then in reality everything gets installed before exiting.\nhttps://travis-ci.org/astropy/astroquery/jobs/150718956#L685\n\nThis is an LTS astropy build, yet 1.2.1 is installed first and then downgraded:\nhttps://travis-ci.org/astropy/astroquery/jobs/150718941#L544\n\nIt's not yet clear what is an optimal workaround. To ignore the pin file, we could use e.g. `--no-pin`. Maybe adding it to the first, the numpy builds would be enough. Then most of the astropy version checking can be added to the pin file, too.\n\n@astrofrog - Do you have a better idea or preference?\n"}}
{"actor":{"display_login":"bsipocz"}}