Skip to content

Commit

Permalink
Pin mypy, mypy-protobuf and types-protobuf versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tjying95 committed Mar 3, 2025
1 parent 2cc75d3 commit 8fd3f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/codegen/validate_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def _validate_examples(
with _create_stage_dir(staging_dir):
_system("poetry new .")
_system("poetry add grpcio")
_system("poetry add --dev grpcio-tools mypy mypy-protobuf types-protobuf grpc-stubs")
_system("poetry add --dev grpcio-tools mypy~=1.14 mypy-protobuf~=3.5 types-protobuf==5.29.1.20241207 grpc-stubs")
_system("poetry add --dev black==23.3.0")
_system("poetry install")

Expand Down

0 comments on commit 8fd3f72

Please sign in to comment.