mirror of https://github.com/grpc/grpc.git
Merge pull request #17268 from mehrdada/remove-beta-elements-from-bazel
Remove beta module dependency from the Python Bazel packagepull/17288/head
commit
e0d9692fa3
4 changed files with 0 additions and 135 deletions
@ -1,58 +0,0 @@ |
||||
load("@grpc_python_dependencies//:requirements.bzl", "requirement") |
||||
package(default_visibility = ["//visibility:public"]) |
||||
|
||||
py_library( |
||||
name = "beta", |
||||
srcs = ["__init__.py",], |
||||
deps = [ |
||||
":client_adaptations", |
||||
":metadata", |
||||
":server_adaptations", |
||||
":implementations", |
||||
":interfaces", |
||||
":utilities", |
||||
], |
||||
) |
||||
|
||||
py_library( |
||||
name = "client_adaptations", |
||||
srcs = ["_client_adaptations.py"], |
||||
imports=["../../",] |
||||
) |
||||
|
||||
py_library( |
||||
name = "metadata", |
||||
srcs = ["_metadata.py"], |
||||
) |
||||
|
||||
py_library( |
||||
name = "server_adaptations", |
||||
srcs = ["_server_adaptations.py"], |
||||
imports=["../../",], |
||||
) |
||||
|
||||
py_library( |
||||
name = "implementations", |
||||
srcs = ["implementations.py"], |
||||
imports=["../../",], |
||||
) |
||||
|
||||
py_library( |
||||
name = "interfaces", |
||||
srcs = ["interfaces.py"], |
||||
deps = [ |
||||
requirement("six"), |
||||
], |
||||
imports=["../../",], |
||||
) |
||||
|
||||
py_library( |
||||
name = "utilities", |
||||
srcs = ["utilities.py"], |
||||
deps = [ |
||||
":implementations", |
||||
":interfaces", |
||||
"//src/python/grpcio/grpc/framework/foundation", |
||||
], |
||||
) |
||||
|
@ -1,75 +0,0 @@ |
||||
load("@grpc_python_dependencies//:requirements.bzl", "requirement") |
||||
|
||||
package(default_visibility = ["//visibility:public"]) |
||||
|
||||
py_library( |
||||
name = "test_utilities", |
||||
srcs = ["test_utilities.py"], |
||||
deps = [ |
||||
"//src/python/grpcio/grpc:grpcio", |
||||
], |
||||
) |
||||
|
||||
py_test( |
||||
name = "_beta_features_test", |
||||
srcs = ["_beta_features_test.py"], |
||||
main = "_beta_features_test.py", |
||||
size = "small", |
||||
deps = [ |
||||
"//src/python/grpcio/grpc:grpcio", |
||||
"//src/python/grpcio_tests/tests/unit:resources", |
||||
"//src/python/grpcio_tests/tests/unit/framework/common", |
||||
":test_utilities", |
||||
], |
||||
imports=["../../../",], |
||||
) |
||||
|
||||
py_test( |
||||
name = "_connectivity_channel_test", |
||||
srcs = ["_connectivity_channel_test.py"], |
||||
main = "_connectivity_channel_test.py", |
||||
size = "small", |
||||
deps = [ |
||||
"//src/python/grpcio/grpc:grpcio", |
||||
], |
||||
) |
||||
|
||||
# TODO(ghostwriternr): To be added later. |
||||
#py_test( |
||||
# name = "_implementations_test", |
||||
# srcs = ["_implementations_test.py"], |
||||
# main = "_implementations_test.py", |
||||
# size = "small", |
||||
# deps = [ |
||||
# "//src/python/grpcio/grpc:grpcio", |
||||
# "//src/python/grpcio_tests/tests/unit:resources", |
||||
# requirement('oauth2client'), |
||||
# ], |
||||
# imports=["../../../",], |
||||
#) |
||||
|
||||
py_test( |
||||
name = "_not_found_test", |
||||
srcs = ["_not_found_test.py"], |
||||
main = "_not_found_test.py", |
||||
size = "small", |
||||
deps = [ |
||||
"//src/python/grpcio/grpc:grpcio", |
||||
"//src/python/grpcio_tests/tests/unit/framework/common", |
||||
], |
||||
imports=["../../../",], |
||||
) |
||||
|
||||
py_test( |
||||
name = "_utilities_test", |
||||
srcs = ["_utilities_test.py"], |
||||
main = "_utilities_test.py", |
||||
size = "small", |
||||
deps = [ |
||||
"//src/python/grpcio/grpc:grpcio", |
||||
"//src/python/grpcio_tests/tests/unit/framework/common", |
||||
], |
||||
imports=["../../../",], |
||||
) |
||||
|
||||
|
Loading…
Reference in new issue