Skip to content

Commit

Permalink
new release (#2878)
Browse files Browse the repository at this point in the history
* run lint only in py38

* update version

* Update package.json
  • Loading branch information
msyyc authored Oct 21, 2024
1 parent d2497a3 commit 220ef12
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 35 deletions.
8 changes: 0 additions & 8 deletions .chronus/changes/pylint-update-2024-9-18-11-28-35.md

This file was deleted.

8 changes: 0 additions & 8 deletions .chronus/changes/remove_postprocess-2024-9-16-14-46-46.md

This file was deleted.

8 changes: 0 additions & 8 deletions .chronus/changes/reopen-mypy-2024-9-21-2-42-33.md

This file was deleted.

8 changes: 0 additions & 8 deletions .chronus/changes/test-python-2024-10-14-2024-9-14-17-31-52.md

This file was deleted.

2 changes: 1 addition & 1 deletion eng/pipelines/generated-code-checks-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ steps:
- script: npm run test -- --command=lint --folder=${{ parameters.folderName }}
displayName: Lint ${{ parameters.folderName }} - Python $(PythonVersion) --folder=${{ parameters.folderName }}
workingDirectory: $(Build.SourcesDirectory)/autorest.python/packages/${{parameters.package}}
condition: and(eq(variables['PythonVersion'], '3.10'), or(contains( '${{ parameters.folderName }}', 'version-tolerant'), eq('${{parameters.package}}', 'typespec-python')))
condition: and(eq(variables['PythonVersion'], '3.8'), or(contains( '${{ parameters.folderName }}', 'version-tolerant'), eq('${{parameters.package}}', 'typespec-python')))

- script: npm run test -- --command=mypy --folder=${{ parameters.folderName }}
displayName: Mypy ${{ parameters.folderName }} - Python $(PythonVersion)
Expand Down
10 changes: 10 additions & 0 deletions packages/autorest.python/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Release

## 6.26.1

### Bug Fixes

- [#2876](https://github.com/Azure/autorest.python/pull/2876) - Fix pylint issue for useless suppressions
- [#2870](https://github.com/Azure/autorest.python/pull/2870) Update generated code so there is no need to run the `postprocess` script when customizations are made
- [#2877](https://github.com/Azure/autorest.python/pull/2877) Added ignore comment in `__init__.py` to avoid mypy error
- [#2430](https://github.com/Azure/autorest.python/pull/2430) Avoid change original data when deserialize for polymorphic model


## 6.26.0

### Bump dependencies
Expand Down
2 changes: 1 addition & 1 deletion packages/autorest.python/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@autorest/python",
"version": "6.26.0",
"version": "6.26.1",
"description": "The Python extension for generators in AutoRest.",
"scripts": {
"start": "node ./scripts/run-python3.js ./scripts/start.py",
Expand Down
10 changes: 10 additions & 0 deletions packages/typespec-python/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Release

## 0.36.1

### Bug Fixes

- [#2876](https://github.com/Azure/autorest.python/pull/2876) - Fix pylint issue for useless suppressions
- [#2870](https://github.com/Azure/autorest.python/pull/2870) Update generated code so there is no need to run the `postprocess` script when customizations are made
- [#2877](https://github.com/Azure/autorest.python/pull/2877) Added ignore comment in `__init__.py` to avoid mypy error
- [#2430](https://github.com/Azure/autorest.python/pull/2430) Avoid change original data when deserialize for polymorphic model


## 0.36.0

### Bump dependencies
Expand Down
2 changes: 1 addition & 1 deletion packages/typespec-python/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure-tools/typespec-python",
"version": "0.36.0",
"version": "0.36.1",
"author": "Microsoft Corporation",
"description": "TypeSpec emitter for Python SDKs",
"homepage": "https://github.com/Azure/autorest.python",
Expand Down

0 comments on commit 220ef12

Please sign in to comment.