Skip to content

Commit

Permalink
add requirements.txt to bundle (#1118)
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft authored Jan 11, 2022
1 parent 6edad71 commit 466dbe8
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
14 changes: 14 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 7 additions & 0 deletions eng/pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -37,6 +37,7 @@
"prepare.py",
"start.py",
"venvtools.py",
"run-python3.js"
"run-python3.js",
"requirements.txt"
]
}
}

0 comments on commit 466dbe8

Please sign in to comment.