Update the Python package scripts to use Python 3.11 explicitly.
PiperOrigin-RevId: 572426991
This commit is contained in:
parent
e1eef3c251
commit
8b52ba246c
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue