Skip to content

Commit c066a59

Browse files
committed
upgrade typing_extensions in Azure CLI to fix fialure in create Azure AKS artifacts step
1 parent 89306b3 commit c066a59

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

scripts/azure-aks/deployment/generate-deployment-artifacts.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ for f in ${INPUT_FILES[@]}; do
5252
done
5353

5454
az version
55+
# Upgrade typing_extensions to fix pydantic-core compatibility issue with confcom extension
56+
# The confcom extension requires typing_extensions>=4.10.0 for the Sentinel class
57+
sudo /opt/az/bin/python3 -m pip install --upgrade typing_extensions
58+
5559
# Install confcom extension, az is originally available in GitHub workflow environment
5660
az extension add --name confcom
5761
if [[ $? -ne 0 ]]; then

scripts/azure-cc/deployment/generate-deployment-artifacts.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ for f in ${INPUT_FILES[@]}; do
5555
done
5656

5757
az version
58+
# Upgrade typing_extensions to fix pydantic-core compatibility issue with confcom extension
59+
# The confcom extension requires typing_extensions>=4.10.0 for the Sentinel class
60+
sudo /opt/az/bin/python3 -m pip install --upgrade typing_extensions
61+
5862
# Install confcom extension, az is originally available in GitHub workflow environment
5963
az extension add --name confcom
6064
if [[ $? -ne 0 ]]; then

0 commit comments

Comments
 (0)