Skip to content

Commit 7008b76

Browse files
committed
Bump to protobuf 3.18.1
1 parent a549210 commit 7008b76

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Upcoming
22

3+
- Require protobuf 3.18.1
4+
35
## 3.0.0
46

57
- Drop support for targeting python 2.7

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ Starting in mypy-protobuf 3.0.0, only python3 targeting is supported
1111
See [Changelog](CHANGELOG.md) for recent changes.
1212

1313
## Requirements to run mypy-protobuf
14-
[protoc >= 3.18.0](https://github.com/protocolbuffers/protobuf/releases)
14+
[protoc >= 3.18.1](https://github.com/protocolbuffers/protobuf/releases)
1515
[python-protobuf >= 3.17.4](https://pypi.org/project/protobuf/) - matching protoc release
1616
[python >= 3.6](https://www.python.org/downloads/source/) - for running mypy-protobuf plugin.
1717

1818
## Requirements to run typecheckers on stubs generated by mypy-protobuf
1919
[mypy >= v0.910](https://pypi.org/project/mypy) or [pyright >= 1.1.171](https://github.com/microsoft/pyright)
20-
[python-protobuf >= 3.18.0](https://pypi.org/project/protobuf/) - matching protoc release
20+
[python-protobuf >= 3.18.1](https://pypi.org/project/protobuf/) - matching protoc release
2121
[types-protobuf==3.17.4](https://pypi.org/project/types-protobuf/) - for stubs from the google.protobuf library
2222

2323
### To run mypy on code generated with grpc plugin - you'll additionally need

run_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ MYPY_PROTOBUF_VENV=venv_$PY_VER_MYPY_PROTOBUF
8282
# Generate protos
8383
python --version
8484
$PROTOC --version
85-
expected="libprotoc 3.18.0"
85+
expected="libprotoc 3.18.1"
8686
if [[ $($PROTOC --version) != $expected ]]; then
8787
echo -e "${RED}For tests - must install protoc version ${expected} ${NC}"
8888
exit 1

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ py_modules =
1515
mypy_protobuf.main
1616
mypy_protobuf.extensions_pb2
1717
install_requires =
18-
protobuf>=3.18.0
18+
protobuf>=3.18.1
1919
types-protobuf>=3.17.4
2020
python_requires = >=3.6
2121

test_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Requirements to run unit tests. Tests import from
22
# generated code.
3-
protobuf>=3.18.0
3+
protobuf>=3.18.1
44
pytest==6.2.5
55
grpc-stubs==1.24.7
66
grpcio-tools==1.41.0

0 commit comments

Comments
 (0)