{"action":"created","issue":{"url":"https://api.github.com/repos/spacetelescope/asv/issues/174","labels_url":"https://api.github.com/repos/spacetelescope/asv/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/spacetelescope/asv/issues/174/comments","events_url":"https://api.github.com/repos/spacetelescope/asv/issues/174/events","html_url":"https://github.com/spacetelescope/asv/pull/174","id":53515361,"number":174,"title":"Install dependencies in one go.","user":{"login":"rhattersley","id":917914,"avatar_url":"https://avatars.githubusercontent.com/u/917914?v=3","gravatar_id":"","url":"https://api.github.com/users/rhattersley","html_url":"https://github.com/rhattersley","followers_url":"https://api.github.com/users/rhattersley/followers","following_url":"https://api.github.com/users/rhattersley/following{/other_user}","gists_url":"https://api.github.com/users/rhattersley/gists{/gist_id}","starred_url":"https://api.github.com/users/rhattersley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhattersley/subscriptions","organizations_url":"https://api.github.com/users/rhattersley/orgs","repos_url":"https://api.github.com/users/rhattersley/repos","events_url":"https://api.github.com/users/rhattersley/events{/privacy}","received_events_url":"https://api.github.com/users/rhattersley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-06T13:39:17Z","updated_at":"2015-01-06T15:31:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/spacetelescope/asv/pulls/174","html_url":"https://github.com/spacetelescope/asv/pull/174","diff_url":"https://github.com/spacetelescope/asv/pull/174.diff","patch_url":"https://github.com/spacetelescope/asv/pull/174.patch"},"body":"This PR avoids the \"version bouncing\" of secondary dependencies than can occur when upgrading conda packages one-by-one. It also makes it faster. Win - win! :smile:\r\n\r\nFor example, assume a project has two dependencies: \"numpy\" at version 1.7, and \"wibble\", where \"wibble\" has only been built against numpy 1.8. First, asv installs numpy 1.7. Then it installs wibble, which drags numpy up to 1.8."},"comment":{"url":"https://api.github.com/repos/spacetelescope/asv/issues/comments/68880070","html_url":"https://github.com/spacetelescope/asv/pull/174#issuecomment-68880070","issue_url":"https://api.github.com/repos/spacetelescope/asv/issues/174","id":68880070,"user":{"login":"mdboom","id":38294,"avatar_url":"https://avatars.githubusercontent.com/u/38294?v=3","gravatar_id":"","url":"https://api.github.com/users/mdboom","html_url":"https://github.com/mdboom","followers_url":"https://api.github.com/users/mdboom/followers","following_url":"https://api.github.com/users/mdboom/following{/other_user}","gists_url":"https://api.github.com/users/mdboom/gists{/gist_id}","starred_url":"https://api.github.com/users/mdboom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdboom/subscriptions","organizations_url":"https://api.github.com/users/mdboom/orgs","repos_url":"https://api.github.com/users/mdboom/repos","events_url":"https://api.github.com/users/mdboom/events{/privacy}","received_events_url":"https://api.github.com/users/mdboom/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T15:31:39Z","updated_at":"2015-01-06T15:31:39Z","body":"This is great.  I think the same simplification can be applied to `virtualenv` as well.  And I agree that then the `upgrade` method can be removed all places (including the base class).  `asv` is still green enough I'm not guaranteeing API stability, so I'm happy to keep things trimmed.\r\n\r\nOne small issue that Travis-CI discovered -- if `len(self._requirements) == 0`, we should just avoid calling `conda` altogether."}}