diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index aa1a9a6..dbe6e3c 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -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`) diff --git a/noxfile.py b/noxfile.py index 4d17e1d..70d5c37 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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) diff --git a/pydata_google_auth/cache.py b/pydata_google_auth/cache.py index 16051a3..9a206fd 100644 --- a/pydata_google_auth/cache.py +++ b/pydata_google_auth/cache.py @@ -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 diff --git a/setup.py b/setup.py index f56138c..6eb7377 100644 --- a/setup.py +++ b/setup.py @@ -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", ],