Skip to content

Commit

Permalink
Bump protobuf to 4.25.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunn1313 committed Apr 1, 2024
1 parent 7f4a558 commit fe009f1
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 18 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Upcoming

- Bump protobuf to 4.25.3

## 3.5.0

- Add gRPC aio stub and servicer generation (#489)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ See [Changelog](CHANGELOG.md) for recent changes.
Earlier releases might work, but aren't tested

- [protoc >= 23.4](https://github.com/protocolbuffers/protobuf/releases)
- [python-protobuf >= 4.23.4](https://pypi.org/project/protobuf/) - matching protoc release
- [python-protobuf >= 4.25.3](https://pypi.org/project/protobuf/) - matching protoc release
- [python >= 3.8](https://www.python.org/downloads/source/) - for running mypy-protobuf plugin.

## Requirements to run typecheckers on stubs generated by mypy-protobuf

Earlier releases might work, but aren't tested

- [mypy >= v1.4.1](https://pypi.org/project/mypy) or [pyright >= 1.1.206](https://github.com/microsoft/pyright)
- [python-protobuf >= 4.23.4](https://pypi.org/project/protobuf/) - matching protoc release
- [types-protobuf >= 4.23.0.2](https://pypi.org/project/types-protobuf/) - for stubs from the google.protobuf library
- [python-protobuf >= 4.25.3](https://pypi.org/project/protobuf/) - matching protoc release
- [types-protobuf >= 4.24](https://pypi.org/project/types-protobuf/) - for stubs from the google.protobuf library

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

Expand Down
18 changes: 7 additions & 11 deletions mypy_protobuf/extensions_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ py_modules =
mypy_protobuf.main
mypy_protobuf.extensions_pb2
install_requires =
protobuf>=4.23.4
types-protobuf>=4.23.0.2
protobuf>=4.25.3
types-protobuf>=4.24
python_requires = >=3.8

[options.entry_points]
Expand Down
4 changes: 2 additions & 2 deletions test_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Requirements to run unit tests. Tests import from
# generated code.
protobuf==4.23.4
protobuf==4.25.3
pytest==7.3.1
pytest-asyncio==0.20.3
grpc-stubs==1.53.0.2
grpcio-tools==1.56.2
types-protobuf==4.23.0.2
types-protobuf==4.24

0 comments on commit fe009f1

Please sign in to comment.