Skip to content

Commit fdbb17a

Browse files
authored
Update to work with --incompatible_use_python_toolchains (bazel-contrib#188)
Added `python_version = "PY2"` to some examples, and updated subpar dependency.
1 parent 6b6aedd commit fdbb17a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ _piptool_install()
8181
git_repository(
8282
name = "subpar",
8383
remote = "https://github.com/google/subpar",
84-
commit = "0356bef3fbbabec5f0e196ecfacdeb6db62d48c0", # 2019-03-07
84+
tag = "2.0.0",
8585
)
8686

8787
###################################

examples/extras/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ py_test(
2626
# Make sure that we can resolve the "extra" dependency
2727
requirement("googleapis-common-protos[grpc]"),
2828
],
29+
python_version = "PY2",
2930
)

examples/helloworld/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ py_test(
2828
name = "helloworld_test",
2929
srcs = ["helloworld_test.py"],
3030
deps = [":helloworld"],
31+
python_version = "PY2",
3132
)

0 commit comments

Comments
 (0)