diff options
author | heretic <heretic@yandex-team.ru> | 2022-03-25 12:34:53 +0300 |
---|---|---|
committer | heretic <heretic@yandex-team.ru> | 2022-03-25 12:34:53 +0300 |
commit | a41f3739eed6fceb6f62056a7620d220958a47e7 (patch) | |
tree | 278103258b510cb4a96761ea79d6ccd397ca05a0 /contrib/libs/grpc/src/python/grpcio_channelz | |
parent | 73d3613a82e5c217fcbe0ab8bbf8120c1ed1af55 (diff) | |
download | ydb-a41f3739eed6fceb6f62056a7620d220958a47e7.tar.gz |
Update grpc to 1.43.2 DTCC-864
ref:50a492c335cda70f458797cf945e49fe739c2715
Diffstat (limited to 'contrib/libs/grpc/src/python/grpcio_channelz')
6 files changed, 10 insertions, 15 deletions
diff --git a/contrib/libs/grpc/src/python/grpcio_channelz/README.rst b/contrib/libs/grpc/src/python/grpcio_channelz/README.rst index d66d0c4f92..526b34ac83 100644 --- a/contrib/libs/grpc/src/python/grpcio_channelz/README.rst +++ b/contrib/libs/grpc/src/python/grpcio_channelz/README.rst @@ -5,11 +5,7 @@ Channelz is a live debug tool in gRPC Python. Supported Python Versions ------------------------- -Python >= 3.5 - -Deprecated Python Versions --------------------------- -Python == 2.7. Python 2.7 support will be removed on January 1, 2020. +Python >= 3.6 Dependencies ------------ diff --git a/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/_async.py b/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/_async.py index 3f0d93fdc3..463f5e14dc 100644 --- a/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/_async.py +++ b/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/_async.py @@ -14,10 +14,10 @@ """AsyncIO version of Channelz servicer.""" from grpc.experimental import aio - +from grpc_channelz.v1._servicer import \ + ChannelzServicer as _SyncChannelzServicer import grpc_channelz.v1.channelz_pb2 as _channelz_pb2 import grpc_channelz.v1.channelz_pb2_grpc as _channelz_pb2_grpc -from grpc_channelz.v1._servicer import ChannelzServicer as _SyncChannelzServicer class ChannelzServicer(_channelz_pb2_grpc.ChannelzServicer): diff --git a/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/_servicer.py b/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/_servicer.py index 6ba28f56a3..2d44976ec1 100644 --- a/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/_servicer.py +++ b/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/_servicer.py @@ -13,14 +13,12 @@ # limitations under the License. """Channelz debug service implementation in gRPC Python.""" +from google.protobuf import json_format import grpc from grpc._cython import cygrpc - import grpc_channelz.v1.channelz_pb2 as _channelz_pb2 import grpc_channelz.v1.channelz_pb2_grpc as _channelz_pb2_grpc -from google.protobuf import json_format - class ChannelzServicer(_channelz_pb2_grpc.ChannelzServicer): """Servicer handling RPCs for service statuses.""" diff --git a/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/channelz.py b/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/channelz.py index 508fad5397..605150b79a 100644 --- a/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/channelz.py +++ b/contrib/libs/grpc/src/python/grpcio_channelz/grpc_channelz/v1/channelz.py @@ -14,10 +14,10 @@ """Channelz debug service implementation in gRPC Python.""" import sys -import grpc -import grpc_channelz.v1.channelz_pb2_grpc as _channelz_pb2_grpc +import grpc from grpc_channelz.v1._servicer import ChannelzServicer +import grpc_channelz.v1.channelz_pb2_grpc as _channelz_pb2_grpc _add_channelz_servicer_doc = """Add Channelz servicer to a server. diff --git a/contrib/libs/grpc/src/python/grpcio_channelz/grpc_version.py b/contrib/libs/grpc/src/python/grpcio_channelz/grpc_version.py index 197b529922..34edb1e08c 100644 --- a/contrib/libs/grpc/src/python/grpcio_channelz/grpc_version.py +++ b/contrib/libs/grpc/src/python/grpcio_channelz/grpc_version.py @@ -14,4 +14,4 @@ # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_channelz/grpc_version.py.template`!!! -VERSION = '1.37.1' +VERSION = '1.43.2' diff --git a/contrib/libs/grpc/src/python/grpcio_channelz/setup.py b/contrib/libs/grpc/src/python/grpcio_channelz/setup.py index 678b5ef13f..cec1ea2ee9 100644 --- a/contrib/libs/grpc/src/python/grpcio_channelz/setup.py +++ b/contrib/libs/grpc/src/python/grpcio_channelz/setup.py @@ -47,8 +47,6 @@ class _NoOpCommand(setuptools.Command): CLASSIFIERS = [ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', @@ -56,6 +54,7 @@ CLASSIFIERS = [ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'License :: OSI Approved :: Apache Software License', ] @@ -70,6 +69,7 @@ INSTALL_REQUIRES = ( try: import channelz_commands as _channelz_commands + # we are in the build environment, otherwise the above import fails SETUP_REQUIRES = ('grpcio-tools=={version}'.format( version=grpc_version.VERSION),) @@ -98,6 +98,7 @@ setuptools.setup( url='https://grpc.io', package_dir=PACKAGE_DIRECTORIES, packages=setuptools.find_packages('.'), + python_requires='>=3.6', install_requires=INSTALL_REQUIRES, setup_requires=SETUP_REQUIRES, cmdclass=COMMAND_CLASS) |