Skip to content

Commit

Permalink
Update the Python package scripts to use Python 3.11 explicitly.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 572426991
  • Loading branch information
michaelreneer authored and tensorflower-gardener committed Oct 11, 2023
1 parent e1eef3c commit 8b52ba2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/build_pip_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/publish_pip_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/test_pip_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b52ba2

Please sign in to comment.