Skip to content

Commit e798415

Browse files
committed
chore: release 1.2.0
1 parent e1d4c9f commit e798415

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

docs/source/changelog.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
Changelog
22
=========
33

4-
Unreleased / TBD
5-
----------------
4+
.. _changelog-1.2.0:
5+
6+
1.2.0 / (2020-04-21)
7+
--------------------
68

79
- Adds :func:`pydata_google_auth.load_service_account_credentials` function to
810
get service account credentials from the specified JSON path. (:issue:`39`)

noxfile.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
import nox
1111

1212

13-
latest_python = "3.8"
14-
python_versions = ["2.7", "3.5", "3.6", "3.7", "3.8"]
13+
latest_python = "3.9"
14+
python_versions = ["2.7", "3.6", "3.7", "3.8", "3.9"]
1515

1616

1717
@nox.session(python=latest_python)

pydata_google_auth/cache.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,9 @@ def _load_service_account_credentials_from_info(credentials_json, **kwargs):
145145
request = google.auth.transport.requests.Request()
146146
try:
147147
credentials.refresh(request)
148-
except google.auth.exceptions.RefreshError:
148+
except google.auth.exceptions.RefreshError as exc:
149149
# Credentials could be expired or revoked.
150+
logger.debug("Error refreshing credentials: {}".format(str(exc)))
150151
return None
151152

152153
return credentials

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def readme():
4141
"Programming Language :: Python :: 3.6",
4242
"Programming Language :: Python :: 3.7",
4343
"Programming Language :: Python :: 3.8",
44+
"Programming Language :: Python :: 3.9",
4445
"Topic :: Scientific/Engineering",
4546
"License :: OSI Approved :: BSD License",
4647
],

0 commit comments

Comments
 (0)