{"action":"closed","issue":{"url":"https://api.github.com/repos/googleapis/artman/issues/102","repository_url":"https://api.github.com/repos/googleapis/artman","labels_url":"https://api.github.com/repos/googleapis/artman/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/googleapis/artman/issues/102/comments","events_url":"https://api.github.com/repos/googleapis/artman/issues/102/events","html_url":"https://github.com/googleapis/artman/issues/102","id":178502174,"number":102,"title":"GCloud dependency conflicts","user":{"login":"bjwatson","id":471755,"avatar_url":"https://avatars.githubusercontent.com/u/471755?v=3","gravatar_id":"","url":"https://api.github.com/users/bjwatson","html_url":"https://github.com/bjwatson","followers_url":"https://api.github.com/users/bjwatson/followers","following_url":"https://api.github.com/users/bjwatson/following{/other_user}","gists_url":"https://api.github.com/users/bjwatson/gists{/gist_id}","starred_url":"https://api.github.com/users/bjwatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjwatson/subscriptions","organizations_url":"https://api.github.com/users/bjwatson/orgs","repos_url":"https://api.github.com/users/bjwatson/repos","events_url":"https://api.github.com/users/bjwatson/events{/privacy}","received_events_url":"https://api.github.com/users/bjwatson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/googleapis/artman/labels/bug","name":"bug","color":"ee0701"},{"url":"https://api.github.com/repos/googleapis/artman/labels/P0","name":"P0","color":"e99695"}],"state":"closed","locked":false,"assignee":{"login":"bjwatson","id":471755,"avatar_url":"https://avatars.githubusercontent.com/u/471755?v=3","gravatar_id":"","url":"https://api.github.com/users/bjwatson","html_url":"https://github.com/bjwatson","followers_url":"https://api.github.com/users/bjwatson/followers","following_url":"https://api.github.com/users/bjwatson/following{/other_user}","gists_url":"https://api.github.com/users/bjwatson/gists{/gist_id}","starred_url":"https://api.github.com/users/bjwatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjwatson/subscriptions","organizations_url":"https://api.github.com/users/bjwatson/orgs","repos_url":"https://api.github.com/users/bjwatson/repos","events_url":"https://api.github.com/users/bjwatson/events{/privacy}","received_events_url":"https://api.github.com/users/bjwatson/received_events","type":"User","site_admin":false},"assignees":[{"login":"bjwatson","id":471755,"avatar_url":"https://avatars.githubusercontent.com/u/471755?v=3","gravatar_id":"","url":"https://api.github.com/users/bjwatson","html_url":"https://github.com/bjwatson","followers_url":"https://api.github.com/users/bjwatson/followers","following_url":"https://api.github.com/users/bjwatson/following{/other_user}","gists_url":"https://api.github.com/users/bjwatson/gists{/gist_id}","starred_url":"https://api.github.com/users/bjwatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjwatson/subscriptions","organizations_url":"https://api.github.com/users/bjwatson/orgs","repos_url":"https://api.github.com/users/bjwatson/repos","events_url":"https://api.github.com/users/bjwatson/events{/privacy}","received_events_url":"https://api.github.com/users/bjwatson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2016-09-22T01:51:09Z","updated_at":"2016-09-24T00:03:20Z","closed_at":"2016-09-24T00:03:20Z","body":"### Steps to Reproduce\r\n1. `virtualenv venv`\r\n2. `source venv/bin/activate`\r\n3. `pip install -e git+https://github.com/googleapis/artman#egg=remote`\r\n4. `start_conductor.py`\r\n\r\n### Expected Result\r\nThe conductor successfully starts.\r\n\r\n### Actual Result\r\nThe following dependency conflict occurs:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/google/home/brianwatson/src/gapi-dev/googleapis/venv/bin/start_conductor.py\", line 4, in <module>\r\n    __import__('pkg_resources').require('googleapis-artman==0.1.0')\r\n  File \"/usr/local/buildtools/current/sitecustomize/sitecustomize.py\", line 181, in SetupPathsAndImport\r\n    return real_import(name, globals, locals, fromlist, level)\r\n  File \"/usr/local/google/home/brianwatson/src/gapi-dev/googleapis/venv/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 2985, in <module>\r\n    @_call_aside\r\n  File \"/usr/local/google/home/brianwatson/src/gapi-dev/googleapis/venv/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 2971, in _call_aside\r\n    f(*args, **kwargs)\r\n  File \"/usr/local/google/home/brianwatson/src/gapi-dev/googleapis/venv/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 2998, in _initialize_master_working_set\r\n    working_set = WorkingSet._build_master()\r\n  File \"/usr/local/google/home/brianwatson/src/gapi-dev/googleapis/venv/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 662, in _build_master\r\n    return cls._build_from_requirements(__requires__)\r\n  File \"/usr/local/google/home/brianwatson/src/gapi-dev/googleapis/venv/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 675, in _build_from_requirements\r\n    dists = ws.resolve(reqs, Environment())\r\n  File \"/usr/local/google/home/brianwatson/src/gapi-dev/googleapis/venv/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 859, in resolve\r\n    raise VersionConflict(dist, req).with_context(dependent_req)\r\npkg_resources.ContextualVersionConflict: (grpc-google-logging-v2 0.9.3 (/usr/local/google/home/brianwatson/src/gapi-dev/googleapis/venv/lib/python2.7/site-packages), Requirement.parse('grpc-google-logging-v2<0.9.0,>=0.8.1'), set(['gax-google-logging-v2']))\r\n```\r\n\r\n### Analysis\r\n\r\nThis is ultimately because the last release of [`gcloud`](https://pypi.python.org/pypi/gcloud) (`0.18.1`) does not set upper bounds on their `gax-google-*` and `grpc-google-*` dependencies. Due to the rename of `gax-google-*` to `gapic-google-*`, its latest version is only `0.8.x`. This is incompatible with the latest `0.9.x` versions of `grpc-google-*`.\r\n\r\nFYI @tseaver and @dhermes, if you could push a `0.18.2` version of `gcloud` that sets an upper bound of `<0.9.0` on the `gax-google-*` and `grpc-google-*` dependencies, then this issue will be resolved.\r\n\r\nThe other fix is to migrate `artman` to `google-cloud` `0.19.x` (the rename of `gcloud`), which I began in https://github.com/googleapis/artman/pull/101 and is captured as a feature request in https://github.com/googleapis/artman/issues/103."}}
{"actor":{"display_login":"bjwatson"}}