Skip to content

Commit

Permalink
msrest/msrestazure 0.4.0 (Azure#1092)
Browse files Browse the repository at this point in the history
* msrest/msrestazure 0.4.0rc1

* msrest/msrestazure 0.4.0

* Add a build script
  • Loading branch information
lmazuel authored and tbombach committed Jun 2, 2016
1 parent 88a5f61 commit ae0f0a3
Show file tree
Hide file tree
Showing 12 changed files with 55 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace Microsoft.Rest.Generator.Azure.Python
{
public class AzurePythonCodeGenerator : PythonCodeGenerator
{
private const string ClientRuntimePackage = "msrestazure version 0.3.0";
private const string ClientRuntimePackage = "msrestazure version 0.4.0";

// page extensions class dictionary.
private IList<PageTemplateModel> pageModels;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public override string SetupRequires
{
get
{
return "\"msrest>=0.3.0\", \"msrestazure>=0.3.0\"";
return "\"msrest>=0.4.0\", \"msrestazure>=0.4.0\"";
}
}

Expand Down
2 changes: 1 addition & 1 deletion AutoRest/Generators/Python/Python/PythonCodeGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Rest.Generator.Python
{
public class PythonCodeGenerator : CodeGenerator
{
private const string ClientRuntimePackage = "msrest version 0.3.0";
private const string ClientRuntimePackage = "msrest version 0.4.0";

public PythonCodeGenerator(Settings settings) : base(settings)
{
Expand Down
4 changes: 2 additions & 2 deletions ClientRuntimes/Python/msrest/doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
# built documents.
#
# The short X.Y version.
version = '0.3.0'
version = '0.4.0'
# The full version, including alpha/beta/rc tags.
release = '0.3.0'
release = '0.4.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion ClientRuntimes/Python/msrest/msrest/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
# --------------------------------------------------------------------------


msrest_version = "0.3.0"
msrest_version = "0.4.0"
13 changes: 13 additions & 0 deletions ClientRuntimes/Python/msrest/readme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@ To install:
Release History
---------------

2016-05-25 Version 0.4.0
++++++++++++++++++++++++

This version has no bug fixes, but implements new features of Autorest:
- Base64 url type
- unixtime type
- x-ms-enum modelAsString flag

**Behaviour changes**

- Add Platform information in UserAgent
- Needs Autorest > 0.17.0 Nightly 20160525

2016-04-26 Version 0.3.0
++++++++++++++++++++++++

Expand Down
2 changes: 1 addition & 1 deletion ClientRuntimes/Python/msrest/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

setup(
name='msrest',
version='0.3.0',
version='0.4.0',
author='Microsoft Corporation',
packages=['msrest'],
url=("https://github.com/xingwu1/autorest/tree/python/"
Expand Down
15 changes: 15 additions & 0 deletions ClientRuntimes/Python/msrest_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

pushd msrest
rm -rf dist
python3 ./setup.py sdist --formats=zip
python3 ./setup.py bdist_wheel
python2 ./setup.py bdist_wheel
popd

pushd msrestazure
rm -rf dist
python3 ./setup.py sdist --formats=zip
python3 ./setup.py bdist_wheel
python2 ./setup.py bdist_wheel
popd
4 changes: 2 additions & 2 deletions ClientRuntimes/Python/msrestazure/doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
# built documents.
#
# The short X.Y version.
version = '0.3.0'
version = '0.4.0'
# The full version, including alpha/beta/rc tags.
release = '0.3.0'
release = '0.4.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion ClientRuntimes/Python/msrestazure/msrestazure/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
#
# --------------------------------------------------------------------------

msrestazure_version = "0.3.0"
msrestazure_version = "0.4.0"
15 changes: 15 additions & 0 deletions ClientRuntimes/Python/msrestazure/readme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,21 @@ To install:
Release History
---------------

2016-05-25 Version 0.4.0
++++++++++++++++++++++++

Update msrest dependency to 0.4.0

**Bugfixes**

- Fix for several AAD issues https://github.com/Azure/autorest/issues/1055
- Fix for LRO PATCH bug and refactor https://github.com/Azure/autorest/issues/993

**Behaviour changes**

- Needs Autorest > 0.17.0 Nightly 20160525


2016-04-26 Version 0.3.0
++++++++++++++++++++++++

Expand Down
4 changes: 2 additions & 2 deletions ClientRuntimes/Python/msrestazure/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

setup(
name='msrestazure',
version='0.3.0',
version='0.4.0',
author='Microsoft Corporation',
packages=['msrestazure'],
url=('https://github.com/xingwu1/autorest/tree/python/'
Expand All @@ -49,5 +49,5 @@
'License :: OSI Approved :: MIT License',
'Topic :: Software Development'],
install_requires=[
"msrest>=0.3.0"],
"msrest>=0.4.0"],
)

0 comments on commit ae0f0a3

Please sign in to comment.