Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

### 2020-xx-xx - 5.1.0-preview.8
Autorest Core version: 3.0.6302
Modelerfour version: 4.15.400

**New Features**

- Updated minimum `azure-core` version to 1.8.0 #747
- Updated minimum `msrest` version to 0.6.18 #747

### 2020-08-07 - 5.1.0-preview.7
Autorest Core version: 3.0.6302
Modelerfour version: 4.15.400
Expand Down
2 changes: 1 addition & 1 deletion autorest/codegen/templates/setup.py.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ VERSION = "{{ code_model.options.get('package_version', '0.0.0') }}"
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"{{ azure_mgmt_core_import }}]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"{{ azure_mgmt_core_import }}]

setup(
name=NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
2 changes: 1 addition & 1 deletion test/azure/Expected/AcceptanceTests/AzureReport/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
2 changes: 1 addition & 1 deletion test/azure/Expected/AcceptanceTests/AzureSpecials/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0", "azure-mgmt-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0", "azure-mgmt-core<2.0.0,>=1.2.0"]

setup(
name=NAME,
Expand Down
2 changes: 1 addition & 1 deletion test/azure/Expected/AcceptanceTests/CustomBaseUri/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0", "azure-mgmt-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0", "azure-mgmt-core<2.0.0,>=1.2.0"]

setup(
name=NAME,
Expand Down
2 changes: 1 addition & 1 deletion test/azure/Expected/AcceptanceTests/Head/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0", "azure-mgmt-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0", "azure-mgmt-core<2.0.0,>=1.2.0"]

setup(
name=NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0", "azure-mgmt-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0", "azure-mgmt-core<2.0.0,>=1.2.0"]

setup(
name=NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0", "azure-mgmt-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0", "azure-mgmt-core<2.0.0,>=1.2.0"]

setup(
name=NAME,
Expand Down
2 changes: 1 addition & 1 deletion test/azure/Expected/AcceptanceTests/Lro/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0", "azure-mgmt-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0", "azure-mgmt-core<2.0.0,>=1.2.0"]

setup(
name=NAME,
Expand Down
2 changes: 1 addition & 1 deletion test/azure/Expected/AcceptanceTests/Paging/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0", "azure-mgmt-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0", "azure-mgmt-core<2.0.0,>=1.2.0"]

setup(
name=NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0", "azure-mgmt-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0", "azure-mgmt-core<2.0.0,>=1.2.0"]

setup(
name=NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0", "azure-mgmt-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0", "azure-mgmt-core<2.0.0,>=1.2.0"]

setup(
name=NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
2 changes: 1 addition & 1 deletion test/vanilla/Expected/AcceptanceTests/BodyArray/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
2 changes: 1 addition & 1 deletion test/vanilla/Expected/AcceptanceTests/BodyBoolean/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
2 changes: 1 addition & 1 deletion test/vanilla/Expected/AcceptanceTests/BodyByte/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
2 changes: 1 addition & 1 deletion test/vanilla/Expected/AcceptanceTests/BodyComplex/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
2 changes: 1 addition & 1 deletion test/vanilla/Expected/AcceptanceTests/BodyDate/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
2 changes: 1 addition & 1 deletion test/vanilla/Expected/AcceptanceTests/BodyFile/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
2 changes: 1 addition & 1 deletion test/vanilla/Expected/AcceptanceTests/BodyInteger/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ async def put_big_float(
) -> None:
"""Put big float value 3.402823e+20.

:param number_body:
:param number_body: number body.
:type number_body: float
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
Expand Down Expand Up @@ -311,7 +311,7 @@ async def put_big_double(
) -> None:
"""Put big double value 2.5976931e+101.

:param number_body:
:param number_body: number body.
:type number_body: float
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
Expand Down Expand Up @@ -580,7 +580,7 @@ async def put_big_decimal(
) -> None:
"""Put big decimal value 2.5976931e+101.

:param number_body:
:param number_body: number body.
:type number_body: float
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
Expand Down Expand Up @@ -849,7 +849,7 @@ async def put_small_float(
) -> None:
"""Put small float value 3.402823e-20.

:param number_body:
:param number_body: number body.
:type number_body: float
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
Expand Down Expand Up @@ -940,7 +940,7 @@ async def put_small_double(
) -> None:
"""Put small double value 2.5976931e-101.

:param number_body:
:param number_body: number body.
:type number_body: float
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
Expand Down Expand Up @@ -1031,7 +1031,7 @@ async def put_small_decimal(
) -> None:
"""Put small decimal value 2.5976931e-101.

:param number_body:
:param number_body: number body.
:type number_body: float
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def put_big_float(
# type: (...) -> None
"""Put big float value 3.402823e+20.

:param number_body:
:param number_body: number body.
:type number_body: float
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
Expand Down Expand Up @@ -322,7 +322,7 @@ def put_big_double(
# type: (...) -> None
"""Put big double value 2.5976931e+101.

:param number_body:
:param number_body: number body.
:type number_body: float
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
Expand Down Expand Up @@ -597,7 +597,7 @@ def put_big_decimal(
# type: (...) -> None
"""Put big decimal value 2.5976931e+101.

:param number_body:
:param number_body: number body.
:type number_body: float
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
Expand Down Expand Up @@ -872,7 +872,7 @@ def put_small_float(
# type: (...) -> None
"""Put small float value 3.402823e-20.

:param number_body:
:param number_body: number body.
:type number_body: float
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
Expand Down Expand Up @@ -965,7 +965,7 @@ def put_small_double(
# type: (...) -> None
"""Put small double value 2.5976931e-101.

:param number_body:
:param number_body: number body.
:type number_body: float
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
Expand Down Expand Up @@ -1058,7 +1058,7 @@ def put_small_decimal(
# type: (...) -> None
"""Put small decimal value 2.5976931e-101.

:param number_body:
:param number_body: number body.
:type number_body: float
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
Expand Down
2 changes: 1 addition & 1 deletion test/vanilla/Expected/AcceptanceTests/BodyNumber/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["msrest>=0.6.0", "azure-core<2.0.0,>=1.2.0"]
REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.0"]

setup(
name=NAME,
Expand Down
Loading