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

Fix protobuf 4 compatibility issue #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anoopjb
Copy link

@anoopjb anoopjb commented Jun 8, 2022

The Protocol Buffers version 4.21.0 is a new major version, following 3.20.1. The new release does contain some breaking changes. This version requires generated code that has been generated from protoc 3.19.0 or newer.

This PR contains code generated using protoc version 3.19.4.

$ protoc --version
libprotoc 3.19.4
$ protoc --proto_path=./ --python_out=bernhard proto.proto

And renamed the generated code to proto4_pb2.py. This changes fixes #35. But I could not check the functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bernhard incompatible with protobuf 4.21.1
1 participant