From 8b52ba246c405974d331f3d7c0fc1edcebcecff3 Mon Sep 17 00:00:00 2001 From: Michael Reneer Date: Tue, 10 Oct 2023 18:43:25 -0700 Subject: [PATCH] Update the Python package scripts to use Python 3.11 explicitly. PiperOrigin-RevId: 572426991 --- 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 529e6f0..decb50c 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 d29b32b..42dcf76 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 0c582a5..0f6a772 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