From c7137aeda6804d59c9819b5de8f5ea4d5d764dd6 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 4 Jul 2019 12:21:51 -0400 Subject: [PATCH] build_defs/pkg/make_deb.py needs python2 Force us to use python2 especially for scenarios where both python2 and 3 are both installed as `make bazel-release` fails currently. Change-Id: I70bc45909ca87e5cf7ccdbddf60740a8a3e7e58b --- build/root/.bazelrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/root/.bazelrc b/build/root/.bazelrc index 916f56cd752..68fac57dd14 100644 --- a/build/root/.bazelrc +++ b/build/root/.bazelrc @@ -1,5 +1,8 @@ startup --expand_configs_in_place +# Force us to use python2 +build --host_force_python=PY2 + # Show us information about failures. build --verbose_failures test --test_output=errors