Update to work with --incompatible_use_python_toolchains (#188)
Added `python_version = "PY2"` to some examples, and updated subpar dependency.
diff --git a/WORKSPACE b/WORKSPACE
index 37decfa..296055f 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -81,7 +81,7 @@
git_repository(
name = "subpar",
remote = "https://github.com/google/subpar",
- commit = "0356bef3fbbabec5f0e196ecfacdeb6db62d48c0", # 2019-03-07
+ tag = "2.0.0",
)
###################################
diff --git a/examples/extras/BUILD b/examples/extras/BUILD
index 94880ce..04498ad 100644
--- a/examples/extras/BUILD
+++ b/examples/extras/BUILD
@@ -26,4 +26,5 @@
# Make sure that we can resolve the "extra" dependency
requirement("googleapis-common-protos[grpc]"),
],
+ python_version = "PY2",
)
diff --git a/examples/helloworld/BUILD b/examples/helloworld/BUILD
index f1ee906..854f701 100644
--- a/examples/helloworld/BUILD
+++ b/examples/helloworld/BUILD
@@ -28,4 +28,5 @@
name = "helloworld_test",
srcs = ["helloworld_test.py"],
deps = [":helloworld"],
+ python_version = "PY2",
)