Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump protobuf to 4.25.3 #582

Merged
merged 1 commit into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Upcoming

- Remove 3.7 compatibility for typing_extensions.final/Literal
- Bump protobuf to 4.25.3

## 3.5.0

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.4.3
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
Loading