Update the Python package scripts to use Python 3.11 explicitly.

PiperOrigin-RevId: 572426991
This commit is contained in:
Michael Reneer 2023-10-10 18:43:25 -07:00 committed by A. Unique TensorFlower
parent e1eef3c251
commit 8b52ba246c
3 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ main() {
trap "rm -rf ${temp_dir}" EXIT trap "rm -rf ${temp_dir}" EXIT
# Create a virtual environment # Create a virtual environment
python3.10 -m venv "${temp_dir}/venv" python3.11 -m venv "${temp_dir}/venv"
source "${temp_dir}/venv/bin/activate" source "${temp_dir}/venv/bin/activate"
python --version python --version
pip install --upgrade pip pip install --upgrade pip

View file

@ -22,7 +22,7 @@ main() {
trap "rm -rf ${temp_dir}" EXIT trap "rm -rf ${temp_dir}" EXIT
# Create a virtual environment # Create a virtual environment
python3.10 -m venv "${temp_dir}/venv" python3.11 -m venv "${temp_dir}/venv"
source "${temp_dir}/venv/bin/activate" source "${temp_dir}/venv/bin/activate"
python --version python --version
pip install --upgrade pip pip install --upgrade pip

View file

@ -22,7 +22,7 @@ main() {
trap "rm -rf ${temp_dir}" EXIT trap "rm -rf ${temp_dir}" EXIT
# Create a virtual environment # Create a virtual environment
python3.10 -m venv "${temp_dir}/venv" python3.11 -m venv "${temp_dir}/venv"
source "${temp_dir}/venv/bin/activate" source "${temp_dir}/venv/bin/activate"
python --version python --version
pip install --upgrade pip pip install --upgrade pip