Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
4f78dbd
Update azure-mgmt-sql Package to 4.0.0b22
mohitagarwal-sql Aug 1, 2025
eb6156a
Draft
lixiachena Aug 1, 2025
ea13e61
Record tests
mohitagarwal-sql Aug 5, 2025
49ab117
record more tests
mohitagarwal-sql Aug 5, 2025
e9f06e4
Update some tests
lixiachena Aug 6, 2025
8d42ead
Add time_based_immutability_mode test
lixiachena Aug 6, 2025
43e5bae
Add examples
lixiachena Aug 6, 2025
213c9db
Update tests
lixiachena Aug 6, 2025
afabe92
Merge branch 'dev' of https://github.com/mohitagarwal-sql/azure-cli i…
mohitagarwal-sql Aug 14, 2025
cf3f48a
[RDBMS] `az postgres flexible-server create/update/restore`: Premium …
nasc17 Aug 15, 2025
9f420e7
{Compute} `az vm create`: Fix API version when fetching virtual netwo…
necusjz Aug 18, 2025
30a3d83
{Network} StandardV2 Sku and Public IP V6 for Nat Gateway and Public …
cxznmhdcxz Aug 19, 2025
3c8e330
[App Service] `az functionapp flex-migration`: Create commands to mig…
kamperiadis Aug 20, 2025
77ef1c5
[Packaging] Support Python 3.13 (#31895)
bebound Aug 20, 2025
ea4455b
Record more tests after resolving entra auth issue
mohitagarwal-sql Aug 20, 2025
125ab87
{CI} Disable `partnercenter` extension test (#31967)
bebound Aug 21, 2025
3cc5311
{Storage} Remove DATA_STORAGE and DATA_COSMOS_TABLE client type refer…
calvinhzy Aug 21, 2025
5392a52
[Packaging] Bump embedded Python to 3.13.7 (#31928)
bebound Aug 21, 2025
f793596
[Core] Add global policy arguments `--acquire-policy-token` and `--ch…
evelyn-ys Aug 21, 2025
5679cd8
{AKS} Vendor new SDK and bump API version to 2025-07-01 (#31972)
FumingZhang Aug 21, 2025
58c8b02
[RDBMS] `az postgres flexible-server update`: BUG FIX, bypass fabric …
nasc17 Aug 21, 2025
f87bc09
{Compute} `az vmss start`: Migrate to CodeGen based (#31909)
naga-nandyala Aug 21, 2025
604774c
[Compute] `az disk create/grant-access`: Support Confidential VM OS D…
yanzhudd Aug 22, 2025
2efe55a
[AKS] `az aks create/update`: Change `--enable-azure-container-storag…
nearora-msft Aug 22, 2025
3d3f70c
[AKS] `az aks create/update`: Add `--sku` parameter to support for au…
xmzhao0822 Aug 24, 2025
b4136bd
{Compute} `vmss delete-instances`: migrate to codegen based command (…
DanielMicrosoft Aug 25, 2025
ca969f7
[AKS] `az aks update`: Fix typo on validation error for disabling Azu…
nearora-msft Aug 25, 2025
e63b732
[Network] `az network vnet-gateway`: Support VNET Gateway insights (#…
Shubhika-1795 Aug 25, 2025
e41a787
{CosmosDB} `az cosmosdb restore`: Fix test where a future time is inc…
calvinhzy Aug 25, 2025
2e749d6
Fix and record some more failing tests
mohitagarwal-sql Aug 25, 2025
be770fe
[App Config] `az appconfig kv import`: Support importing key-values f…
RichardChen820 Aug 25, 2025
10efe2d
{AKS} `az aks enable-addons --addon monitoring`: handle existing link…
zanejohnson-azure Aug 25, 2025
da3f0c6
[ACR] `az acr task create`: Fix error message when `--context` is not…
kvnyuMSFT Aug 25, 2025
34fc1ee
Record some more MI tests
mohitagarwal-sql Aug 25, 2025
ca47d7b
[MySQL] `az mysql flexible-server upgrade`: Add new version 8.4 (#31998)
honghr Aug 26, 2025
523f565
[Network] `az network vnet-gateway`: Support VNET Gateway failover (#…
Shubhika-1795 Aug 26, 2025
24a5d2c
[Backup] `az backup restore restore-azurefileshare`: Fix a bug where …
IannGeorges Aug 26, 2025
9508b2c
[Service Fabric] Fix #5338: `az sf cluster create`: Fix the bug where…
iliu816 Aug 26, 2025
ed0af96
{ARM} `az policy`: Rewrite Azure Policy CRUD commands using auto-gene…
mentat9 Aug 26, 2025
f50f1d5
[Service Fabric] Fix #5180: `az sf cluster create`: Change behavior t…
iliu816 Aug 26, 2025
441e4ce
[Compute] `az snapshot create`: Add new parameter `--instant-access-d…
Jing-song Aug 26, 2025
054b8c6
{CI} Update SBOM task conditions to trigger on BatchedCI (#31994)
wangzelin007 Aug 26, 2025
c789524
{CI} Sync resourceManagement.yml according To ADO Wiki Page - Service…
azclibot Aug 26, 2025
fac161e
{Core} `aaz`: Wrap `functools.partial` in `staticmethod()` to remove …
RenSilvaAU Aug 26, 2025
7bcc832
[Service Fabric] `az sf managed-application update`: Add breaking cha…
iliu816 Aug 26, 2025
e80c115
Fix network and monitor tests, with some more sql modules test.
mohitagarwal-sql Aug 26, 2025
387b2e4
{Release} Upgrade to Azure CLI 2.77.0 (#32002)
azclibot Aug 26, 2025
0b0ade6
Fix some issues:
lixiachena Aug 26, 2025
8ffe3d1
[SQL] `az sql server create`: Add `--tags` parameter to supply tags (…
a0x1ab Aug 27, 2025
dee0c01
{AKS} Change the location for automatic feature recording (#32006)
xmzhao0822 Aug 27, 2025
040da29
[SQL] Update azure-mgmt-sql Package from 4.0.0b21 to 4.0.0b22 (#31904)
mohitagarwal-sql Aug 27, 2025
4bc92d3
{CDN} Add support for 1P version compare (#32001)
Ptnan7 Aug 27, 2025
9295779
Add is-preview
lixiachena Aug 27, 2025
eb02c95
Sync to the latest version
lixiachena Aug 27, 2025
b4499f3
Draft
lixiachena Aug 1, 2025
998655f
Update some tests
lixiachena Aug 6, 2025
c5ae150
Add time_based_immutability_mode test
lixiachena Aug 6, 2025
f30a959
Add examples
lixiachena Aug 6, 2025
ff027cd
Update tests
lixiachena Aug 6, 2025
c560394
Fix some issues:
lixiachena Aug 26, 2025
47b35f3
Record tests
mohitagarwal-sql Aug 5, 2025
0e4da4e
record more tests
mohitagarwal-sql Aug 5, 2025
8245aa7
Record more tests after resolving entra auth issue
mohitagarwal-sql Aug 20, 2025
f55e336
Fix and record some more failing tests
mohitagarwal-sql Aug 25, 2025
a0fd50a
Record some more MI tests
mohitagarwal-sql Aug 25, 2025
5308263
Fix network and monitor tests, with some more sql modules test.
mohitagarwal-sql Aug 26, 2025
4325b6f
Sync to the latest version
lixiachena Aug 27, 2025
fe5a271
Merge branch 'lich/immutable' of https://github.com/lixiachena/azure-…
lixiachena Aug 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .azure-pipelines/breaking-change-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
fetchDepth: 0
fetchTags: true
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
displayName: 'Use Python 3.13'
inputs:
versionSpec: 3.12
versionSpec: 3.13
- template: ${{ variables.Pipeline.Workspace }}/.azure-pipelines/templates/azdev_setup.yml
- bash: |
set -ev
Expand Down
23 changes: 19 additions & 4 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -632,8 +632,8 @@ configuration:
then:
- mentionUsers:
mentionees:
- cabbpt
- theelderwand
- muazmian
- us6193
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
assignMentionees: False
- if:
Expand Down Expand Up @@ -1448,6 +1448,19 @@ configuration:
- NateB2
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
assignMentionees: False
- if:
- hasLabel:
label: Service Attention
- hasLabel:
label: Data Transfer
then:
- mentionUsers:
mentionees:
- fzkhan
- lasuredd-msft
- pkuma-msft
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
assignMentionees: False
- if:
- hasLabel:
label: Service Attention
Expand Down Expand Up @@ -1941,7 +1954,7 @@ configuration:
- mentionUsers:
mentionees:
- ambhatna
- savjani
- deepthiprasad
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
assignMentionees: False
- if:
Expand Down Expand Up @@ -2208,6 +2221,7 @@ configuration:
- mentionUsers:
mentionees:
- AzMonEssential
- LarryZhang19
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
assignMentionees: False
- if:
Expand Down Expand Up @@ -2280,7 +2294,7 @@ configuration:
- mentionUsers:
mentionees:
- ambhatna
- savjani
- deepthiprasad
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
assignMentionees: False
- if:
Expand All @@ -2293,6 +2307,7 @@ configuration:
mentionees:
- daeunyim
- rajsell
- deepthiprasad
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
assignMentionees: False
- if:
Expand Down
12 changes: 6 additions & 6 deletions azure-pipelines-full-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ variables:
- template: ${{ variables.Pipeline.Workspace }}/.azure-pipelines/templates/variables.yml

jobs:
- job: AutomationFullTestPython39ProfileLatest
displayName: Automation Full Test Python39 Profile Latest
- job: AutomationFullTestPython312ProfileLatest
displayName: Automation Full Test Python312 Profile Latest
timeoutInMinutes: 9999
strategy:
maxParallel: 8
Expand All @@ -43,15 +43,15 @@ jobs:
steps:
- template: .azure-pipelines/templates/automation_test.yml
parameters:
pythonVersion: '3.9'
pythonVersion: '3.12'
profile: 'latest'
instance_cnt: '8'
instance_idx: '$(Instance_idx)'
fullTest: true
jobName: 'FullTest'

- job: AutomationFullTestPython312ProfileLatest
displayName: Automation Full Test Python312 Profile Latest
- job: AutomationFullTestPython313ProfileLatest
displayName: Automation Full Test Python313 Profile Latest
timeoutInMinutes: 9999
strategy:
maxParallel: 8
Expand All @@ -77,7 +77,7 @@ jobs:
steps:
- template: .azure-pipelines/templates/automation_test.yml
parameters:
pythonVersion: '3.12'
pythonVersion: '3.13'
profile: 'latest'
instance_cnt: '8'
instance_idx: '$(Instance_idx)'
Expand Down
70 changes: 39 additions & 31 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ jobs:

steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
displayName: 'Use Python 3.13'
inputs:
versionSpec: 3.12
versionSpec: 3.13

- bash: ./scripts/ci/dependency_check.sh
displayName: 'Verify src/azure-cli/requirements.py3.Linux.txt'
Expand All @@ -146,9 +146,9 @@ jobs:

steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
displayName: 'Use Python 3.13'
inputs:
versionSpec: 3.12
versionSpec: 3.13

- bash: ./scripts/ci/dependency_check.sh
displayName: 'Verify src/azure-cli/requirements.py3.Darwin.txt'
Expand All @@ -161,9 +161,9 @@ jobs:

steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
displayName: 'Use Python 3.13'
inputs:
versionSpec: 3.12
versionSpec: 3.13

- task: BatchScript@1
inputs:
Expand All @@ -178,9 +178,9 @@ jobs:
name: ${{ variables.ubuntu_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
displayName: 'Use Python 3.13'
inputs:
versionSpec: 3.12
versionSpec: 3.13
- template: .azure-pipelines/templates/azdev_setup.yml
- bash: |
set -ev
Expand Down Expand Up @@ -226,6 +226,7 @@ jobs:

- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
displayName: 'SBOM'
condition: eq(variables['Build.Reason'], 'BatchedCI')
continueOnError: true
inputs:
BuildDropPath: 'build_scripts/windows/out/'
Expand Down Expand Up @@ -271,6 +272,7 @@ jobs:

- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
displayName: 'SBOM'
condition: eq(variables['Build.Reason'], 'BatchedCI')
continueOnError: true
inputs:
BuildDropPath: 'build_scripts/windows/out/'
Expand Down Expand Up @@ -372,6 +374,7 @@ jobs:

- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
displayName: 'SBOM'
condition: eq(variables['Build.Reason'], 'BatchedCI')
continueOnError: true
inputs:
BuildDropPath: $(Build.ArtifactStagingDirectory)
Expand Down Expand Up @@ -433,9 +436,9 @@ jobs:
name: ${{ variables.ubuntu_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
displayName: 'Use Python 3.13'
inputs:
versionSpec: 3.12
versionSpec: 3.13

- task: PipAuthenticate@1
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/release')
Expand All @@ -454,6 +457,7 @@ jobs:

- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
displayName: 'SBOM'
condition: eq(variables['Build.Reason'], 'BatchedCI')
continueOnError: true
inputs:
BuildDropPath: $(Build.ArtifactStagingDirectory)
Expand All @@ -468,10 +472,10 @@ jobs:
displayName: Test Python Wheels
strategy:
matrix:
Python39:
python.version: '3.9'
Python312:
python.version: '3.12'
Python313:
python.version: '3.13'
dependsOn: BuildPythonWheel
condition: succeeded()
pool:
Expand Down Expand Up @@ -508,10 +512,10 @@ jobs:
name: ${{ variables.ubuntu_pool }}
strategy:
matrix:
Python39:
python.version: '3.9'
Python312:
python.version: '3.12'
Python313:
python.version: '3.13'
steps:
- template: .azure-pipelines/templates/automation_test.yml
parameters:
Expand All @@ -525,10 +529,10 @@ jobs:
name: ${{ variables.ubuntu_pool }}
strategy:
matrix:
Python39:
python.version: '3.9'
Python312:
python.version: '3.12'
Python313:
python.version: '3.13'
steps:
- template: .azure-pipelines/templates/automation_test.yml
parameters:
Expand All @@ -545,10 +549,10 @@ jobs:
name: ${{ variables.ubuntu_pool }}
strategy:
matrix:
Python39:
python.version: '3.9'
Python312:
python.version: '3.12'
Python313:
python.version: '3.13'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python $(python.version)'
Expand All @@ -568,8 +572,8 @@ jobs:
name: ${{ variables.ubuntu_pool }}
strategy:
matrix:
Python312:
python.version: '3.12'
Python313:
python.version: '3.13'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python $(python.version)'
Expand Down Expand Up @@ -625,6 +629,7 @@ jobs:

- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
displayName: 'SBOM'
condition: eq(variables['Build.Reason'], 'BatchedCI')
continueOnError: true
inputs:
BuildDropPath: $(Build.ArtifactStagingDirectory)
Expand Down Expand Up @@ -661,7 +666,7 @@ jobs:
set -ev
# Force relink python@3.xx in Homebrew to resolve the conflict with pre-installed python 3.xx on macOS-12 image
# See: https://github.com/Azure/azure-cli/issues/29054
python_version=3.12
python_version=3.13
brew unlink python@$python_version && brew link --overwrite python@$python_version

echo == Remove pre-installed azure-cli ==
Expand Down Expand Up @@ -737,6 +742,7 @@ jobs:

- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
displayName: 'SBOM'
condition: eq(variables['Build.Reason'], 'BatchedCI')
continueOnError: true
inputs:
BuildDropPath: $(Build.ArtifactStagingDirectory)
Expand Down Expand Up @@ -834,6 +840,7 @@ jobs:
filePath: scripts/release/rpm/pipeline.sh
- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
displayName: 'SBOM'
condition: eq(variables['Build.Reason'], 'BatchedCI')
continueOnError: true
inputs:
BuildDropPath: $(Build.ArtifactStagingDirectory)
Expand Down Expand Up @@ -962,6 +969,7 @@ jobs:

- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
displayName: 'SBOM'
condition: eq(variables['Build.Reason'], 'BatchedCI')
continueOnError: true
inputs:
BuildDropPath: $(Build.ArtifactStagingDirectory)
Expand Down Expand Up @@ -1039,9 +1047,9 @@ jobs:
name: ${{ variables.ubuntu_multi_core_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
displayName: 'Use Python 3.13'
inputs:
versionSpec: 3.12
versionSpec: 3.13
- template: .azure-pipelines/templates/azdev_setup.yml
- bash: |
set -ev
Expand All @@ -1055,9 +1063,9 @@ jobs:
name: ${{ variables.ubuntu_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
displayName: 'Use Python 3.13'
inputs:
versionSpec: 3.12
versionSpec: 3.13
- template: .azure-pipelines/templates/azdev_setup.yml
- bash: |
set -ev
Expand All @@ -1070,10 +1078,10 @@ jobs:
displayName: "PerformanceCheck"
strategy:
matrix:
Python39:
python.version: '3.9'
Python312:
python.version: '3.12'
Python313:
python.version: '3.13'
pool:
name: ${{ variables.ubuntu_pool }}
steps:
Expand Down Expand Up @@ -1101,9 +1109,9 @@ jobs:
name: ${{ variables.ubuntu_multi_core_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
displayName: 'Use Python 3.13'
inputs:
versionSpec: 3.12
versionSpec: 3.13
- template: .azure-pipelines/templates/azdev_setup.yml
- bash: |
set -ev
Expand All @@ -1124,9 +1132,9 @@ jobs:
name: ${{ variables.ubuntu_pool }}
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.12'
displayName: 'Use Python 3.13'
inputs:
versionSpec: 3.12
versionSpec: 3.13
- template: .azure-pipelines/templates/azdev_setup.yml
- bash: |
set -ev
Expand Down
2 changes: 1 addition & 1 deletion build_scripts/windows/scripts/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if "%ARCH%"=="x86" (
echo Please set ARCH to "x86" or "x64"
goto ERROR
)
set PYTHON_VERSION=3.12.10
set PYTHON_VERSION=3.13.7

set WIX_DOWNLOAD_URL="https://azurecliprod.blob.core.windows.net/msi/wix310-binaries-mirror.zip"
set PYTHON_DOWNLOAD_URL="https://www.python.org/ftp/python/%PYTHON_VERSION%/python-%PYTHON_VERSION%-embed-%PYTHON_ARCH%.zip"
Expand Down
2 changes: 1 addition & 1 deletion doc/command_guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ Follow the [Error Handling Guidelines](https://github.com/Azure/azure-cli/blob/d

## Coding Practices

- All code must support Python 3.9 ~ 3.12
- All code must support Python 3.9 ~ 3.13
- PRs to Azure/azure-cli and Azure/azure-cli-extensions must pass CI
- Code must pass style checks with pylint and pep8
- (*) All commands should have tests
2 changes: 1 addition & 1 deletion doc/extensions/authoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ See [Extension Metadata](metadata.md) for more information.

### Test your extension on Python 3

- The Azure CLI supports Python 3.9 ~ 3.12 so verify that your extension does the same.
- The Azure CLI supports Python 3.9 ~ 3.13 so verify that your extension does the same.
- You can create virtual environments for different versions and run your extension in them.
- e.g. `python3.9 -m venv env38` and `python3.10 -m venv env310`.

Expand Down
Loading
Loading