From d64d46ed220343c0acbcd00b94f46eee21b74e87 Mon Sep 17 00:00:00 2001 From: Michael Reneer Date: Tue, 10 Oct 2023 15:07:32 -0700 Subject: [PATCH] Update the Python package scripts to use Python 3.11 explicitly. PiperOrigin-RevId: 572378469 --- tools/build_pip_package.sh | 2 +- tools/publish_pip_package.sh | 2 +- tools/test_pip_package.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/build_pip_package.sh b/tools/build_pip_package.sh index 529e6f0ef..decb50c97 100755 --- a/tools/build_pip_package.sh +++ b/tools/build_pip_package.sh @@ -22,7 +22,7 @@ main() { trap "rm -rf ${temp_dir}" EXIT # Create a virtual environment - python3.10 -m venv "${temp_dir}/venv" + python3.11 -m venv "${temp_dir}/venv" source "${temp_dir}/venv/bin/activate" python --version pip install --upgrade pip diff --git a/tools/publish_pip_package.sh b/tools/publish_pip_package.sh index d29b32b8f..42dcf7609 100755 --- a/tools/publish_pip_package.sh +++ b/tools/publish_pip_package.sh @@ -22,7 +22,7 @@ main() { trap "rm -rf ${temp_dir}" EXIT # Create a virtual environment - python3.10 -m venv "${temp_dir}/venv" + python3.11 -m venv "${temp_dir}/venv" source "${temp_dir}/venv/bin/activate" python --version pip install --upgrade pip diff --git a/tools/test_pip_package.sh b/tools/test_pip_package.sh index 0c582a53c..0f6a77227 100755 --- a/tools/test_pip_package.sh +++ b/tools/test_pip_package.sh @@ -22,7 +22,7 @@ main() { trap "rm -rf ${temp_dir}" EXIT # Create a virtual environment - python3.10 -m venv "${temp_dir}/venv" + python3.11 -m venv "${temp_dir}/venv" source "${temp_dir}/venv/bin/activate" python --version pip install --upgrade pip