Skip to content

Commit

Permalink
refactor(sh): install_azurecli
Browse files Browse the repository at this point in the history
Set Python 3.11 as conda environment for azurecli.
  • Loading branch information
szymonos committed Nov 20, 2023
1 parent 9e3a28b commit 87531eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .assets/provision/install_azurecli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ unset __conda_setup
# install azure-cli in dedicated environment
if ! conda env list | grep -qw '^azurecli'; then
if uname -r 2>&1 | grep -qw 'WSL2'; then
conda create --name azurecli --yes python=3.10 pip
conda create --name azurecli --yes python=3.11 pip
else
# https://github.com/conda/conda/issues/12051
conda create --name azurecli --yes python=3.10 pip numpy-base
conda create --name azurecli --yes python=3.11 pip numpy-base
fi
fi
conda activate azurecli
Expand Down

0 comments on commit 87531eb

Please sign in to comment.