Skip to content

Commit

Permalink
fix(deps): require setuptools<=60.5.0 (#1179)
Browse files Browse the repository at this point in the history
* fix(deps): require setuptools<=60.5.0

* pin types-protobuf<=3.19.7 in mypy nox session

* move pin to correct session
  • Loading branch information
parthea committed Feb 2, 2022
1 parent 16469c4 commit fb56af7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,6 @@ def docs(session):
def mypy(session):
"""Perform typecheck analysis."""

session.install("mypy", "types-protobuf", "types-PyYAML", "types-dataclasses")
session.install("mypy", "types-protobuf<=3.19.7", "types-PyYAML", "types-dataclasses")
session.install(".")
session.run("mypy", "gapic")
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ protobuf==3.19.4
pypandoc==1.7.2
PyYAML==6.0
dataclasses==0.6 # TODO(busunkim) remove when 3.6 support is dropped
setuptools<=60.5.0 # pin setuptools to workaround https://github.com/pypa/setuptools/issues/3072

0 comments on commit fb56af7

Please sign in to comment.