Pin Python protobuf generators

This commit is contained in:
2026-07-22 12:03:08 +00:00
parent 7652262b4c
commit 4ec852014d
2 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -60,7 +60,8 @@ available; it is not required on the thin development host.
Generated Python bindings are copied into and committed by consumer
repositories with the exact proto release/commit recorded in their generated
header. `gen/` is intentionally ignored here.
header. Both generator plugins are version/revision pinned. `gen/` is
intentionally ignored here.
Before releasing a compatible update:
+4 -2
View File
@@ -1,7 +1,9 @@
version: v2
clean: true
plugins:
- remote: buf.build/protocolbuffers/python
- remote: buf.build/protocolbuffers/python:v35.1
revision: 1
out: gen/python
- remote: buf.build/protocolbuffers/pyi
- remote: buf.build/protocolbuffers/pyi:v35.1
revision: 1
out: gen/python