Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fdbb17a

Browse filesBrowse 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
Copy full SHA for fdbb17a

File tree

3 files changed

+3
-1
lines changed
Filter options

3 files changed

+3
-1
lines changed

‎WORKSPACE

Copy file name to clipboardExpand all lines: WORKSPACE
+1-1Lines 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

Copy file name to clipboardExpand all lines: examples/extras/BUILD
+1Lines 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

Copy file name to clipboardExpand all lines: examples/helloworld/BUILD
+1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.