{"action":"created","issue":{"url":"https://api.github.com/repos/juju-solutions/layer-basic/issues/70","repository_url":"https://api.github.com/repos/juju-solutions/layer-basic","labels_url":"https://api.github.com/repos/juju-solutions/layer-basic/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/juju-solutions/layer-basic/issues/70/comments","events_url":"https://api.github.com/repos/juju-solutions/layer-basic/issues/70/events","html_url":"https://github.com/juju-solutions/layer-basic/pull/70","id":156832222,"number":70,"title":"bump pip version range","user":{"login":"wwwtyro","id":929443,"avatar_url":"https://avatars.githubusercontent.com/u/929443?v=3","gravatar_id":"","url":"https://api.github.com/users/wwwtyro","html_url":"https://github.com/wwwtyro","followers_url":"https://api.github.com/users/wwwtyro/followers","following_url":"https://api.github.com/users/wwwtyro/following{/other_user}","gists_url":"https://api.github.com/users/wwwtyro/gists{/gist_id}","starred_url":"https://api.github.com/users/wwwtyro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwwtyro/subscriptions","organizations_url":"https://api.github.com/users/wwwtyro/orgs","repos_url":"https://api.github.com/users/wwwtyro/repos","events_url":"https://api.github.com/users/wwwtyro/events{/privacy}","received_events_url":"https://api.github.com/users/wwwtyro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-25T19:34:48Z","updated_at":"2016-05-25T22:40:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/juju-solutions/layer-basic/pulls/70","html_url":"https://github.com/juju-solutions/layer-basic/pull/70","diff_url":"https://github.com/juju-solutions/layer-basic/pull/70.diff","patch_url":"https://github.com/juju-solutions/layer-basic/pull/70.patch"},"body":"It looks like something was pulling in pip 8.1.1 before we get to handling the wheelhouse, causing the attempted install of pip 7.1.2 to fail:\r\n\r\n```\r\nunit-openvim-controller-0: 2016-05-25 18:31:45 INFO unit.openvim-controller/0.install logger.go:40 Processing ./wheelhouse/pip-7.1.2.tar.gz\r\nunit-openvim-controller-0: 2016-05-25 18:31:45 INFO unit.openvim-controller/0.install logger.go:40 Exception:\r\nunit-openvim-controller-0: 2016-05-25 18:31:45 INFO unit.openvim-controller/0.install logger.go:40 Traceback (most recent call last):\r\nunit-openvim-controller-0: 2016-05-25 18:31:45 INFO unit.openvim-controller/0.install logger.go:40   File \"/usr/lib/python3/dist-packages/pip/req/req_install.py\", line 1006, in check_if_exists\r\nunit-openvim-controller-0: 2016-05-25 18:31:45 INFO unit.openvim-controller/0.install logger.go:40     self.satisfied_by = pkg_resources.get_distribution(str(no_marker))\r\nunit-openvim-controller-0: 2016-05-25 18:31:45 INFO unit.openvim-controller/0.install logger.go:40   File \"/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py\", line 535, in get_distribution\r\nunit-openvim-controller-0: 2016-05-25 18:31:45 INFO unit.openvim-controller/0.install logger.go:40     dist = get_provider(dist)\r\nunit-openvim-controller-0: 2016-05-25 18:31:45 INFO unit.openvim-controller/0.install logger.go:40   File \"/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py\", line 415, in get_provider\r\nunit-openvim-controller-0: 2016-05-25 18:31:45 INFO unit.openvim-controller/0.install logger.go:40     return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]\r\nunit-openvim-controller-0: 2016-05-25 18:31:45 INFO unit.openvim-controller/0.install logger.go:40   File \"/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py\", line 695, in find\r\nunit-openvim-controller-0: 2016-05-25 18:31:45 INFO unit.openvim-controller/0.install logger.go:40     raise VersionConflict(dist, req)\r\nunit-openvim-controller-0: 2016-05-25 18:31:45 INFO unit.openvim-controller/0.install logger.go:40 pkg_resources.VersionConflict: (pip 8.1.1 (/usr/lib/python3/dist-packages), Requirement.parse('pip===7.1.2'))\r\n```"},"comment":{"url":"https://api.github.com/repos/juju-solutions/layer-basic/issues/comments/221729262","html_url":"https://github.com/juju-solutions/layer-basic/pull/70#issuecomment-221729262","issue_url":"https://api.github.com/repos/juju-solutions/layer-basic/issues/70","id":221729262,"user":{"login":"johnsca","id":406082,"avatar_url":"https://avatars.githubusercontent.com/u/406082?v=3","gravatar_id":"","url":"https://api.github.com/users/johnsca","html_url":"https://github.com/johnsca","followers_url":"https://api.github.com/users/johnsca/followers","following_url":"https://api.github.com/users/johnsca/following{/other_user}","gists_url":"https://api.github.com/users/johnsca/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsca/subscriptions","organizations_url":"https://api.github.com/users/johnsca/orgs","repos_url":"https://api.github.com/users/johnsca/repos","events_url":"https://api.github.com/users/johnsca/events{/privacy}","received_events_url":"https://api.github.com/users/johnsca/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T22:40:42Z","updated_at":"2016-05-25T22:40:42Z","body":"The only reason pip was added to the wheelhouse at all instead of just using the system version was that the trusty version didn't have full wheelhouse support.  We could perhaps instead add some conditional logic on the series to only update pip on trusty where it's actually required?  But that would probably require still bundling the pip dependency in the wheelhouse and then just somehow excluding it for non-trusty deployments."}}
{"actor":{"display_login":"johnsca"}}