Skip to content

Update Protos - #92

Open
s2t2 wants to merge 1 commit into
google:copybara_pushfrom
s2t2:mjr-update-protos
Open

Update Protos#92
s2t2 wants to merge 1 commit into
google:copybara_pushfrom
s2t2:mjr-update-protos

Conversation

@s2t2

@s2t2 s2t2 commented Jun 5, 2025

Copy link
Copy Markdown
Collaborator

Generate protos using libprotoc 3.21.12.

To minimize differences in setups, we are pinning a specific version of protoc. The latest version of protoc installed on Linux machines is 3.21.12 (the chosen version). The latest version installed on Mac via homebrew is 3.29 (however this is ahead of the linux installation). It is unclear which version was used to generate the current protos.

@s2t2
s2t2 marked this pull request as ready for review June 6, 2025 14:49
@s2t2
s2t2 requested a review from Jgoldfeder June 6, 2025 14:49
@s2t2

s2t2 commented Jun 6, 2025

Copy link
Copy Markdown
Collaborator Author

@JudahGoldfeder let me know if these updated Protos look good to you. If everything is good, we can plan to merge this PR after #93 .

ajkhabbazi added a commit to ajkhabbazi/sbsim that referenced this pull request Aug 7, 2026
The protobuf runtime bump to ^4.25.0 is incompatible with the legacy
gencode checked into the repo, which fails at import with "Descriptors
cannot be created directly". Regenerate the three pb2.py files with
protoc 3.21.12, matching the version installed by CI on Linux and Mac
and documented in docs/setup/mac.md. The output is identical to that
of google#92.

Also switch the Dockerfile to the apt-installed protoc rather than
grpc_tools.protoc, which bundled 4.25.x and so generated different
output inside the container than every other environment. This requires
libprotobuf-dev for the well-known types, which --no-install-recommends
had excluded. grpcio-tools is no longer needed and is dropped.
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.

1 participant