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

Protobuf gencode version mismatch warning #36

Open
MKuranowski opened this issue Sep 17, 2024 · 1 comment
Open

Protobuf gencode version mismatch warning #36

MKuranowski opened this issue Sep 17, 2024 · 1 comment

Comments

@MKuranowski
Copy link
Owner

Using pyroutelib3 generates the following warning:

/.../.venv/lib/python3.12/site-packages/google/protobuf/runtime_version.py:112: UserWarning: Protobuf gencode version 5.27.2 is older than the runtime version 5.28.1 at osmformat.proto. Please avoid checked-in Protobuf gencode that can be obsolete.

I suppose protobuf needs to be frozen to a specific minor release to prevent this warning from being generated.

@MKuranowski
Copy link
Owner Author

At a second thought, freezing protobuf seems like a bad idea.

Upstream issue: protocolbuffers/protobuf#18096

@MKuranowski MKuranowski changed the title Freeze protobuf to a specific minor release Protobuf gencode version mismatch version warning Sep 17, 2024
@MKuranowski MKuranowski changed the title Protobuf gencode version mismatch version warning Protobuf gencode version mismatch warning Sep 17, 2024
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

No branches or pull requests

1 participant