Skip to content

Commit ccfa539

Browse files
authored
Merge branch 'Azure:dev' into jins-app-auto-upgrade
2 parents 01d121b + d7e1e40 commit ccfa539

File tree

625 files changed

+402458
-319093
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

625 files changed

+402458
-319093
lines changed

.github/ISSUE_TEMPLATE/what_if.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
name: "What-If Feature Issue"
2+
description: Report issues or request enhancements for Azure CLI What-If feature
3+
labels: ["what-if"]
4+
body:
5+
- type: markdown
6+
id: intro
7+
attributes:
8+
value: |
9+
Thank you for reporting an issue related to preview of changes (--what-if) or export to Bicep (--export-bicep) with az cli! Please provide as much detail as possible.
10+
11+
- type: dropdown
12+
id: issue-type
13+
attributes:
14+
label: Issue Type
15+
description: What type of issue are you reporting?
16+
options:
17+
- Bug Report
18+
- Feature Request
19+
- Documentation Issue
20+
validations:
21+
required: true
22+
23+
- type: textarea
24+
id: description
25+
attributes:
26+
label: Description
27+
description: Provide a clear description of the issue or feature request
28+
placeholder: Describe what happened or what you'd like to see
29+
validations:
30+
required: true
31+
32+
- type: textarea
33+
id: command
34+
attributes:
35+
label: Command or Script
36+
description: Provide the command or script that helps reproducing or demonstrate the issue
37+
placeholder: |
38+
- az vm create --what-if --export-bicep
39+
- N/A if not applicable
40+
render: shell
41+
validations:
42+
required: true
43+
44+
- type: textarea
45+
id: expected
46+
attributes:
47+
label: Expected Behavior
48+
description: What did you expect to happen?
49+
placeholder: |
50+
- Describe the expected outcome
51+
- N/A if not applicable
52+
validations:
53+
required: true
54+
55+
- type: textarea
56+
id: actual
57+
attributes:
58+
label: Actual Behavior
59+
description: What actually happened?
60+
placeholder: |
61+
- Describe what actually occurred
62+
- N/A if not applicable
63+
validations:
64+
required: true
65+
66+
- type: textarea
67+
id: environment
68+
attributes:
69+
label: Environment
70+
description: Provide environment details
71+
placeholder: |
72+
- OS: Windows 11 / Ubuntu 22.04 / macOS 14
73+
- Tool Version: Azure CLI 2.80.0
74+
- Python Version: 3.12.10
75+
- N/A if not applicable
76+
validations:
77+
required: true
78+
79+
- type: textarea
80+
id: additional
81+
attributes:
82+
label: Additional Context
83+
description: Add any other context, screenshots, or logs
84+
placeholder: Any additional information that might be helpful
85+
validations:
86+
required: false

.github/policies/resourceManagement.yml

