Skip to content

Commit

Permalink
Remove srcs_version and python_version attributes, as they alread…
Browse files Browse the repository at this point in the history
…y default to `"PY3"`

PiperOrigin-RevId: 723649359
  • Loading branch information
oprypin authored and copybara-github committed Feb 5, 2025
1 parent ed886be commit f8f1c86
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
4 changes: 0 additions & 4 deletions tensorflow_federated/python/core/impl/executor_stacks/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ licenses(["notice"])
py_library(
name = "executor_stacks",
srcs = ["__init__.py"],
srcs_version = "PY3",
visibility = ["//tools/python_package:python_package_tool"],
)

py_library(
name = "cpp_executor_factory",
srcs = ["cpp_executor_factory.py"],
srcs_version = "PY3",
tags = [
"nokokoro", # b/193543632: C++ execution is not fully supported in OSS.
],
Expand Down Expand Up @@ -70,7 +68,6 @@ py_library(
py_library(
name = "executor_stack_bindings",
srcs = ["executor_stack_bindings.py"],
srcs_version = "PY3",
tags = [
"nokokoro", # b/193543632: C++ execution is not fully supported in OSS.
],
Expand Down Expand Up @@ -98,7 +95,6 @@ py_test(
py_library(
name = "python_executor_stacks",
srcs = ["python_executor_stacks.py"],
srcs_version = "PY3",
deps = [
"//tensorflow_federated/python/common_libs:py_typecheck",
"@federated_language//federated_language",
Expand Down
9 changes: 0 additions & 9 deletions tensorflow_federated/python/core/impl/executors/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ licenses(["notice"])
py_library(
name = "executors",
srcs = ["__init__.py"],
srcs_version = "PY3",
visibility = ["//tools/python_package:python_package_tool"],
)

Expand Down Expand Up @@ -57,7 +56,6 @@ py_test(
py_library(
name = "data_conversions",
srcs = ["data_conversions.py"],
srcs_version = "PY3",
deps = ["@federated_language//federated_language"],
)

Expand All @@ -73,7 +71,6 @@ py_test(
py_library(
name = "executor_bindings",
srcs = ["executor_bindings.py"],
srcs_version = "PY3",
tags = [
"nokokoro", # b/193543632: C++ execution is not fully supported in OSS.
],
Expand Down Expand Up @@ -111,7 +108,6 @@ py_library(
py_library(
name = "executor_utils",
srcs = ["executor_utils.py"],
srcs_version = "PY3",
deps = [
"//tensorflow_federated/python/common_libs:py_typecheck",
"@federated_language//federated_language",
Expand All @@ -130,14 +126,12 @@ py_test(
py_library(
name = "executors_errors",
srcs = ["executors_errors.py"],
srcs_version = "PY3",
deps = ["@federated_language//federated_language"],
)

py_library(
name = "remote_executor",
srcs = ["remote_executor.py"],
srcs_version = "PY3",
deps = [
":executors_errors",
":remote_executor_stub",
Expand Down Expand Up @@ -165,14 +159,12 @@ py_test(
py_library(
name = "remote_executor_stub",
srcs = ["remote_executor_stub.py"],
srcs_version = "PY3",
deps = ["//tensorflow_federated/proto/v0:executor_py_pb2"],
)

py_library(
name = "remote_executor_grpc_stub",
srcs = ["remote_executor_grpc_stub.py"],
srcs_version = "PY3",
deps = [
":executors_errors",
":remote_executor_stub",
Expand All @@ -198,7 +190,6 @@ py_test(
py_library(
name = "value_serialization",
srcs = ["value_serialization.py"],
srcs_version = "PY3",
deps = [
":executor_utils",
"//tensorflow_federated/proto/v0:executor_py_pb2",
Expand Down

0 comments on commit f8f1c86

Please sign in to comment.