Skip to content

Commit 7b84e34

Browse files
committed
fix mypy
1 parent 8bf09f5 commit 7b84e34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,12 @@ def pytype(session):
175175
def mypy(session):
176176
"""Run type-checking."""
177177
session.install(".[grpc]", "mypy")
178-
# Exclude types-protobuf==4.24.0.20240106
179-
# See https://github.com/python/typeshed/issues/11254
180178
session.install(
181179
"types-setuptools",
182180
"types-requests",
183-
"types-protobuf!=4.24.0.20240106",
181+
# TODO(https://github.com/googleapis/python-api-core/issues/642):
182+
# Use the latest version of types-protobuf.
183+
"types-protobuf<5",
184184
"types-mock",
185185
"types-dataclasses",
186186
)

0 commit comments

Comments
 (0)