Lines changed: 68 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,17 @@ configuration:
636636
- us6193
637637
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
638638
assignMentionees: False
639+
- if:
640+
- hasLabel:
641+
label: Service Attention
642+
- hasLabel:
643+
label: Blob Storage SFTP
644+
then:
645+
- mentionUsers:
646+
mentionees:
647+
- greeshma-microsoft
648+
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
649+
assignMentionees: False
639650
- if:
640651
- hasLabel:
641652
label: Service Attention
@@ -1433,7 +1444,7 @@ configuration:
14331444
then:
14341445
- mentionUsers:
14351446
mentionees:
1436-
- rgreenMSFT
1447+
- amarjeetkr
14371448
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
14381449
assignMentionees: False
14391450
- if:
@@ -1546,6 +1557,21 @@ configuration:
15461557
- nberdy
15471558
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
15481559
assignMentionees: False
1560+
- if:
1561+
- hasLabel:
1562+
label: Service Attention
1563+
- hasLabel:
1564+
label: Device Registry
1565+
then:
1566+
- mentionUsers:
1567+
mentionees:
1568+
- c-ryan-k
1569+
- digimaun
1570+
- rohankhandelwal
1571+
- mryanlo
1572+
- atastrophic
1573+
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
1574+
assignMentionees: False
15491575
- if:
15501576
- hasLabel:
15511577
label: Service Attention
@@ -1567,7 +1593,6 @@ configuration:
15671593
- mentionUsers:
15681594
mentionees:
15691595
- anishtrakru
1570-
- derekbekoe
15711596
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
15721597
assignMentionees: False
15731598
- if:
@@ -1578,7 +1603,7 @@ configuration:
15781603
then:
15791604
- mentionUsers:
15801605
mentionees:
1581-
- sourabhguha
1606+
- YingXue
15821607
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
15831608
assignMentionees: False
15841609
- if:
@@ -1628,6 +1653,17 @@ configuration:
16281653
- Saglodha
16291654
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
16301655
assignMentionees: False
1656+
- if:
1657+
- hasLabel:
1658+
label: Service Attention
1659+
- hasLabel:
1660+
label: Fabric
1661+
then:
1662+
- mentionUsers:
1663+
mentionees:
1664+
- xinzhizou
1665+
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
1666+
assignMentionees: False
16311667
- if:
16321668
- hasLabel:
16331669
label: Service Attention
@@ -1647,9 +1683,9 @@ configuration:
16471683
then:
16481684
- mentionUsers:
16491685
mentionees:
1650-
- AnatoliB
1651-
- Francisco-Gamino
1652-
- shreyabatra4
1686+
- kamperiadis
1687+
- amamounelsayed
1688+
- khkh-ms
16531689
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
16541690
assignMentionees: False
16551691
- if:
@@ -1744,20 +1780,8 @@ configuration:
17441780
then:
17451781
- mentionUsers:
17461782
mentionees:
1747-
- iluican
1748-
- jlian
1749-
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
1750-
assignMentionees: False
1751-
- if:
1752-
- hasLabel:
1753-
label: Service Attention
1754-
- hasLabel:
1755-
label: IotDPS
1756-
then:
1757-
- mentionUsers:
1758-
mentionees:
1759-
- iluican
1760-
- jlian
1783+
- digimaun
1784+
- Azure/azure-iot-cli-triage
17611785
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
17621786
assignMentionees: False
17631787
- if:
@@ -2713,8 +2737,11 @@ configuration:
27132737
then:
27142738
- mentionUsers:
27152739
mentionees:
2716-
- shariq-mcs
2717-
- MSFTeegarden
2740+
- abhijitch_microsoft
2741+
- yuvalm_microsoft
2742+
- nikitagarg_microsoft
2743+
- sanar_microsoft
2744+
- cawa_microsoft
27182745
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
27192746
assignMentionees: False
27202747
- if:
@@ -2827,10 +2854,10 @@ configuration:
28272854
then:
28282855
- mentionUsers:
28292856
mentionees:
2830-
- bleroy
2831-
- tjacobhi
2832-
- markheff
2833-
- miwelsh
2857+
- kuanlu95
2858+
- efrainretana
2859+
- mattgotteiner
2860+
- Draconicida
28342861
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
28352862
assignMentionees: False
28362863
- if:
@@ -2853,6 +2880,7 @@ configuration:
28532880
- mentionUsers:
28542881
mentionees:
28552882
- nazang
2883+
- mooshc
28562884
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
28572885
assignMentionees: False
28582886
- if:
@@ -3063,6 +3091,20 @@ configuration:
30633091
- S-J-M
30643092
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
30653093
assignMentionees: False
3094+
- if:
3095+
- hasLabel:
3096+
label: Service Attention
3097+
- hasLabel:
3098+
label: StorageDiscovery
3099+
then:
3100+
- mentionUsers:
3101+
mentionees:
3102+
- shanefujs
3103+
- apurv2304
3104+
- skallurk
3105+
- vdziunms
3106+
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
3107+
assignMentionees: False
30663108
- if:
30673109
- hasLabel:
30683110
label: Service Attention

