Skip to content

Commit 8225f8b

Browse files
authored
Bump to protobuf 3.18.1 (#303)
1 parent 59145d0 commit 8225f8b

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install Protoc
2424
uses: arduino/setup-protoc@v1
2525
with:
26-
version: '3.18.0'
26+
version: '3.18.1'
2727
- uses: actions/checkout@v2
2828
- name: Cache pyenv
2929
uses: actions/cache@v2
@@ -101,7 +101,7 @@ jobs:
101101
- name: Install Protoc
102102
uses: arduino/setup-protoc@v1
103103
with:
104-
version: '3.18.0'
104+
version: '3.18.1'
105105
- name: Run Protoc
106106
run: |
107107
pip3 install -e .

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 typecheckers 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)