Skip to content

Commit 6a616c8

Browse files
Update the Python package scripts to use Python 3.11 explicitly.
PiperOrigin-RevId: 572423663
1 parent e1eef3c commit 6a616c8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tools/build_pip_package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ main() {
2222
trap "rm -rf ${temp_dir}" EXIT
2323

2424
# Create a virtual environment
25-
python3.10 -m venv "${temp_dir}/venv"
25+
python3.11 -m venv "${temp_dir}/venv"
2626
source "${temp_dir}/venv/bin/activate"
2727
python --version
2828
pip install --upgrade pip

tools/publish_pip_package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ main() {
2222
trap "rm -rf ${temp_dir}" EXIT
2323

2424
# Create a virtual environment
25-
python3.10 -m venv "${temp_dir}/venv"
25+
python3.11 -m venv "${temp_dir}/venv"
2626
source "${temp_dir}/venv/bin/activate"
2727
python --version
2828
pip install --upgrade pip

tools/test_pip_package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ main() {
2222
trap "rm -rf ${temp_dir}" EXIT
2323

2424
# Create a virtual environment
25-
python3.10 -m venv "${temp_dir}/venv"
25+
python3.11 -m venv "${temp_dir}/venv"
2626
source "${temp_dir}/venv/bin/activate"
2727
python --version
2828
pip install --upgrade pip

0 commit comments

Comments
 (0)