Migrate rules_cc to python 3

PiperOrigin-RevId: 298802233
Change-Id: I55930fa7e8dd621afdef8586ba81752344aa1f99
diff --git a/tools/migration/BUILD b/tools/migration/BUILD
index 2ddd447..0cef4ae 100644
--- a/tools/migration/BUILD
+++ b/tools/migration/BUILD
@@ -25,7 +25,7 @@
 py_binary(
     name = "legacy_fields_migrator",
     srcs = ["legacy_fields_migrator.py"],
-    python_version = "PY2",
+    python_version = "PY3",
     deps = [
         ":legacy_fields_migration_lib",
         "//third_party/com/github/bazelbuild/bazel/src/main/protobuf:crosstool_config_py_pb2",
@@ -45,7 +45,7 @@
 py_test(
     name = "legacy_fields_migration_lib_test",
     srcs = ["legacy_fields_migration_lib_test.py"],
-    python_version = "PY2",
+    python_version = "PY3",
     deps = [
         ":legacy_fields_migration_lib",
         "//third_party/com/github/bazelbuild/bazel/src/main/protobuf:crosstool_config_py_pb2",
@@ -55,7 +55,7 @@
 py_binary(
     name = "crosstool_query",
     srcs = ["crosstool_query.py"],
-    python_version = "PY2",
+    python_version = "PY3",
     deps = [
         "//third_party/com/github/bazelbuild/bazel/src/main/protobuf:crosstool_config_py_pb2",
         "@io_abseil_py//absl:app",
@@ -66,7 +66,7 @@
 py_binary(
     name = "ctoolchain_comparator",
     srcs = ["ctoolchain_comparator.py"],
-    python_version = "PY2",
+    python_version = "PY3",
     deps = [
         ":ctoolchain_comparator_lib",
         "//third_party/com/github/bazelbuild/bazel/src/main/protobuf:crosstool_config_py_pb2",
@@ -86,7 +86,7 @@
 py_test(
     name = "ctoolchain_comparator_lib_test",
     srcs = ["ctoolchain_comparator_lib_test.py"],
-    python_version = "PY2",
+    python_version = "PY3",
     deps = [
         ":ctoolchain_comparator_lib",
         "//third_party/com/github/bazelbuild/bazel/src/main/protobuf:crosstool_config_py_pb2",