Skip to content

Commit fb56af7

Browse files
authored
fix(deps): require setuptools<=60.5.0 (googleapis#1179)
* fix(deps): require setuptools<=60.5.0 * pin types-protobuf<=3.19.7 in mypy nox session * move pin to correct session
1 parent 16469c4 commit fb56af7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,6 @@ def docs(session):
443443
def mypy(session):
444444
"""Perform typecheck analysis."""
445445

446-
session.install("mypy", "types-protobuf", "types-PyYAML", "types-dataclasses")
446+
session.install("mypy", "types-protobuf<=3.19.7", "types-PyYAML", "types-dataclasses")
447447
session.install(".")
448448
session.run("mypy", "gapic")

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ protobuf==3.19.4
77
pypandoc==1.7.2
88
PyYAML==6.0
99
dataclasses==0.6 # TODO(busunkim) remove when 3.6 support is dropped
10+
setuptools<=60.5.0 # pin setuptools to workaround https://github.com/pypa/setuptools/issues/3072

0 commit comments

Comments
 (0)