Skip to content

Commit

Permalink
chore: release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tswast committed Apr 21, 2021
1 parent e1d4c9f commit e798415
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
Changelog
=========

Unreleased / TBD
----------------
.. _changelog-1.2.0:

1.2.0 / (2020-04-21)
--------------------

- Adds :func:`pydata_google_auth.load_service_account_credentials` function to
get service account credentials from the specified JSON path. (:issue:`39`)
Expand Down
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
import nox


latest_python = "3.8"
python_versions = ["2.7", "3.5", "3.6", "3.7", "3.8"]
latest_python = "3.9"
python_versions = ["2.7", "3.6", "3.7", "3.8", "3.9"]


@nox.session(python=latest_python)
Expand Down
3 changes: 2 additions & 1 deletion pydata_google_auth/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,9 @@ def _load_service_account_credentials_from_info(credentials_json, **kwargs):
request = google.auth.transport.requests.Request()
try:
credentials.refresh(request)
except google.auth.exceptions.RefreshError:
except google.auth.exceptions.RefreshError as exc:
# Credentials could be expired or revoked.
logger.debug("Error refreshing credentials: {}".format(str(exc)))
return None

return credentials
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def readme():
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: BSD License",
],
Expand Down

0 comments on commit e798415

Please sign in to comment.