{"action":"created","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/8327","labels_url":"https://api.github.com/repos/pydata/pandas/issues/8327/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/8327/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/8327/events","html_url":"https://github.com/pydata/pandas/issues/8327","id":43288083,"number":8327,"title":"GBQ: Handle deprecation of oauth2client.tools.run()","user":{"login":"jtratner","id":1598379,"avatar_url":"https://avatars.githubusercontent.com/u/1598379?v=3","gravatar_id":"","url":"https://api.github.com/users/jtratner","html_url":"https://github.com/jtratner","followers_url":"https://api.github.com/users/jtratner/followers","following_url":"https://api.github.com/users/jtratner/following{/other_user}","gists_url":"https://api.github.com/users/jtratner/gists{/gist_id}","starred_url":"https://api.github.com/users/jtratner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtratner/subscriptions","organizations_url":"https://api.github.com/users/jtratner/orgs","repos_url":"https://api.github.com/users/jtratner/repos","events_url":"https://api.github.com/users/jtratner/events{/privacy}","received_events_url":"https://api.github.com/users/jtratner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pydata/pandas/labels/Google%20I/O","name":"Google I/O","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2014-09-19T22:09:37Z","updated_at":"2015-04-23T15:50:02Z","closed_at":null,"body":"Right now, when you use GbqConnector, you get the following warning:\r\n\r\n>WARNING:root:This function, oauth2client.tools.run(), and the use of the gflags library are deprecated and will be removed in a future version of the library.\r\n\r\nI'm not sure how quickly this deprecation will happen or if there are alternatives to keep things the way that they are; but at least worthwhile to have an issue here to address it (in the future).\r\n\r\nAs an aside, I've been glancing at the source for the `bq` client that Google provides as part of Google Cloud SDK and I'm wondering how public the methods are (i.e., if we could adapt some of the code or functions that `bq.py` uses to authenticate and be able to get credentials set up from `gcloud auth login` rather than requiring a separate oauth flow). Not sure though.\r\n\r\nAgain, cc @jacobschaer , I'd be interested in your opinion on whether this is worth investigating at all. I've been finding `read_gbq` and `to_gbq` quite useful - thanks for putting it together!"},"comment":{"url":"https://api.github.com/repos/pydata/pandas/issues/comments/95631083","html_url":"https://github.com/pydata/pandas/issues/8327#issuecomment-95631083","issue_url":"https://api.github.com/repos/pydata/pandas/issues/8327","id":95631083,"user":{"login":"azbones","id":4975596,"avatar_url":"https://avatars.githubusercontent.com/u/4975596?v=3","gravatar_id":"","url":"https://api.github.com/users/azbones","html_url":"https://github.com/azbones","followers_url":"https://api.github.com/users/azbones/followers","following_url":"https://api.github.com/users/azbones/following{/other_user}","gists_url":"https://api.github.com/users/azbones/gists{/gist_id}","starred_url":"https://api.github.com/users/azbones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azbones/subscriptions","organizations_url":"https://api.github.com/users/azbones/orgs","repos_url":"https://api.github.com/users/azbones/repos","events_url":"https://api.github.com/users/azbones/events{/privacy}","received_events_url":"https://api.github.com/users/azbones/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T15:50:02Z","updated_at":"2015-04-23T15:50:02Z","body":"Hey @jtratner, @jacobschaer and I are going to try to look at the following in the next week:\r\n\r\n-options for Google's deprecating oauth2client.tools.run() method\r\n-that feature that I think someone was adding to allow server auth\r\n-python 3 support (we had some concern when we first considered this, but we'll look into again)\r\n\r\n"}}