Skip to content

Commit 21c85ba

Browse files
authored
Bump protobuf to ~=5.29.1 (#13209)
1 parent 98f070a commit 21c85ba

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

stubs/protobuf/METADATA.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Using an exact number in the specifier for scripts/sync_protobuf/google_protobuf.py
2-
version = "~=5.28.3"
2+
version = "~=5.29.1"
33
upstream_repository = "https://github.com/protocolbuffers/protobuf"
4-
extra_description = "Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 27.2 on [protobuf v28.3](https://github.com/protocolbuffers/protobuf/releases/tag/v28.3) (python `protobuf==5.28.3`)."
4+
extra_description = "Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 28.1 on [protobuf v29.1](https://github.com/protocolbuffers/protobuf/releases/tag/v29.1) (python `protobuf==5.29.1`)."
55
partial_stub = true
66

77
[tool.stubtest]

stubs/protobuf/google/protobuf/api_pb2.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class Mixin(google.protobuf.message.Message):
220220
The mixin construct implies that all methods in `AccessControl` are
221221
also declared with same name and request/response types in
222222
`Storage`. A documentation generator or annotation processor will
223-
see the effective `Storage.GetAcl` method after inherting
223+
see the effective `Storage.GetAcl` method after inheriting
224224
documentation and annotations as follows:
225225
226226
service Storage {

stubs/protobuf/google/protobuf/descriptor_pb2.pyi

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class _EditionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTy
5454
EDITION_2024: _Edition.ValueType # 1001
5555
EDITION_1_TEST_ONLY: _Edition.ValueType # 1
5656
"""Placeholder editions for testing feature resolution. These should not be
57-
used or relyed on outside of tests.
57+
used or relied on outside of tests.
5858
"""
5959
EDITION_2_TEST_ONLY: _Edition.ValueType # 2
6060
EDITION_99997_TEST_ONLY: _Edition.ValueType # 99997
@@ -90,7 +90,7 @@ comparison.
9090
EDITION_2024: Edition.ValueType # 1001
9191
EDITION_1_TEST_ONLY: Edition.ValueType # 1
9292
"""Placeholder editions for testing feature resolution. These should not be
93-
used or relyed on outside of tests.
93+
used or relied on outside of tests.
9494
"""
9595
EDITION_2_TEST_ONLY: Edition.ValueType # 2
9696
EDITION_99997_TEST_ONLY: Edition.ValueType # 99997
@@ -1188,10 +1188,7 @@ class FieldOptions(google.protobuf.message.Message):
11881188
RETENTION_SOURCE: FieldOptions._OptionRetention.ValueType # 2
11891189

11901190
class OptionRetention(_OptionRetention, metaclass=_OptionRetentionEnumTypeWrapper):
1191-
"""If set to RETENTION_SOURCE, the option will be omitted from the binary.
1192-
Note: as of January 2023, support for this is in progress and does not yet
1193-
have an effect (b/264593489).
1194-
"""
1191+
"""If set to RETENTION_SOURCE, the option will be omitted from the binary."""
11951192

11961193
RETENTION_UNKNOWN: FieldOptions.OptionRetention.ValueType # 0
11971194
RETENTION_RUNTIME: FieldOptions.OptionRetention.ValueType # 1
@@ -1217,8 +1214,7 @@ class FieldOptions(google.protobuf.message.Message):
12171214
class OptionTargetType(_OptionTargetType, metaclass=_OptionTargetTypeEnumTypeWrapper):
12181215
"""This indicates the types of entities that the field may apply to when used
12191216
as an option. If it is unset, then the field may be freely used as an
1220-
option on any kind of entity. Note: as of January 2023, support for this is
1221-
in progress and does not yet have an effect (b/264593489).
1217+
option on any kind of entity.
12221218
"""
12231219

12241220
TARGET_TYPE_UNKNOWN: FieldOptions.OptionTargetType.ValueType # 0

0 commit comments

Comments
 (0)