Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove v1 Python Grpcio codegen backend #10108

Merged
merged 1 commit into from Jun 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion examples/3rdparty/python/requirements.txt
@@ -1,4 +1,3 @@
grpcio==1.16.1
protobuf==3.6.1
tensorflow==1.14.0
thrift>=0.10.0
9 changes: 0 additions & 9 deletions examples/src/protobuf/org/pantsbuild/example/BUILD
Expand Up @@ -5,7 +5,6 @@ target(
name = 'all_directories',
dependencies = [
':distance_directory',
':grpcio_directory',
':imports_directory',
':unpacked_jars_directory',
],
Expand All @@ -16,14 +15,6 @@ files(
sources = ['distance/**/*'],
)

files(
name = 'grpcio_directory',
sources = ['grpcio/**/*'],
dependencies = [
'examples:3rdparty_directory',
],
)

files(
name = 'imports_directory',
sources = ['imports/**/*'],
Expand Down
10 changes: 0 additions & 10 deletions examples/src/protobuf/org/pantsbuild/example/grpcio/imports/BUILD

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions examples/src/python/example/BUILD
Expand Up @@ -4,7 +4,6 @@
target(
name = 'all_directories',
dependencies = [
':grpcio_directory',
':hello_directory',
':pants_publish_plugin_directory',
':tensorflow_custom_op_directory',
Expand All @@ -28,15 +27,6 @@ page(
]
)

files(
name='grpcio_directory',
sources=['grpcio/**/*'],
dependencies = [
'examples/3rdparty:python_directory',
'examples/src/protobuf/org/pantsbuild/example:grpcio_directory',
],
)

files(
name='hello_directory',
sources=['hello/**/*'],
Expand Down
Empty file.
20 changes: 0 additions & 20 deletions examples/src/python/example/grpcio/client/BUILD

This file was deleted.

Empty file.
38 changes: 0 additions & 38 deletions examples/src/python/example/grpcio/client/imports_client.py

This file was deleted.

36 changes: 0 additions & 36 deletions examples/src/python/example/grpcio/client/service_client.py

This file was deleted.

13 changes: 0 additions & 13 deletions examples/src/python/example/grpcio/server/BUILD

This file was deleted.

Empty file.
49 changes: 0 additions & 49 deletions examples/src/python/example/grpcio/server/server.py

This file was deleted.

6 changes: 0 additions & 6 deletions src/docs/common_tasks/BUILD
Expand Up @@ -137,9 +137,3 @@ page(
name='thrift_gen',
sources=['thrift_gen.md'],
)


page(
name='python_proto_gen',
sources=['python_proto_gen.md'],
)
49 changes: 0 additions & 49 deletions src/docs/common_tasks/python_proto_gen.md

This file was deleted.

2 changes: 0 additions & 2 deletions src/docs/docsite.json
Expand Up @@ -113,7 +113,6 @@
"test_suite": "dist/markdown/html/src/docs/common_tasks/test_suite.html",
"thrift_deps": "dist/markdown/html/examples/src/thrift/org/pantsbuild/example/README.html",
"thrift_gen": "dist/markdown/html/src/docs/common_tasks/thrift_gen.html",
"grpcio_gen": "dist/markdown/html/src/docs/common_tasks/python_proto_gen.html",
"tshoot": "dist/markdown/html/src/docs/tshoot.html",
"why_use_pants": "dist/markdown/html/src/docs/why_use_pants.html"
},
Expand Down Expand Up @@ -191,7 +190,6 @@
{"heading": "Code & Doc Generation"},
{"pages" : [
"thrift_deps",
"grpcio_gen",
"page"
]
},
Expand Down
1 change: 0 additions & 1 deletion src/python/pants/backend/codegen/BUILD
Expand Up @@ -7,7 +7,6 @@ python_library(
'src/python/pants/backend/codegen/protobuf/java',
'src/python/pants/backend/codegen/thrift/java',
'src/python/pants/backend/codegen/thrift/python',
'src/python/pants/backend/codegen/grpcio/python',
'src/python/pants/build_graph',
'src/python/pants/goal:task_registrar',
],
Expand Down
Empty file.
22 changes: 0 additions & 22 deletions src/python/pants/backend/codegen/grpcio/python/BUILD

This file was deleted.

Empty file.
14 changes: 0 additions & 14 deletions src/python/pants/backend/codegen/grpcio/python/grpcio.py

This file was deleted.