doc/command_guidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ Follow the [Error Handling Guidelines](https://github.com/Azure/azure-cli/blob/d
426426

427427
## Coding Practices
428428

429-
- All code must support Python 3.9 ~ 3.13
429+
- All code must support Python 3.10 ~ 3.13
430430
- PRs to Azure/azure-cli and Azure/azure-cli-extensions must pass CI
431431
- Code must pass style checks with pylint and pep8
432432
- (*) All commands should have tests

doc/debug/debug_in_vs_code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
* Visual Studio Code [Link](http://code.visualstudio.com/)
66
* Visual Studio Code Python Extension [Link](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
7-
* Python 3.9+
7+
* Python 3.10+
88
* Set up development environment [Link](https://github.com/Azure/azure-cli/blob/master/doc/configuring_your_machine.md)
99

1010
## Quick start

doc/extensions/authoring.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ See [Extension Metadata](metadata.md) for more information.
130130

131131
### Test your extension on Python 3
132132

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

137137

138138
Also, see the [FAQ](faq.md).

doc/install_linux_prerequisites.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Some native Linux packages are required when installing the CLI with:
66
- Interactive installation script
77
- `pip`
88

9-
Current supported Python versions are Python 3.9 ~ 3.13.
9+
Current supported Python versions are Python 3.10 ~ 3.13.
1010

1111
The commands to run to install the dependencies for some common distributions are listed below.
1212

@@ -16,7 +16,7 @@ sudo apt-get update && sudo apt-get install -y libssl-dev libffi-dev python-dev
1616
```
1717

1818
### RHEL 8, CentOS Stream 8, RHEL 9, CentOS Stream 9
19-
Install the latest Python 3.9 available in the software repo.
19+
Install the latest Python 3.12 available in the software repo.
2020
```
21-
sudo dnf install -y gcc libffi-devel python39-devel openssl-devel
21+
sudo dnf install -y gcc libffi-devel python312-devel openssl-devel
2222
```

linter_exclusions.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3257,6 +3257,14 @@ sf application update:
32573257
upgrade_replica_set_check_timeout:
32583258
rule_exclusions:
32593259
- option_length_too_long
3260+
sf managed-application update:
3261+
parameters:
3262+
instance_close_delay_duration:
3263+
rule_exclusions:
3264+
- option_length_too_long
3265+
service_type_health_policy_map:
3266+
rule_exclusions:
3267+
- option_length_too_long
32603268
sf cluster certificate add:
32613269
parameters:
32623270
certificate_output_folder:

scripts/ci/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ CLASSIFIERS = [
9898
'Intended Audience :: Developers',
9999
'Programming Language :: Python',
100100
'Programming Language :: Python :: 3',
101-
'Programming Language :: Python :: 3.9',
102101
'Programming Language :: Python :: 3.10',
103102
'Programming Language :: Python :: 3.11',
104103
'Programming Language :: Python :: 3.12',

scripts/ci/credscan/CredScanSuppressions.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,18 @@
659659
"src\\azure-cli\\azure\\cli\\command_modules\\rdbms\\flexible_server_custom_postgres.py"
660660
],
661661
"_justification": "[RDBMS] False positive"
662+
},
663+
{
664+
"file": [
665+
"src/azure-cli/azure/cli/command_modules/cognitiveservices/tests/latest/data/azure_postgres_db_user_pwd.yaml",
666+
"src/azure-cli/azure/cli/command_modules/cognitiveservices/tests/latest/data/azure_my_sql_db_user_pwd.yaml",
667+
"src/azure-cli/azure/cli/command_modules/cognitiveservices/tests/latest/data/azure_sql_db_user_pwd.yaml",
668+
"src/azure-cli/azure/cli/command_modules/cognitiveservices/tests/latest/data/azure_synapse_analytics_user_pwd.yaml",
669+
"src/azure-cli/azure/cli/command_modules/cognitiveservices/tests/latest/data/container_registry_user_pass.yaml",
670+
"src/azure-cli/azure/cli/command_modules/cognitiveservices/tests/latest/data/python_feed_user_pass.yaml",
671+
"src/azure-cli/azure/cli/command_modules/cognitiveservices/tests/latest/data/snowflake_user_pwd.yaml"
672+
],
673+
"_justification": "[cognitiveservices] request password for testing"
662674
}
663675
]
664676
}

src/azure-cli-core/HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Release History
44
===============
55

6+
2.80.0
7+
++++++
8+
* Minor fixes
9+
610
2.79.0
711
++++++
812
* Resolve CVE-2025-9230 (#32315)

0 commit comments

Comments
 (0)