message: Export PYENV_VERSION for subprocesses
diff: @@ -24,8 +24,8 @@ export DEVELOPER_DIR=/Applications/Xcode_10.3.app/Contents/Developer
  sudo xcode-select -s "${DEVELOPER_DIR}"
  # Set up py39 via pyenv and check it worked
  -PY_VERSION=3.9.1
  -setup_python_from_pyenv_macos "${PY_VERSION}"
  +export PYENV_VERSION=3.9.1
  +setup_python_from_pyenv_macos "${PYENV_VERSION}"
  # Set up and install MacOS pip dependencies.
  install_macos_pip_deps
  @@ -43,7 +43,7 @@ yes "" | "$PYTHON_BIN_PATH" configure.py
  # Build the pip package
  # Pass PYENV_VERSION since we're using pyenv. See b/182399580
  bazel build \
  - --action_env PYENV_VERSION="${PY_VERSION}" \
  + --action_env PYENV_VERSION="$PYENV_VERSION" \
  --config=release_cpu_macos \
  -- \
  tensorflow/tools/pip_package:build_pip_package
  