Remove pyenv calls but log the python 3 version in use.

Apparently our Kokoro VM images don't have pyenv -- I previously tested this on
the Kokoro QA shared pool.

PiperOrigin-RevId: 284855160
This commit is contained in:
Brad Burlage 2019-12-10 14:54:04 -08:00 committed by gVisor bot
parent 87337e92e3
commit a0aa784ecf
1 changed files with 1 additions and 5 deletions

View File

@ -23,11 +23,7 @@ if command -v use_bazel.sh >/dev/null; then
fi
bazel version
# We need to use python 3.6 (the Kokoro PY3 default is 3.4) to compile `//...`
# because benchmarktools requires a version of `requests` that is not a
# available in 3.4.
pyenv versions
pyenv global 3.6.1
python3 -V
readonly KYTHE_VERSION='v0.0.37'
readonly WORKDIR="$(mktemp -d)"