Skip to content

Commit 41a55c6

Browse files
committed
Update contrib/python/types-protobuf to 5.28.3.20241030
commit_hash:34dfb9be1465bd259bf2f5c90a3114542cd87d6d
1 parent 3034660 commit 41a55c6

File tree

3 files changed

+23
-20
lines changed

3 files changed

+23
-20
lines changed
Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.1
22
Name: types-protobuf
3-
Version: 5.28.0.20240924
3+
Version: 5.28.3.20241030
44
Summary: Typing stubs for protobuf
55
Home-page: https://github.com/python/typeshed
66
License: Apache-2.0
@@ -22,23 +22,27 @@ It can be used by type-checking tools like
2222
[mypy](https://github.com/python/mypy/),
2323
[pyright](https://github.com/microsoft/pyright),
2424
[pytype](https://github.com/google/pytype/),
25-
PyCharm, etc. to check code that uses
26-
`protobuf`.
25+
[Pyre](https://pyre-check.org/),
26+
PyCharm, etc. to check code that uses `protobuf`. This version of
27+
`types-protobuf` aims to provide accurate annotations for
28+
`protobuf~=5.28.3`.
2729

28-
This version of `types-protobuf` aims to provide accurate annotations
29-
for `protobuf==5.28.*`.
30-
The source for this package can be found at
31-
https://github.com/python/typeshed/tree/main/stubs/protobuf. All fixes for
32-
types and metadata should be contributed there.
33-
34-
Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 26.1 on [protobuf v28.2](https://github.com/protocolbuffers/protobuf/releases/tag/v28.2) (python `protobuf==5.28.2`).
30+
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`).
3531

3632
This stub package is marked as [partial](https://peps.python.org/pep-0561/#partial-stub-packages).
3733
If you find that annotations are missing, feel free to contribute and help complete them.
3834

3935

40-
See https://github.com/python/typeshed/blob/main/README.md for more details.
41-
This package was generated from typeshed commit
42-
[`9f033bf439e064917e4b235b8a09b7530f182516`](https://github.com/python/typeshed/commit/9f033bf439e064917e4b235b8a09b7530f182516) and was tested
43-
with mypy 1.11.1, pyright 1.1.381, and
44-
pytype 2024.9.13.
36+
This package is part of the [typeshed project](https://github.com/python/typeshed).
37+
All fixes for types and metadata should be contributed there.
38+
See [the README](https://github.com/python/typeshed/blob/main/README.md)
39+
for more details. The source for this package can be found in the
40+
[`stubs/protobuf`](https://github.com/python/typeshed/tree/main/stubs/protobuf)
41+
directory.
42+
43+
This package was tested with
44+
mypy 1.13.0,
45+
pyright 1.1.386,
46+
and pytype 2024.10.11.
47+
It was generated from typeshed commit
48+
[`6029bf18192fba492a9d82d88238a4e1929e1c43`](https://github.com/python/typeshed/commit/6029bf18192fba492a9d82d88238a4e1929e1c43).

contrib/python/types-protobuf/google-stubs/METADATA.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# Whenever you update version here, PACKAGE_VERSION should be updated
2-
# in scripts/sync_proto/google_protobuf.py and vice-versa.
3-
version = "5.28.*"
1+
# Using an exact number in the specifier for scripts/sync_protobuf/google_protobuf.py
2+
version = "~=5.28.3"
43
upstream_repository = "https://github.com/protocolbuffers/protobuf"
5-
extra_description = "Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 26.1 on [protobuf v28.2](https://github.com/protocolbuffers/protobuf/releases/tag/v28.2) (python `protobuf==5.28.2`)."
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`)."
65
partial_stub = true
76

87
[tool.stubtest]

contrib/python/types-protobuf/ya.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
PY3_LIBRARY()
44

5-
VERSION(5.28.0.20240924)
5+
VERSION(5.28.3.20241030)
66

77
LICENSE(Apache-2.0)
88

0 commit comments

Comments
 (0)