Skip to content

Commit 9f63560

Browse files
BigCat20196msyyc
andauthored
[pipeline] upgrade autorest.python version (Azure#25102)
* upgrade autorest.python version * update swagger_to_sdk_config_autorest * Update swagger_to_sdk_config_autorest.json * Update swagger_to_sdk_config_autorest.json * update setup template * update setup template * Update swagger_to_sdk_config_autorest.json * Update setup.py Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
1 parent 5815e62 commit 9f63560

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

swagger_to_sdk_config_autorest.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"meta": {
33
"autorest_options": {
4-
"version": "3.7.2",
5-
"use": ["@autorest/python@5.16.0", "@autorest/modelerfour@4.19.3"],
4+
"version": "3.8.4",
5+
"use": ["@autorest/python@6.0.1", "@autorest/modelerfour@4.23.5"],
66
"python": "",
77
"sdkrel:python-sdks-folder": "./sdk/.",
8-
"python3-only": ""
8+
"version-tolerant": false,
9+
"models-mode": "msrest"
910
},
1011
"advanced_options": {
1112
"create_sdk_pull_requests": true,

tools/azure-sdk-tools/packaging_tools/templates/setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,16 @@
7070
'pytyped': ['py.typed'],
7171
},
7272
install_requires=[
73-
'msrest>=0.6.21',
73+
'msrest>=0.7.1',
7474
{%- if need_msrestazure %}
7575
'msrestazure>=0.4.32,<2.0.0',
7676
{%- endif %}
7777
'azure-common~=1.1',
7878
{%- if need_azurecore %}
79-
'azure-core>=1.23.0,<2.0.0',
79+
'azure-core>=1.24.0,<2.0.0',
8080
{%- endif %}
8181
{%- if need_azuremgmtcore %}
82-
'azure-mgmt-core>=1.3.1,<2.0.0',
82+
'azure-mgmt-core>=1.3.2,<2.0.0',
8383
{%- endif %}
8484
],
8585
python_requires=">=3.7"

0 commit comments

Comments
 (0)