summaryrefslogtreecommitdiffstats
path: root/contrib/libs/grpc/src/python
diff options
context:
space:
mode:
authoralexv-smirnov <[email protected]>2023-03-15 19:59:12 +0300
committeralexv-smirnov <[email protected]>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /contrib/libs/grpc/src/python
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'contrib/libs/grpc/src/python')
-rw-r--r--contrib/libs/grpc/src/python/grpcio/ya.make99
-rw-r--r--contrib/libs/grpc/src/python/grpcio_tests/ya.make144
2 files changed, 243 insertions, 0 deletions
diff --git a/contrib/libs/grpc/src/python/grpcio/ya.make b/contrib/libs/grpc/src/python/grpcio/ya.make
new file mode 100644
index 00000000000..465a8fc7d3b
--- /dev/null
+++ b/contrib/libs/grpc/src/python/grpcio/ya.make
@@ -0,0 +1,99 @@
+PY23_LIBRARY()
+
+LICENSE(Apache-2.0)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+PEERDIR(
+ contrib/libs/grpc
+ contrib/python/six
+)
+
+IF (PYTHON2)
+ PEERDIR(
+ contrib/deprecated/python/enum34
+ contrib/deprecated/python/futures
+ )
+ENDIF()
+
+ADDINCL(
+ ${ARCADIA_BUILD_ROOT}/contrib/libs/grpc
+ contrib/libs/grpc
+ contrib/libs/grpc/include
+)
+
+IF (SANITIZER_TYPE == undefined)
+ # https://github.com/grpc/grpc/blob/v1.15.1/tools/bazel.rc#L43
+ CXXFLAGS(-fno-sanitize=function)
+ENDIF()
+
+NO_LINT()
+
+NO_COMPILER_WARNINGS()
+
+PY_SRCS(
+ TOP_LEVEL
+ grpc/__init__.py
+ grpc/_auth.py
+ grpc/_channel.py
+ grpc/_common.py
+ grpc/_compression.py
+ grpc/_cython/__init__.py
+ grpc/_cython/_cygrpc/__init__.py
+ grpc/_cython/cygrpc.pyx
+ grpc/_grpcio_metadata.py
+ grpc/_interceptor.py
+ grpc/_plugin_wrapping.py
+ grpc/_runtime_protos.py
+ grpc/_server.py
+ grpc/_utilities.py
+ grpc/beta/__init__.py
+ grpc/beta/_client_adaptations.py
+ grpc/beta/_metadata.py
+ grpc/beta/_server_adaptations.py
+ grpc/beta/implementations.py
+ grpc/beta/interfaces.py
+ grpc/beta/utilities.py
+ grpc/experimental/__init__.py
+ grpc/experimental/gevent.py
+ grpc/experimental/session_cache.py
+ grpc/framework/__init__.py
+ grpc/framework/common/__init__.py
+ grpc/framework/common/cardinality.py
+ grpc/framework/common/style.py
+ grpc/framework/foundation/__init__.py
+ grpc/framework/foundation/abandonment.py
+ grpc/framework/foundation/callable_util.py
+ grpc/framework/foundation/future.py
+ grpc/framework/foundation/logging_pool.py
+ grpc/framework/foundation/stream.py
+ grpc/framework/foundation/stream_util.py
+ grpc/framework/interfaces/__init__.py
+ grpc/framework/interfaces/base/__init__.py
+ grpc/framework/interfaces/base/base.py
+ grpc/framework/interfaces/base/utilities.py
+ grpc/framework/interfaces/face/__init__.py
+ grpc/framework/interfaces/face/face.py
+ grpc/framework/interfaces/face/utilities.py
+)
+
+IF (PYTHON3)
+ PY_SRCS(
+ TOP_LEVEL
+ grpc/_simple_stubs.py
+ grpc/aio/_base_call.py
+ grpc/aio/_base_channel.py
+ grpc/aio/_base_server.py
+ grpc/aio/_call.py
+ grpc/aio/_channel.py
+ grpc/aio/__init__.py
+ grpc/aio/_interceptor.py
+ grpc/aio/_metadata.py
+ grpc/aio/_server.py
+ grpc/aio/_typing.py
+ grpc/aio/_utils.py
+ grpc/experimental/aio/__init__.py
+ )
+ENDIF()
+
+END()
diff --git a/contrib/libs/grpc/src/python/grpcio_tests/ya.make b/contrib/libs/grpc/src/python/grpcio_tests/ya.make
new file mode 100644
index 00000000000..11ac47ae693
--- /dev/null
+++ b/contrib/libs/grpc/src/python/grpcio_tests/ya.make
@@ -0,0 +1,144 @@
+PY3TEST()
+
+LICENSE(Apache-2.0)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+PEERDIR(
+ contrib/python/grpcio
+)
+
+NO_LINT()
+
+PY_SRCS(
+ TOP_LEVEL
+ # tests/_sanity/__init__.py
+ # tests/testing/proto/__init__.py
+ # tests/testing/__init__.py
+ # tests/testing/_application_common.py
+ # tests/testing/_application_testing_common.py
+ # tests/testing/_client_application.py
+ # tests/testing/_client_test.py
+ # tests/testing/_server_application.py
+ # tests/testing/_server_test.py
+ # tests/testing/_time_test.py
+ tests/unit/__init__.py
+ tests/unit/_cython/__init__.py
+ tests/unit/_cython/_common.py
+ tests/unit/_cython/test_utilities.py
+ tests/unit/_exit_scenarios.py
+ tests/unit/_from_grpc_import_star.py
+ tests/unit/_rpc_test_helpers.py
+ tests/unit/_server_shutdown_scenarios.py
+ tests/unit/_signal_client.py
+ tests/unit/_tcp_proxy.py
+ tests/unit/beta/__init__.py
+ tests/unit/beta/test_utilities.py
+ tests/unit/framework/__init__.py
+ tests/unit/framework/common/__init__.py
+ tests/unit/framework/common/test_constants.py
+ tests/unit/framework/common/test_control.py
+ tests/unit/framework/common/test_coverage.py
+ tests/unit/framework/foundation/__init__.py
+ tests/unit/resources.py
+ tests/unit/test_common.py
+ tests/unit/thread_pool.py
+ # protofiles
+ # tests/interop/__init__.py
+ # tests/interop/_intraop_test_case.py
+ # tests/interop/client.py
+ # tests/interop/methods.py
+ # tests/interop/resources.py
+ # tests/interop/server.py
+ # tests/interop/service.py
+ # protofiles
+ # tests/fork/__init__.py
+ # tests/fork/client.py
+ # tests/fork/methods.py
+ # protofiles
+ # tests/__init__.py
+ # tests/_loader.py
+ # tests/_result.py
+ # tests/_runner.py
+)
+
+TEST_SRCS(
+ # coverage
+ # tests/_sanity/_sanity_test.py
+ tests/unit/_api_test.py
+ tests/unit/_abort_test.py
+ # CRASH
+ # tests/unit/_auth_context_test.py
+ tests/unit/_auth_test.py
+ tests/unit/_channel_args_test.py
+ tests/unit/_channel_close_test.py
+ tests/unit/_channel_connectivity_test.py
+ tests/unit/_channel_ready_future_test.py
+ # FLAKY
+ # tests/unit/_compression_test.py
+ tests/unit/_contextvars_propagation_test.py
+ tests/unit/_credentials_test.py
+ tests/unit/_cython/_cancel_many_calls_test.py
+ tests/unit/_cython/_channel_test.py
+ tests/unit/_cython/_fork_test.py
+ tests/unit/_cython/_no_messages_server_completion_queue_per_call_test.py
+ tests/unit/_cython/_no_messages_single_server_completion_queue_test.py
+ tests/unit/_cython/_read_some_but_not_all_responses_test.py
+ tests/unit/_cython/_server_test.py
+ tests/unit/_cython/cygrpc_test.py
+ tests/unit/_dns_resolver_test.py
+ tests/unit/_dynamic_stubs_test.py
+ tests/unit/_empty_message_test.py
+ tests/unit/_error_message_encoding_test.py
+ tests/unit/_exit_test.py
+ tests/unit/_grpc_shutdown_test.py
+ tests/unit/_interceptor_test.py
+ tests/unit/_invalid_metadata_test.py
+ tests/unit/_invocation_defects_test.py
+ tests/unit/_local_credentials_test.py
+ tests/unit/_logging_test.py
+ tests/unit/_metadata_code_details_test.py
+ tests/unit/_metadata_flags_test.py
+ tests/unit/_metadata_test.py
+ tests/unit/_reconnect_test.py
+ tests/unit/_resource_exhausted_test.py
+ tests/unit/_rpc_part_1_test.py
+ tests/unit/_rpc_part_2_test.py
+ tests/unit/_server_shutdown_test.py
+ tests/unit/_xds_credentials_test.py
+ # tests.testing
+ # tests/unit/_server_ssl_cert_config_test.py
+ tests/unit/_server_test.py
+ tests/unit/_server_wait_for_termination_test.py
+ # CRASH
+ # tests/unit/_session_cache_test.py
+ tests/unit/_signal_handling_test.py
+ tests/unit/_version_test.py
+ tests/unit/beta/_beta_features_test.py
+ tests/unit/beta/_connectivity_channel_test.py
+ # oauth2client
+ # tests/unit/beta/_implementations_test.py
+ tests/unit/beta/_not_found_test.py
+ tests/unit/beta/_utilities_test.py
+ tests/unit/framework/foundation/_logging_pool_test.py
+ tests/unit/framework/foundation/stream_testing.py
+ # protofiles
+ # tests/interop/_insecure_intraop_test.py
+ # tests/interop/_secure_intraop_test.py
+ # tests/fork/_fork_interop_test.py
+)
+
+SIZE(MEDIUM)
+
+RESOURCE_FILES(
+ PREFIX contrib/libs/grpc/src/python/grpcio_tests/
+ tests/unit/credentials/ca.pem
+ tests/unit/credentials/server1.key
+ tests/unit/credentials/server1.pem
+)
+
+EXPLICIT_DATA()
+
+REQUIREMENTS(network:full)
+
+END()