From 7ca022acc80c2194d7006dd5d9e4efc1b5150f54 Mon Sep 17 00:00:00 2001 From: Dan Moldovan Date: Sat, 27 Apr 2019 07:35:12 -0700 Subject: [PATCH] Internal change. PiperOrigin-RevId: 245566538 --- tensorflow/python/autograph/converters/BUILD | 16 ---------------- tensorflow/python/autograph/core/BUILD | 4 ---- tensorflow/python/autograph/lang/BUILD | 1 - tensorflow/python/autograph/operators/BUILD | 8 -------- .../autograph/pyct/common_transformers/BUILD | 1 - .../python/autograph/pyct/static_analysis/BUILD | 3 --- tensorflow/python/autograph/utils/BUILD | 6 ------ 7 files changed, 39 deletions(-) diff --git a/tensorflow/python/autograph/converters/BUILD b/tensorflow/python/autograph/converters/BUILD index 245dfcd86d8..d53491862e9 100644 --- a/tensorflow/python/autograph/converters/BUILD +++ b/tensorflow/python/autograph/converters/BUILD @@ -49,7 +49,6 @@ py_library( py_test( name = "arg_defaults_test", srcs = ["arg_defaults_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":converters", @@ -61,7 +60,6 @@ py_test( py_test( name = "asserts_test", srcs = ["asserts_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":converters", @@ -73,7 +71,6 @@ py_test( py_test( name = "break_statements_test", srcs = ["break_statements_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":converters", @@ -85,7 +82,6 @@ py_test( py_test( name = "call_trees_test", srcs = ["call_trees_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", tags = ["no_windows"], deps = [ @@ -99,7 +95,6 @@ py_test( py_test( name = "conditional_expressions_test", srcs = ["conditional_expressions_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":converters", @@ -111,7 +106,6 @@ py_test( py_test( name = "continue_statements_test", srcs = ["continue_statements_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":converters", @@ -123,7 +117,6 @@ py_test( py_test( name = "control_flow_test", srcs = ["control_flow_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":converters", @@ -135,7 +128,6 @@ py_test( py_test( name = "directives_test", srcs = ["directives_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":converters", @@ -148,7 +140,6 @@ py_test( py_test( name = "function_scopes_test", srcs = ["function_scopes_test.py"], - python_version = "PY2", deps = [ ":converters", "//tensorflow/python:client_testlib", @@ -160,7 +151,6 @@ py_test( py_test( name = "list_comprehensions_test", srcs = ["list_comprehensions_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":converters", @@ -172,7 +162,6 @@ py_test( py_test( name = "lists_test", srcs = ["lists_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":converters", @@ -184,7 +173,6 @@ py_test( py_test( name = "logical_expressions_test", srcs = ["logical_expressions_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":converters", @@ -196,7 +184,6 @@ py_test( py_test( name = "side_effect_guards_test", srcs = ["side_effect_guards_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", tags = ["notsan"], deps = [ @@ -209,7 +196,6 @@ py_test( py_test( name = "return_statements_test", srcs = ["return_statements_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":converters", @@ -222,7 +208,6 @@ py_test( py_test( name = "error_handlers_test", srcs = ["error_handlers_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":converters", @@ -235,7 +220,6 @@ py_test( py_test( name = "slices_test", srcs = ["slices_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":converters", diff --git a/tensorflow/python/autograph/core/BUILD b/tensorflow/python/autograph/core/BUILD index c2a1294e2fc..fae327e50db 100644 --- a/tensorflow/python/autograph/core/BUILD +++ b/tensorflow/python/autograph/core/BUILD @@ -56,7 +56,6 @@ py_library( py_test( name = "converter_test", srcs = ["converter_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":core", @@ -68,7 +67,6 @@ py_test( py_test( name = "errors_test", srcs = ["errors_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":core", @@ -84,7 +82,6 @@ py_test( py_test( name = "function_wrapping_test", srcs = ["function_wrapping_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":core", @@ -95,7 +92,6 @@ py_test( py_test( name = "naming_test", srcs = ["naming_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":core", diff --git a/tensorflow/python/autograph/lang/BUILD b/tensorflow/python/autograph/lang/BUILD index 5593b80add2..462349cc10a 100644 --- a/tensorflow/python/autograph/lang/BUILD +++ b/tensorflow/python/autograph/lang/BUILD @@ -32,7 +32,6 @@ py_library( py_test( name = "special_functions_test", srcs = ["special_functions_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":lang", diff --git a/tensorflow/python/autograph/operators/BUILD b/tensorflow/python/autograph/operators/BUILD index 77ac98b1934..167f9d81477 100644 --- a/tensorflow/python/autograph/operators/BUILD +++ b/tensorflow/python/autograph/operators/BUILD @@ -50,7 +50,6 @@ py_library( py_test( name = "data_structures_test", srcs = ["data_structures_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":operators", @@ -61,7 +60,6 @@ py_test( py_test( name = "control_flow_test", srcs = ["control_flow_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", tags = [ "no_gpu", # b/127001953 @@ -75,7 +73,6 @@ py_test( py_test( name = "exceptions_test", srcs = ["exceptions_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":operators", @@ -86,7 +83,6 @@ py_test( py_test( name = "logical_test", srcs = ["logical_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":operators", @@ -97,7 +93,6 @@ py_test( py_test( name = "py_builtins_test", srcs = ["py_builtins_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", tags = ["no_windows"], deps = [ @@ -109,7 +104,6 @@ py_test( py_test( name = "slices_test", srcs = ["slices_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":operators", @@ -120,7 +114,6 @@ py_test( py_test( name = "special_values_test", srcs = ["special_values_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":operators", @@ -131,7 +124,6 @@ py_test( py_test( name = "symbols_test", srcs = ["symbols_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":operators", diff --git a/tensorflow/python/autograph/pyct/common_transformers/BUILD b/tensorflow/python/autograph/pyct/common_transformers/BUILD index bba9dcf4bab..1106a19de1b 100644 --- a/tensorflow/python/autograph/pyct/common_transformers/BUILD +++ b/tensorflow/python/autograph/pyct/common_transformers/BUILD @@ -33,7 +33,6 @@ py_library( py_test( name = "anf_test", srcs = ["anf_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", tags = ["no_oss"], deps = [ diff --git a/tensorflow/python/autograph/pyct/static_analysis/BUILD b/tensorflow/python/autograph/pyct/static_analysis/BUILD index 76dccbad4dc..f1b50f7f633 100644 --- a/tensorflow/python/autograph/pyct/static_analysis/BUILD +++ b/tensorflow/python/autograph/pyct/static_analysis/BUILD @@ -35,7 +35,6 @@ py_library( py_test( name = "activity_test", srcs = ["activity_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":static_analysis", @@ -48,7 +47,6 @@ py_test( py_test( name = "liveness_test", srcs = ["liveness_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":static_analysis", @@ -60,7 +58,6 @@ py_test( py_test( name = "reaching_definitions_test", srcs = ["reaching_definitions_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":static_analysis", diff --git a/tensorflow/python/autograph/utils/BUILD b/tensorflow/python/autograph/utils/BUILD index 27bac7eee2e..f5e0dbf00bf 100644 --- a/tensorflow/python/autograph/utils/BUILD +++ b/tensorflow/python/autograph/utils/BUILD @@ -46,7 +46,6 @@ py_library( py_test( name = "context_managers_test", srcs = ["context_managers_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":utils", @@ -57,7 +56,6 @@ py_test( py_test( name = "misc_test", srcs = ["misc_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":utils", @@ -68,7 +66,6 @@ py_test( py_test( name = "py_func_test", srcs = ["py_func_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", tags = ["no_windows"], deps = [ @@ -80,7 +77,6 @@ py_test( py_test( name = "type_check_test", srcs = ["type_check_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":utils", @@ -91,7 +87,6 @@ py_test( py_test( name = "tensor_list_test", srcs = ["tensor_list_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":utils", @@ -103,7 +98,6 @@ py_test( py_test( name = "tensors_test", srcs = ["tensors_test.py"], - python_version = "PY2", srcs_version = "PY2AND3", deps = [ ":utils",