Specify that the python benchmark requires python 3 (#10402)

pull/10404/head
Mike Kruskal 3 years ago committed by GitHub
parent caff3c21e6
commit ce1cd3dec2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      benchmarks/python/BUILD.bazel

@ -22,6 +22,7 @@ py_binary(
name = "python_benchmark",
srcs = ["py_benchmark.py"],
data = ["libbenchmark_messages.so"],
python_version = "PY3",
env = select({
"//python:use_fast_cpp_protos": {"PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION": "cpp"},
"//conditions:default": {"PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION": "python"},

Loading…
Cancel
Save