Skip to content

BUG: oauth2client deprecated, use google-auth instead. #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,7 @@ Thumbs.db

# caches #
.cache

# Credentials #
###############
bigquery_credentials.dat
10 changes: 6 additions & 4 deletions ci/requirements-2.7-0.19.2.pip
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
httplib2
google-api-python-client==1.2
python-gflags==2.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of fixing these on 2.7, pls do so on 3.5

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

oauth2client==1.5.0
google-api-python-client
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you fix one of these builts to the oldest versions that are possible to make this work (of google-api-python-client at least)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

google-auth
google-auth-httplib2
google-auth-oauthlib
PyCrypto
python-gflags
mock
8 changes: 5 additions & 3 deletions ci/requirements-3.5-0.18.1.pip
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
httplib2
google-api-python-client
oauth2client
google-api-python-client==1.6.0
google-auth==1.0.0
google-auth-httplib2==0.0.1
google-auth-oauthlib==0.0.1
mock
6 changes: 4 additions & 2 deletions ci/requirements-3.6-0.20.1.pip
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
httplib2
google-api-python-client
oauth2client
google-auth
google-auth-httplib2
google-auth-oauthlib
mock
6 changes: 4 additions & 2 deletions ci/requirements-3.6-MASTER.pip
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
httplib2
google-api-python-client
oauth2client
google-auth
google-auth-httplib2
google-auth-oauthlib
mock
4 changes: 2 additions & 2 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Changelog
0.2.0 / 2017-??-??
------------------

- Resolve issue where the optional ``--noauth_local_webserver`` command line argument would not be propagated during the authentication process. (:issue:`35`)
- Drop support for Python 3.4 (:issue:`40`)
- The dataframe passed to ```.to_gbq(...., if_exists='append')``` needs to contain only a subset of the fields in the BigQuery schema. (:issue:`24`)

- Use the `google-auth <https://google-auth.readthedocs.io/en/latest/>`__ library for authentication because oauth2client is deprecated. (:issue:`39`)
- ``read_gbq`` now has a ``auth_local_webserver`` boolean argument for controlling whether to use web server or console flow when getting user credentials. Replaces `--noauth_local_webserver` command line argument (:issue:`35`)

0.1.6 / 2017-05-03
------------------
Expand Down
Loading