Skip to content

Untrack auto-generated *_pb2.py files#8

Open
cgobat wants to merge 3 commits intoacocalypso:mainfrom
cgobat:develop
Open

Untrack auto-generated *_pb2.py files#8
cgobat wants to merge 3 commits intoacocalypso:mainfrom
cgobat:develop

Conversation

@cgobat
Copy link
Copy Markdown

@cgobat cgobat commented Mar 21, 2026

This PR removes/untracks the auto-generated protobuf code and adds a script to easily/automatically regenerate them. This removes restrictions on the locally-installed version of the protobuf library, and is more in line with the recommended protobuf workflow (i.e., that gencode should not be tracked/committed to git repos, since it is the .proto files that are the single source of truth).

The included *_pb2.py files are incompatible with modern versions of the Python protobuf API, which is why this was a problem.

cgobat added 3 commits March 21, 2026 14:20
*_pb2.py files can/should simply be regenerated by users to ensure compatibility with their local version of the protobuf toolset
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