{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/969","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/969/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/969/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/969/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-python/issues/969","id":93383792,"number":969,"title":"Protobufs Dependencies Prevents Vendoring gcloud-python on GAE","user":{"login":"waprin","id":1075173,"avatar_url":"https://avatars.githubusercontent.com/u/1075173?v=3","gravatar_id":"","url":"https://api.github.com/users/waprin","html_url":"https://github.com/waprin","followers_url":"https://api.github.com/users/waprin/followers","following_url":"https://api.github.com/users/waprin/following{/other_user}","gists_url":"https://api.github.com/users/waprin/gists{/gist_id}","starred_url":"https://api.github.com/users/waprin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waprin/subscriptions","organizations_url":"https://api.github.com/users/waprin/orgs","repos_url":"https://api.github.com/users/waprin/repos","events_url":"https://api.github.com/users/waprin/events{/privacy}","received_events_url":"https://api.github.com/users/waprin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-07-06T21:43:41Z","updated_at":"2015-08-31T17:07:11Z","closed_at":"2015-07-06T23:12:59Z","body":"GAE requires that you vendor all libraries within the sandbox, pip install -r requirements.txt -t lib/ is the current recommended approach. When you do this with gcloud-python as a dependency, it includes a package named google which contains the protobuf dependency. The problem is that you _also_ need to have the AppEngine SDK on your path which is also in a package named google, so if you put GAE first on your path, gcloud-python will fail to import protobufs, and if you put lib/ first, you can't import appengine SDK libs.\r\n\r\nI think @jonparrott might have some more thoughts on how to resolve this (namespaced packages?)"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/comments/136430037","html_url":"https://github.com/GoogleCloudPlatform/gcloud-python/issues/969#issuecomment-136430037","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/969","id":136430037,"user":{"login":"dhermes","id":520669,"avatar_url":"https://avatars.githubusercontent.com/u/520669?v=3","gravatar_id":"","url":"https://api.github.com/users/dhermes","html_url":"https://github.com/dhermes","followers_url":"https://api.github.com/users/dhermes/followers","following_url":"https://api.github.com/users/dhermes/following{/other_user}","gists_url":"https://api.github.com/users/dhermes/gists{/gist_id}","starred_url":"https://api.github.com/users/dhermes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhermes/subscriptions","organizations_url":"https://api.github.com/users/dhermes/orgs","repos_url":"https://api.github.com/users/dhermes/repos","events_url":"https://api.github.com/users/dhermes/events{/privacy}","received_events_url":"https://api.github.com/users/dhermes/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T17:07:11Z","updated_at":"2015-08-31T17:07:11Z","body":"Very nice! Way to go `protobuf`."}}