diff --git a/ChangeLog.md b/ChangeLog.md index 42f17bf261..0280b8133b 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,19 @@ # Change Log +### 2022-01-11 - 5.12.2 + +| Library | Min Version +| --------------- | ------- +|`@autorest/core` | `3.6.2` +|`@autorest/modelerfour` | `4.19.1` +|`azure-core` dep of generated code | `1.20.1` +|`msrest` dep of generated code | `0.6.21` +|`azure-mgmt-core` dep of generated code (If generating mgmt plane code) | `1.3.0` + +**Bug Fixes** + +- Fix installation of autorest python package #1118 + ### 2022-01-10 - 5.12.1 | Library | Min Version diff --git a/eng/pipelines/ci.yml b/eng/pipelines/ci.yml index 32952c4ee6..c041a7294b 100644 --- a/eng/pipelines/ci.yml +++ b/eng/pipelines/ci.yml @@ -179,6 +179,13 @@ jobs: testRunTitle: "$(OSName) Python $(PythonVersion) - multiapi" searchFolder: "$(TestFolder)/multiapi" + - script: | + npm pack + AbsolutePkgPath=$(find "$(pwd)" -name "autorest-python-*" -maxdepth 1) + cd .. + npm install $AbsolutePkgPath + displayName: "Test tarball" + - script: | npm run coverage -- publish --repo=$(Build.Repository.Name) --ref=$(Build.SourceBranch) --githubToken=$(github-token) --azStorageAccount=$(storage-coverage-user) --azStorageAccessKey=$(storage-coverage-pass) --coverageDirectory=$(AUTOREST_TESTSERVER_COVERAGE_DIRECTORY) workingDirectory: node_modules/@microsoft.azure/autorest.testserver diff --git a/package.json b/package.json index cb3eaa93a8..e2c9ad4291 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@autorest/python", - "version": "5.12.1", + "version": "5.12.2", "description": "The Python extension for generators in AutoRest.", "scripts": { "prepare": "node run-python3.js prepare.py", @@ -37,6 +37,7 @@ "prepare.py", "start.py", "venvtools.py", - "run-python3.js" + "run-python3.js", + "requirements.txt" ] -} +} \ No newline at end of file