aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/types-protobuf
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2024-01-09 18:56:40 +0100
committerGitHub <noreply@github.com>2024-01-09 18:56:40 +0100
commite95f266d2a3e48e62015220588a4fd73d5d5a5cb (patch)
treea8a784b6931fe52ad5f511cfef85af14e5f63991 /contrib/python/types-protobuf
parent50a65e3b48a82d5b51f272664da389f2e0b0c99a (diff)
downloadydb-e95f266d2a3e48e62015220588a4fd73d5d5a5cb.tar.gz
Library import 6 (#888)
Diffstat (limited to 'contrib/python/types-protobuf')
-rw-r--r--contrib/python/types-protobuf/.dist-info/METADATA32
-rw-r--r--contrib/python/types-protobuf/google-stubs/METADATA.toml9
-rw-r--r--contrib/python/types-protobuf/ya.make4
3 files changed, 33 insertions, 12 deletions
diff --git a/contrib/python/types-protobuf/.dist-info/METADATA b/contrib/python/types-protobuf/.dist-info/METADATA
index 1eaca69326..a54cbbdacd 100644
--- a/contrib/python/types-protobuf/.dist-info/METADATA
+++ b/contrib/python/types-protobuf/.dist-info/METADATA
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: types-protobuf
-Version: 3.20.4.1
+Version: 4.24.0.4
Summary: Typing stubs for protobuf
Home-page: https://github.com/python/typeshed
License: Apache-2.0 license
@@ -11,17 +11,33 @@ Project-URL: Chat, https://gitter.im/python/typing
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Typing :: Stubs Only
+Requires-Python: >=3.7
Description-Content-Type: text/markdown
## Typing stubs for protobuf
-This is a PEP 561 type stub package for the `protobuf` package.
-It can be used by type-checking tools like mypy, PyCharm, pytype etc. to check code
-that uses `protobuf`. The source for this package can be found at
-https://github.com/python/typeshed/tree/master/stubs/protobuf. All fixes for
+This is a [PEP 561](https://peps.python.org/pep-0561/)
+type stub package for the [`protobuf`](https://github.com/protocolbuffers/protobuf) package.
+It can be used by type-checking tools like
+[mypy](https://github.com/python/mypy/),
+[pyright](https://github.com/microsoft/pyright),
+[pytype](https://github.com/google/pytype/),
+PyCharm, etc. to check code that uses
+`protobuf`.
+
+This version of `types-protobuf` aims to provide accurate annotations
+for `protobuf==4.24.*`.
+The source for this package can be found at
+https://github.com/python/typeshed/tree/main/stubs/protobuf. All fixes for
types and metadata should be contributed there.
-Generated with aid from mypy-protobuf v3.4.0
+Generated using [mypy-protobuf==3.5.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.5.0) on protobuf==4.21.8
+
+This stub package is marked as [partial](https://peps.python.org/pep-0561/#partial-stub-packages).
+If you find that annotations are missing, feel free to contribute and help complete them.
+
-See https://github.com/python/typeshed/blob/master/README.md for more details.
-This package was generated from typeshed commit `f43ee406f155b563856551fb7215cb03fdef8e2d`.
+See https://github.com/python/typeshed/blob/main/README.md for more details.
+This package was generated from typeshed commit `9d345b4df42939b697a84ee461a8760eb674050e` and was tested
+with mypy 1.6.1, pyright 1.1.332, and
+pytype 2023.10.17.
diff --git a/contrib/python/types-protobuf/google-stubs/METADATA.toml b/contrib/python/types-protobuf/google-stubs/METADATA.toml
index 06628e4dcc..7ee1107f03 100644
--- a/contrib/python/types-protobuf/google-stubs/METADATA.toml
+++ b/contrib/python/types-protobuf/google-stubs/METADATA.toml
@@ -1,2 +1,7 @@
-version = "3.20.*"
-extra_description = "Generated with aid from mypy-protobuf v3.4.0"
+version = "4.24.*"
+upstream_repository = "https://github.com/protocolbuffers/protobuf"
+extra_description = "Generated using [mypy-protobuf==3.5.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.5.0) on protobuf==4.21.8"
+partial_stub = true
+
+[tool.stubtest]
+ignore_missing_stub = true
diff --git a/contrib/python/types-protobuf/ya.make b/contrib/python/types-protobuf/ya.make
index 5e5ba3f5c1..4fb5c85b88 100644
--- a/contrib/python/types-protobuf/ya.make
+++ b/contrib/python/types-protobuf/ya.make
@@ -2,7 +2,7 @@
PY3_LIBRARY()
-VERSION(3.20.4.1)
+VERSION(4.24.0.4)
LICENSE(Apache-2.0)
@@ -10,7 +10,6 @@ NO_LINT()
PY_SRCS(
TOP_LEVEL
- google-stubs/__init__.pyi
google-stubs/protobuf/__init__.pyi
google-stubs/protobuf/any_pb2.pyi
google-stubs/protobuf/api_pb2.pyi
@@ -24,6 +23,7 @@ PY_SRCS(
google-stubs/protobuf/field_mask_pb2.pyi
google-stubs/protobuf/internal/__init__.pyi
google-stubs/protobuf/internal/api_implementation.pyi
+ google-stubs/protobuf/internal/builder.pyi
google-stubs/protobuf/internal/containers.pyi
google-stubs/protobuf/internal/decoder.pyi
google-stubs/protobuf/internal/encoder.pyi