File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -613,7 +613,7 @@ jobs:
613613 -e CLI_VERSION=$CLI_VERSION \
614614 -e HOMEBREW_UPSTREAM_URL=$HOMEBREW_UPSTREAM_URL \
615615 --name azurecli \
616- mcr.microsoft.com/azurelinux/base/python:3 \
616+ mcr.microsoft.com/azurelinux/base/python:3.12 \
617617 /mnt/scripts/run.sh
618618
619619 # clean up
Original file line number Diff line number Diff line change 1+ # Pin setuptools<82 because homebrew-pypi-poet (abandoned since 2018) uses pkg_resources
2+ # which was removed in setuptools 82+. See https://github.com/Azure/azure-cli/issues/32800
3+ setuptools < 82
14homebrew-pypi-poet ~= 0.10.0
25jinja2 ~= 3.1.6
36requests >= 2.20.0
Original file line number Diff line number Diff line change 22
33root=$( cd $( dirname $0 ) ; pwd)
44
5- tdnf install -y ca-certificates
5+ if command -v tdnf & > /dev/null; then
6+ # Azure Linux
7+ tdnf install -y ca-certificates
8+ elif command -v apt-get & > /dev/null; then
9+ # Debian/Ubuntu
10+ apt-get update && apt-get install -y ca-certificates
11+ fi
612
713pip install wheel
814pip install -U pip
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ docker run -v $docker_files:/mnt/scripts \
1717 -e CLI_VERSION=$CLI_VERSION \
1818 -e HOMEBREW_UPSTREAM_URL=$HOMEBREW_UPSTREAM_URL \
1919 --name azurecli \
20- python:3.6 \
20+ python:3.12-bookworm \
2121 /mnt/scripts/run.sh
2222
2323# clean up
You can’t perform that action at this time.
0 commit comments