Update protobuf generated stubs from mypy-protobuf 2.8 (#5804)

This commit is contained in:
Nipunn Koorapati
2021-07-23 16:21:26 -07:00
committed by GitHub
parent af9b46a9a1
commit 581b2d5180
15 changed files with 1536 additions and 260 deletions

View File

@@ -10,7 +10,7 @@
#
# Update these two variables when rerunning script
PROTOBUF_VERSION=3.17.3
MYPY_PROTOBUF_VERSION=v2.6
MYPY_PROTOBUF_VERSION=v2.8
set -ex
@@ -73,3 +73,5 @@ protoc_install/bin/protoc --proto_path=$PYTHON_PROTOBUF_DIR/src --mypy_out=$REPO
isort $REPO_ROOT/stubs/protobuf
black $REPO_ROOT/stubs/protobuf
sed -i="" "s/mypy-protobuf [^\"]*/mypy-protobuf ${MYPY_PROTOBUF_VERSION}/" $REPO_ROOT/stubs/protobuf/METADATA.toml