{"action":"created","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/13608","repository_url":"https://api.github.com/repos/pydata/pandas","labels_url":"https://api.github.com/repos/pydata/pandas/issues/13608/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/13608/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/13608/events","html_url":"https://github.com/pydata/pandas/pull/13608","id":164733046,"number":13608,"title":"GbqConnector should be able to fetch default credentials on Google Compute Engine","user":{"login":"mhaseebtariq","id":7199752,"avatar_url":"https://avatars.githubusercontent.com/u/7199752?v=3","gravatar_id":"","url":"https://api.github.com/users/mhaseebtariq","html_url":"https://github.com/mhaseebtariq","followers_url":"https://api.github.com/users/mhaseebtariq/followers","following_url":"https://api.github.com/users/mhaseebtariq/following{/other_user}","gists_url":"https://api.github.com/users/mhaseebtariq/gists{/gist_id}","starred_url":"https://api.github.com/users/mhaseebtariq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhaseebtariq/subscriptions","organizations_url":"https://api.github.com/users/mhaseebtariq/orgs","repos_url":"https://api.github.com/users/mhaseebtariq/repos","events_url":"https://api.github.com/users/mhaseebtariq/events{/privacy}","received_events_url":"https://api.github.com/users/mhaseebtariq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pydata/pandas/labels/IO%20Google","name":"IO Google","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-07-10T20:35:40Z","updated_at":"2016-08-14T19:30:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pydata/pandas/pulls/13608","html_url":"https://github.com/pydata/pandas/pull/13608","diff_url":"https://github.com/pydata/pandas/pull/13608.diff","patch_url":"https://github.com/pydata/pandas/pull/13608.patch"},"body":" - [x] closes #13577\r\n - [x] passed 1 new test\r\n - [x] passes ``git diff upstream/master | flake8 --diff``\r\n - [x] whatsnew entry"},"comment":{"url":"https://api.github.com/repos/pydata/pandas/issues/comments/239691877","html_url":"https://github.com/pydata/pandas/pull/13608#issuecomment-239691877","issue_url":"https://api.github.com/repos/pydata/pandas/issues/13608","id":239691877,"user":{"login":"parthea","id":5184014,"avatar_url":"https://avatars.githubusercontent.com/u/5184014?v=3","gravatar_id":"","url":"https://api.github.com/users/parthea","html_url":"https://github.com/parthea","followers_url":"https://api.github.com/users/parthea/followers","following_url":"https://api.github.com/users/parthea/following{/other_user}","gists_url":"https://api.github.com/users/parthea/gists{/gist_id}","starred_url":"https://api.github.com/users/parthea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parthea/subscriptions","organizations_url":"https://api.github.com/users/parthea/orgs","repos_url":"https://api.github.com/users/parthea/repos","events_url":"https://api.github.com/users/parthea/events{/privacy}","received_events_url":"https://api.github.com/users/parthea/received_events","type":"User","site_admin":false},"created_at":"2016-08-14T19:30:02Z","updated_at":"2016-08-14T19:30:02Z","body":"I receive the following error with `google-api-python-client==1.2`\r\n\r\n```\r\ntony@tonypc:~/pandas-master/pandas/io/tests$ nosetests test_gbq.py -v\r\ntest_import_google_api_python_client (pandas.io.tests.test_gbq.GBQUnitTests) ... ok\r\ntest_read_gbq_with_corrupted_private_key_json_should_fail (pandas.io.tests.test_gbq.GBQUnitTests) ... ok\r\ntest_read_gbq_with_empty_private_key_file_should_fail (pandas.io.tests.test_gbq.GBQUnitTests) ... ok\r\ntest_read_gbq_with_empty_private_key_json_should_fail (pandas.io.tests.test_gbq.GBQUnitTests) ... ok\r\ntest_read_gbq_with_invalid_private_key_json_should_fail (pandas.io.tests.test_gbq.GBQUnitTests) ... ok\r\ntest_read_gbq_with_no_project_id_given_should_fail (pandas.io.tests.test_gbq.GBQUnitTests) ... ok\r\ntest_read_gbq_with_private_key_json_wrong_types_should_fail (pandas.io.tests.test_gbq.GBQUnitTests) ... ok\r\ntest_should_return_bigquery_booleans_as_python_booleans (pandas.io.tests.test_gbq.GBQUnitTests) ... ok\r\ntest_should_return_bigquery_floats_as_python_floats (pandas.io.tests.test_gbq.GBQUnitTests) ... ok\r\ntest_should_return_bigquery_integers_as_python_floats (pandas.io.tests.test_gbq.GBQUnitTests) ... ok\r\ntest_should_return_bigquery_strings_as_python_strings (pandas.io.tests.test_gbq.GBQUnitTests) ... ok\r\ntest_should_return_bigquery_timestamps_as_numpy_datetime (pandas.io.tests.test_gbq.GBQUnitTests) ... ok\r\ntest_that_parse_data_works_properly (pandas.io.tests.test_gbq.GBQUnitTests) ... ok\r\ntest_to_gbq_should_fail_if_invalid_table_name_passed (pandas.io.tests.test_gbq.GBQUnitTests) ... ok\r\ntest_to_gbq_with_no_project_id_given_should_fail (pandas.io.tests.test_gbq.GBQUnitTests) ... ok\r\ntest_get_application_default_credentials_does_not_throw_error (pandas.io.tests.test_gbq.TestGBQConnectorIntegration) ... ERROR\r\ntest_get_application_default_credentials_returns_credentials (pandas.io.tests.test_gbq.TestGBQConnectorIntegration) ... ERROR\r\ntest_should_be_able_to_get_a_bigquery_service (pandas.io.tests.test_gbq.TestGBQConnectorIntegration) ... ERROR\r\ntest_should_be_able_to_get_results_from_query (pandas.io.tests.test_gbq.TestGBQConnectorIntegration) ... ERROR\r\ntest_should_be_able_to_get_schema_from_query (pandas.io.tests.test_gbq.TestGBQConnectorIntegration) ... ERROR\r\ntest_should_be_able_to_get_valid_credentials (pandas.io.tests.test_gbq.TestGBQConnectorIntegration) ... ERROR\r\ntest_should_be_able_to_make_a_connector (pandas.io.tests.test_gbq.TestGBQConnectorIntegration) ... ERROR\r\ntest_should_be_able_to_get_a_bigquery_service (pandas.io.tests.test_gbq.TestGBQConnectorServiceAccountKeyContentsIntegration) ... ok\r\ntest_should_be_able_to_get_results_from_query (pandas.io.tests.test_gbq.TestGBQConnectorServiceAccountKeyContentsIntegration) ... ok\r\ntest_should_be_able_to_get_schema_from_query (pandas.io.tests.test_gbq.TestGBQConnectorServiceAccountKeyContentsIntegration) ... ok\r\ntest_should_be_able_to_get_valid_credentials (pandas.io.tests.test_gbq.TestGBQConnectorServiceAccountKeyContentsIntegration) ... ok\r\ntest_should_be_able_to_make_a_connector (pandas.io.tests.test_gbq.TestGBQConnectorServiceAccountKeyContentsIntegration) ... ok\r\ntest_should_be_able_to_get_a_bigquery_service (pandas.io.tests.test_gbq.TestGBQConnectorServiceAccountKeyPathIntegration) ... ok\r\ntest_should_be_able_to_get_results_from_query (pandas.io.tests.test_gbq.TestGBQConnectorServiceAccountKeyPathIntegration) ... ok\r\ntest_should_be_able_to_get_schema_from_query (pandas.io.tests.test_gbq.TestGBQConnectorServiceAccountKeyPathIntegration) ... ok\r\ntest_should_be_able_to_get_valid_credentials (pandas.io.tests.test_gbq.TestGBQConnectorServiceAccountKeyPathIntegration) ... ok\r\ntest_should_be_able_to_make_a_connector (pandas.io.tests.test_gbq.TestGBQConnectorServiceAccountKeyPathIntegration) ... ok\r\ntest_bad_project_id (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_bad_table_name (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_column_order (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_column_order_plus_index (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_download_dataset_larger_than_200k_rows (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_index_column (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_invalid_option_for_sql_dialect (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_legacy_sql (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_malformed_query (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_should_properly_handle_arbitrary_timestamp (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_should_properly_handle_empty_strings (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_should_properly_handle_false_boolean (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_should_properly_handle_null_boolean (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_should_properly_handle_null_floats (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_should_properly_handle_null_integers (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_should_properly_handle_null_strings (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_should_properly_handle_null_timestamp (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_should_properly_handle_timestamp_unix_epoch (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_should_properly_handle_true_boolean (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_should_properly_handle_valid_floats (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_should_properly_handle_valid_integers (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_should_properly_handle_valid_strings (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_should_read_as_service_account_with_key_contents (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ok\r\ntest_should_read_as_service_account_with_key_path (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ok\r\ntest_standard_sql (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_unicode_string_conversion_and_normalization (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\ntest_zero_rows (pandas.io.tests.test_gbq.TestReadGBQIntegration) ... ERROR\r\nERROR\r\ntest_upload_data_as_service_account_with_key_contents (pandas.io.tests.test_gbq.TestToGBQIntegrationServiceAccountKeyContents) ... ok\r\ntest_upload_data_as_service_account_with_key_path (pandas.io.tests.test_gbq.TestToGBQIntegrationServiceAccountKeyPath) ... ok\r\npandas.io.tests.test_gbq.test_requirements ... ok\r\npandas.io.tests.test_gbq.test_generate_bq_schema_deprecated ... ok\r\n\r\n======================================================================\r\nERROR: test_get_application_default_credentials_does_not_throw_error (pandas.io.tests.test_gbq.TestGBQConnectorIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 220, in setUp\r\n    self.sut = gbq.GbqConnector(PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_get_application_default_credentials_returns_credentials (pandas.io.tests.test_gbq.TestGBQConnectorIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 220, in setUp\r\n    self.sut = gbq.GbqConnector(PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_be_able_to_get_a_bigquery_service (pandas.io.tests.test_gbq.TestGBQConnectorIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 220, in setUp\r\n    self.sut = gbq.GbqConnector(PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_be_able_to_get_results_from_query (pandas.io.tests.test_gbq.TestGBQConnectorIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 220, in setUp\r\n    self.sut = gbq.GbqConnector(PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_be_able_to_get_schema_from_query (pandas.io.tests.test_gbq.TestGBQConnectorIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 220, in setUp\r\n    self.sut = gbq.GbqConnector(PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_be_able_to_get_valid_credentials (pandas.io.tests.test_gbq.TestGBQConnectorIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 220, in setUp\r\n    self.sut = gbq.GbqConnector(PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_be_able_to_make_a_connector (pandas.io.tests.test_gbq.TestGBQConnectorIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 220, in setUp\r\n    self.sut = gbq.GbqConnector(PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_bad_project_id (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 569, in test_bad_project_id\r\n    gbq.read_gbq(\"SELECT 1\", project_id='001')\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_bad_table_name (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 574, in test_bad_table_name\r\n    project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_column_order (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 546, in test_column_order\r\n    query, project_id=PROJECT_ID, col_order=col_order)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_column_order_plus_index (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 555, in test_column_order_plus_index\r\n    index_col='STRING_1', col_order=col_order)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_download_dataset_larger_than_200k_rows (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 583, in test_download_dataset_larger_than_200k_rows\r\n    project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_index_column (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 537, in test_index_column\r\n    query, project_id=PROJECT_ID, index_col=\"STRING_1\")\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_invalid_option_for_sql_dialect (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 639, in test_invalid_option_for_sql_dialect\r\n    dialect='standard')\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_legacy_sql (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 604, in test_legacy_sql\r\n    dialect='standard')\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_malformed_query (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 565, in test_malformed_query\r\n    project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_properly_handle_arbitrary_timestamp (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 494, in test_should_properly_handle_arbitrary_timestamp\r\n    df = gbq.read_gbq(query, project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_properly_handle_empty_strings (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 457, in test_should_properly_handle_empty_strings\r\n    df = gbq.read_gbq(query, project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_properly_handle_false_boolean (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 511, in test_should_properly_handle_false_boolean\r\n    df = gbq.read_gbq(query, project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_properly_handle_null_boolean (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 516, in test_should_properly_handle_null_boolean\r\n    df = gbq.read_gbq(query, project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_properly_handle_null_floats (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 483, in test_should_properly_handle_null_floats\r\n    df = gbq.read_gbq(query, project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_properly_handle_null_integers (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 472, in test_should_properly_handle_null_integers\r\n    df = gbq.read_gbq(query, project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_properly_handle_null_strings (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 462, in test_should_properly_handle_null_strings\r\n    df = gbq.read_gbq(query, project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_properly_handle_null_timestamp (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 501, in test_should_properly_handle_null_timestamp\r\n    df = gbq.read_gbq(query, project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_properly_handle_timestamp_unix_epoch (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 488, in test_should_properly_handle_timestamp_unix_epoch\r\n    df = gbq.read_gbq(query, project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_properly_handle_true_boolean (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 506, in test_should_properly_handle_true_boolean\r\n    df = gbq.read_gbq(query, project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_properly_handle_valid_floats (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 477, in test_should_properly_handle_valid_floats\r\n    df = gbq.read_gbq(query, project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_properly_handle_valid_integers (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 467, in test_should_properly_handle_valid_integers\r\n    df = gbq.read_gbq(query, project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_should_properly_handle_valid_strings (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 452, in test_should_properly_handle_valid_strings\r\n    df = gbq.read_gbq(query, project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_standard_sql (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 619, in test_standard_sql\r\n    gbq.read_gbq(standard_sql, project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_unicode_string_conversion_and_normalization (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 531, in test_unicode_string_conversion_and_normalization\r\n    df = gbq.read_gbq(query, project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test_zero_rows (pandas.io.tests.test_gbq.TestReadGBQIntegration)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 591, in test_zero_rows\r\n    project_id=PROJECT_ID)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 689, in read_gbq\r\n    dialect=dialect)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n======================================================================\r\nERROR: test suite for <class 'pandas.io.tests.test_gbq.TestToGBQIntegration'>\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/nose/suite.py\", line 209, in run\r\n    self.setUp()\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/nose/suite.py\", line 292, in setUp\r\n    self.setupContext(ancestor)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/nose/suite.py\", line 315, in setupContext\r\n    try_run(context, names)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/nose/util.py\", line 471, in try_run\r\n    return func()\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 658, in setUpClass\r\n    clean_gbq_environment()\r\n  File \"/home/tony/pandas-master/pandas/io/tests/test_gbq.py\", line 177, in clean_gbq_environment\r\n    dataset = gbq._Dataset(PROJECT_ID, private_key=private_key)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 972, in __init__\r\n    private_key)\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 156, in __init__\r\n    self.credentials = self.get_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 164, in get_credentials\r\n    credentials = self.get_application_default_credentials()\r\n  File \"/home/tony/pandas-master/pandas/io/gbq.py\", line 206, in get_application_default_credentials\r\n    bigquery_service = build('bigquery', 'v2', credentials=credentials)\r\n  File \"/home/tony/anaconda/lib/python2.7/site-packages/oauth2client/util.py\", line 142, in positional_wrapper\r\n    return wrapped(*args, **kwargs)\r\nTypeError: build() got an unexpected keyword argument 'credentials'\r\n\r\n----------------------------------------------------------------------\r\nRan 63 tests in 94.503s\r\n\r\nFAILED (errors=33)\r\n```"}}
{"actor":{"display_login":"parthea"}}