Skip to content

Commit

Permalink
[pipeline] upgrade autorest.python version (#25102)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
BigCat20196 and msyyc authored Aug 11, 2022
1 parent 5815e62 commit 9f63560
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions swagger_to_sdk_config_autorest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"meta": {
"autorest_options": {
"version": "3.7.2",
"use": ["@autorest/python@5.16.0", "@autorest/modelerfour@4.19.3"],
"version": "3.8.4",
"use": ["@autorest/python@6.0.1", "@autorest/modelerfour@4.23.5"],
"python": "",
"sdkrel:python-sdks-folder": "./sdk/.",
"python3-only": ""
"version-tolerant": false,
"models-mode": "msrest"
},
"advanced_options": {
"create_sdk_pull_requests": true,
Expand Down
6 changes: 3 additions & 3 deletions tools/azure-sdk-tools/packaging_tools/templates/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@
'pytyped': ['py.typed'],
},
install_requires=[
'msrest>=0.6.21',
'msrest>=0.7.1',
{%- if need_msrestazure %}
'msrestazure>=0.4.32,<2.0.0',
{%- endif %}
'azure-common~=1.1',
{%- if need_azurecore %}
'azure-core>=1.23.0,<2.0.0',
'azure-core>=1.24.0,<2.0.0',
{%- endif %}
{%- if need_azuremgmtcore %}
'azure-mgmt-core>=1.3.1,<2.0.0',
'azure-mgmt-core>=1.3.2,<2.0.0',
{%- endif %}
],
python_requires=">=3.7"
Expand Down

0 comments on commit 9f63560

Please sign in to comment.