Skip to content

Commit e24d47e

Browse files
authored
chore: avoid pytype error caused by attrs==21.1.0 (#656)
1 parent 144ceea commit e24d47e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

noxfile.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ def unit_noextras(session):
103103
@nox.session(python=DEFAULT_PYTHON_VERSION)
104104
def pytype(session):
105105
"""Run type checks."""
106+
# An indirect dependecy attrs==21.1.0 breaks the check, and installing a less
107+
# recent version avoids the error until a possibly better fix is found.
108+
# https://github.com/googleapis/python-bigquery/issues/655
109+
session.install("attrs==20.3.0")
106110
session.install("-e", ".[all]")
107111
session.install("ipython")
108112
session.install(PYTYPE_VERSION)

0 commit comments

Comments
 (0)