Skip to content

Commit ebfeb6c

Browse files
fix: pin click version and update sys test creds (#1008)
1 parent 302c1e3 commit ebfeb6c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

packages/google-auth/noxfile.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()
2222

23+
# https://github.com/psf/black/issues/2964, pin click version to 8.0.4 to
24+
# avoid incompatiblity with black.
25+
CLICK_VERSION = "click==8.0.4"
2326
BLACK_VERSION = "black==19.3b0"
2427
BLACK_PATHS = [
2528
"google",
@@ -33,7 +36,9 @@
3336

3437
@nox.session(python="3.7")
3538
def lint(session):
36-
session.install("flake8", "flake8-import-order", "docutils", BLACK_VERSION)
39+
session.install(
40+
"flake8", "flake8-import-order", "docutils", CLICK_VERSION, BLACK_VERSION
41+
)
3742
session.install("-e", ".")
3843
session.run("black", "--check", *BLACK_PATHS)
3944
session.run(
@@ -58,7 +63,7 @@ def blacken(session):
5863
5964
https://github.com/googleapis/synthtool/blob/master/docker/owlbot/python/Dockerfile
6065
"""
61-
session.install(BLACK_VERSION)
66+
session.install(CLICK_VERSION, BLACK_VERSION)
6267
session.run("black", *BLACK_PATHS)
6368

6469

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)