Skip to content

Commit

Permalink
Delete redundant srcs_version BUILD rules.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 246372114
  • Loading branch information
cweill committed May 2, 2019
1 parent eaebf35 commit 3c24e64
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 24 deletions.
2 changes: 0 additions & 2 deletions adanet/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ py_library(
"__init__.py",
"version.py",
],
srcs_version = "PY2AND3",
visibility = ["//visibility:public"],
deps = [
"//adanet/autoensemble",
Expand All @@ -24,7 +23,6 @@ py_library(
py_test(
name = "adanet_test",
srcs = ["adanet_test.py"],
srcs_version = "PY2AND3",
deps = [
":adanet",
"//adanet/examples",
Expand Down
2 changes: 0 additions & 2 deletions adanet/autoensemble/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ py_library(
srcs = [
"estimator.py",
],
srcs_version = "PY2AND3",
deps = [
"//adanet/core",
],
Expand All @@ -28,7 +27,6 @@ py_library(
py_test(
name = "estimator_test",
srcs = ["estimator_test.py"],
srcs_version = "PY2AND3",
deps = [
":estimator",
"@absl_py//absl/testing:parameterized",
Expand Down
13 changes: 0 additions & 13 deletions adanet/core/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ py_test(
size = "large",
srcs = ["estimator_test.py"],
shard_count = 40,
srcs_version = "PY2AND3",
deps = [
":ensemble_builder",
":estimator",
Expand All @@ -67,7 +66,6 @@ py_test(
],
flaky = 1,
shard_count = 10,
srcs_version = "PY2AND3",
deps = [
":estimator",
":timer",
Expand Down Expand Up @@ -105,7 +103,6 @@ py_library(
py_test(
name = "tpu_estimator_test",
srcs = ["tpu_estimator_test.py"],
srcs_version = "PY2AND3",
deps = [
":testing_utils",
":tpu_estimator",
Expand All @@ -124,7 +121,6 @@ py_library(
py_test(
name = "candidate_test",
srcs = ["candidate_test.py"],
srcs_version = "PY2AND3",
deps = [
":candidate",
":testing_utils",
Expand All @@ -147,7 +143,6 @@ py_library(
py_test(
name = "iteration_test",
srcs = ["iteration_test.py"],
srcs_version = "PY2AND3",
deps = [
":candidate",
":ensemble_builder",
Expand All @@ -170,7 +165,6 @@ py_library(
py_test(
name = "evaluator_test",
srcs = ["evaluator_test.py"],
srcs_version = "PY2AND3",
deps = [
":evaluator",
":testing_utils",
Expand All @@ -192,7 +186,6 @@ py_library(
py_test(
name = "ensemble_builder_test",
srcs = ["ensemble_builder_test.py"],
srcs_version = "PY2AND3",
deps = [
":ensemble_builder",
":summary",
Expand All @@ -214,7 +207,6 @@ py_library(
py_test(
name = "eval_metrics_test",
srcs = ["eval_metrics_test.py"],
srcs_version = "PY2AND3",
deps = [
":architecture",
":candidate",
Expand All @@ -235,7 +227,6 @@ py_library(
py_test(
name = "summary_test",
srcs = ["summary_test.py"],
srcs_version = "PY2AND3",
deps = [
":summary",
":testing_utils",
Expand All @@ -252,7 +243,6 @@ py_library(
py_test(
name = "timer_test",
srcs = ["timer_test.py"],
srcs_version = "PY2AND3",
deps = [
":timer",
],
Expand Down Expand Up @@ -301,7 +291,6 @@ py_library(
py_test(
name = "report_accessor_test",
srcs = ["report_accessor_test.py"],
srcs_version = "PY2AND3",
deps = [
":report_accessor",
"//adanet/subnetwork",
Expand All @@ -320,7 +309,6 @@ py_library(
py_test(
name = "report_materializer_test",
srcs = ["report_materializer_test.py"],
srcs_version = "PY2AND3",
deps = [
":report_materializer",
":testing_utils",
Expand All @@ -337,7 +325,6 @@ py_library(
py_test(
name = "architecture_test",
srcs = ["architecture_test.py"],
srcs_version = "PY2AND3",
deps = [
":architecture",
"@absl_py//absl/testing:parameterized",
Expand Down
2 changes: 0 additions & 2 deletions adanet/distributed/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ py_library(
py_test(
name = "devices_test",
srcs = ["devices_test.py"],
srcs_version = "PY2AND3",
deps = [
":devices",
"@absl_py//absl/testing:parameterized",
Expand All @@ -40,7 +39,6 @@ py_library(
py_test(
name = "placement_test",
srcs = ["placement_test.py"],
srcs_version = "PY2AND3",
deps = [
":placement",
"@absl_py//absl/testing:parameterized",
Expand Down
2 changes: 0 additions & 2 deletions adanet/ensemble/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ py_library(
py_test(
name = "strategy_test",
srcs = ["strategy_test.py"],
srcs_version = "PY2AND3",
deps = [
":ensemble",
"//adanet/subnetwork",
Expand All @@ -53,7 +52,6 @@ py_library(
py_test(
name = "weighted_test",
srcs = ["weighted_test.py"],
srcs_version = "PY2AND3",
deps = [
":ensemble",
"//adanet/core",
Expand Down
1 change: 0 additions & 1 deletion adanet/examples/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ py_library(
py_test(
name = "simple_dnn_test",
srcs = ["simple_dnn_test.py"],
srcs_version = "PY2AND3",
deps = [
":simple_dnn",
"@absl_py//absl/testing:parameterized",
Expand Down
2 changes: 0 additions & 2 deletions adanet/subnetwork/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ py_library(
py_test(
name = "generator_test",
srcs = ["generator_test.py"],
srcs_version = "PY2AND3",
deps = [
":generator",
"//adanet/tf_compat",
Expand All @@ -44,7 +43,6 @@ py_library(
py_test(
name = "report_test",
srcs = ["report_test.py"],
srcs_version = "PY2AND3",
deps = [
":report",
"@absl_py//absl/testing:parameterized",
Expand Down

0 comments on commit 3c24e64

Please sign in to comment.