File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,11 @@ steps:
3636 role : " auto-ops"
3737 profile : " apim-dev"
3838 aws_account : ${{ parameters.aws_account_type }}
39-
39+ - bash : |
40+ pyenv install -s 3.11.12
41+ pyenv global 3.11.12
42+ python --version
43+ displayName: Set Python 3.11
4044 - bash : |
4145 set -e
4246 if ! [[ $APIGEE_ENVIRONMENT =~ .*-*sandbox ]]; then
Original file line number Diff line number Diff line change @@ -36,6 +36,11 @@ if [ ! -d "$BUILD_DIR" ]; then
3636 exit 1
3737fi
3838
39+ pyenv install -s 3.11.12
40+ pyenv global 3.11.12
41+ python --version
42+
43+
3944# Check for poetry and python3.11
4045command -v poetry > /dev/null 2>&1 || { echo " ❌ poetry not found. Please install poetry." ; exit 1; }
4146command -v python3.11 > /dev/null 2>&1 || { echo " ❌ python3.11 not found. Please install Python 3.11." ; exit 1; }
You can’t perform that action at this time.
0 commit comments