Skip to content

Commit c89434d

Browse files
Use python 3.7.9 consistently in automation
1 parent 4eefb63 commit c89434d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.factory/automation.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ build:
7070
type: foreground
7171
command: |
7272
export PYENV_ROOT="/opt/pyenv"
73-
pyenv install 3.7.12
74-
pyenv global 3.7.12
73+
pyenv install 3.7.9
74+
pyenv global 3.7.9
7575
sudo unlink /usr/bin/python3
7676
sudo ln -s $(which python3) /usr/bin/python3
77-
sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.7.12/lib/python3.7/site-packages/lsb_release.py
77+
sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.7.9/lib/python3.7/site-packages/lsb_release.py
7878
export DEPLOY_PIP_USERNAME=$REPO_VATICLE_USERNAME
7979
export DEPLOY_PIP_PASSWORD=$REPO_VATICLE_PASSWORD
8080
bazel run --define version=$(git rev-parse HEAD) //grpc/python:deploy-pip -- snapshot
@@ -120,11 +120,11 @@ release:
120120
image: vaticle-ubuntu-22.04
121121
command: |
122122
export PYENV_ROOT="/opt/pyenv"
123-
pyenv install 3.7.12
124-
pyenv global 3.7.12
123+
pyenv install 3.7.9
124+
pyenv global 3.7.9
125125
sudo unlink /usr/bin/python3
126126
sudo ln -s $(which python3) /usr/bin/python3
127-
sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.7.12/lib/python3.7/site-packages/lsb_release.py
127+
sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.7.9/lib/python3.7/site-packages/lsb_release.py
128128
export DEPLOY_PIP_USERNAME=$REPO_PYPI_USERNAME
129129
export DEPLOY_PIP_PASSWORD=$REPO_PYPI_PASSWORD
130130
bazel run --define version=$(cat VERSION) //grpc/python:deploy-pip -- release

0 commit comments

Comments
 (0)