From 8c52b692b0716de09c734889f2a1893334b07e06 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Mon, 3 Nov 2025 11:51:00 +0800 Subject: [PATCH 1/5] update regenerate --- packages/autorest.python/package.json | 2 +- packages/typespec-python/package.json | 2 +- packages/typespec-python/scripts/eng/regenerate.ts | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/autorest.python/package.json b/packages/autorest.python/package.json index c06deba98d1..3a7cb7a9718 100644 --- a/packages/autorest.python/package.json +++ b/packages/autorest.python/package.json @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/Azure/autorest.python/blob/main/README.md", "dependencies": { - "@typespec/http-client-python": "~0.20.0", + "@typespec/http-client-python": "~0.20.1", "@autorest/system-requirements": "~1.0.2", "fs-extra": "~11.2.0", "tsx": "~4.19.1" diff --git a/packages/typespec-python/package.json b/packages/typespec-python/package.json index 05e61743179..e724b7be5da 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -67,7 +67,7 @@ "js-yaml": "~4.1.0", "semver": "~7.6.2", "tsx": "~4.19.1", - "@typespec/http-client-python": "~0.20.0", + "@typespec/http-client-python": "~0.20.1", "fs-extra": "~11.2.0" }, "devDependencies": { diff --git a/packages/typespec-python/scripts/eng/regenerate.ts b/packages/typespec-python/scripts/eng/regenerate.ts index a9ca87a921e..1ee5b19e089 100644 --- a/packages/typespec-python/scripts/eng/regenerate.ts +++ b/packages/typespec-python/scripts/eng/regenerate.ts @@ -146,6 +146,9 @@ const EMITTER_OPTIONS: Record | Record | Record Date: Mon, 3 Nov 2025 11:51:52 +0800 Subject: [PATCH 2/5] add changelog --- ...o-microsoft-publish-python-11-03-2025-10-3-11-51-41.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .chronus/changes/auto-microsoft-publish-python-11-03-2025-10-3-11-51-41.md diff --git a/.chronus/changes/auto-microsoft-publish-python-11-03-2025-10-3-11-51-41.md b/.chronus/changes/auto-microsoft-publish-python-11-03-2025-10-3-11-51-41.md new file mode 100644 index 00000000000..10a68566d8a --- /dev/null +++ b/.chronus/changes/auto-microsoft-publish-python-11-03-2025-10-3-11-51-41.md @@ -0,0 +1,8 @@ +--- +changeKind: fix +packages: + - "@autorest/python" + - "@azure-tools/typespec-python" +--- + +add flag for clear output folder and set default to false \ No newline at end of file From d4c8cb5e179123e461cca22badc541303908d11f Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Mon, 3 Nov 2025 04:00:41 +0000 Subject: [PATCH 3/5] Update dependencies --- packages/autorest.python/package.json | 4 ++-- packages/typespec-python/package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/autorest.python/package.json b/packages/autorest.python/package.json index 3a7cb7a9718..ddb453658e8 100644 --- a/packages/autorest.python/package.json +++ b/packages/autorest.python/package.json @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/Azure/autorest.python/blob/main/README.md", "dependencies": { - "@typespec/http-client-python": "~0.20.1", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTUyNTc5My9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.20.2.tgz", "@autorest/system-requirements": "~1.0.2", "fs-extra": "~11.2.0", "tsx": "~4.19.1" @@ -47,4 +47,4 @@ "requirements.txt", "generator/" ] -} +} \ No newline at end of file diff --git a/packages/typespec-python/package.json b/packages/typespec-python/package.json index e724b7be5da..657073c7198 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -67,7 +67,7 @@ "js-yaml": "~4.1.0", "semver": "~7.6.2", "tsx": "~4.19.1", - "@typespec/http-client-python": "~0.20.1", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTUyNTc5My9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.20.2.tgz", "fs-extra": "~11.2.0" }, "devDependencies": { @@ -103,4 +103,4 @@ "chalk": "5.3.0", "@types/fs-extra": "11.0.4" } -} +} \ No newline at end of file From e15200a0107e703dcf0bb62e1c90e3dfbef12d17 Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Mon, 3 Nov 2025 04:01:47 +0000 Subject: [PATCH 4/5] Update dependencies (2025-11-03 04:01:47) --- pnpm-lock.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 07e06ef070e..43fbd863e30 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -60,8 +60,8 @@ importers: specifier: ~1.0.2 version: 1.0.2 '@typespec/http-client-python': - specifier: ~0.20.0 - version: 0.20.0(v262dab2qaapor3zxkb4zsb4ba) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTUyNTc5My9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.20.2.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTUyNTc5My9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.20.2.tgz(v262dab2qaapor3zxkb4zsb4ba) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -82,8 +82,8 @@ importers: packages/typespec-python: dependencies: '@typespec/http-client-python': - specifier: ~0.20.0 - version: 0.20.0(v262dab2qaapor3zxkb4zsb4ba) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTUyNTc5My9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.20.2.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTUyNTc5My9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.20.2.tgz(v262dab2qaapor3zxkb4zsb4ba) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -1681,8 +1681,9 @@ packages: peerDependencies: '@typespec/compiler': ^1.5.0 - '@typespec/http-client-python@0.20.0': - resolution: {integrity: sha512-9xl+hk85gF82z5NiQA/92sRtPnpNdvbOcp/HmGS6xo9fwbJ3m4+2eSAH1hynagvrAOBdEEY+iRtnnZ/KH2a0Vg==} + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTUyNTc5My9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.20.2.tgz': + resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTUyNTc5My9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.20.2.tgz} + version: 0.20.2 engines: {node: '>=20.0.0'} peerDependencies: '@azure-tools/typespec-autorest': '>=0.61.0 <1.0.0' @@ -6465,7 +6466,7 @@ snapshots: dependencies: '@typespec/compiler': 1.5.0(@types/node@24.1.0) - '@typespec/http-client-python@0.20.0(v262dab2qaapor3zxkb4zsb4ba)': + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTUyNTc5My9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.20.2.tgz(v262dab2qaapor3zxkb4zsb4ba)': dependencies: '@azure-tools/typespec-autorest': 0.61.0(yehncn3lp4xzygpesuojuhtg7i) '@azure-tools/typespec-azure-core': 0.61.0(@typespec/compiler@1.5.0(@types/node@24.1.0))(@typespec/http@1.5.0(@typespec/compiler@1.5.0(@types/node@24.1.0))(@typespec/streams@0.75.0(@typespec/compiler@1.5.0(@types/node@24.1.0))))(@typespec/rest@0.75.0(@typespec/compiler@1.5.0(@types/node@24.1.0))(@typespec/http@1.5.0(@typespec/compiler@1.5.0(@types/node@24.1.0))(@typespec/streams@0.75.0(@typespec/compiler@1.5.0(@types/node@24.1.0))))) From bad1d8d83a9699e7a418e1bedb7248d9113ecfd8 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Mon, 3 Nov 2025 15:09:08 +0800 Subject: [PATCH 5/5] update version --- ...soft-publish-python-11-03-2025-10-3-11-51-41.md | 8 -------- packages/autorest.python/CHANGELOG.md | 7 +++++++ packages/autorest.python/package.json | 4 ++-- packages/typespec-python/CHANGELOG.md | 7 +++++++ packages/typespec-python/package.json | 4 ++-- pnpm-lock.yaml | 14 +++++++------- 6 files changed, 25 insertions(+), 19 deletions(-) delete mode 100644 .chronus/changes/auto-microsoft-publish-python-11-03-2025-10-3-11-51-41.md diff --git a/.chronus/changes/auto-microsoft-publish-python-11-03-2025-10-3-11-51-41.md b/.chronus/changes/auto-microsoft-publish-python-11-03-2025-10-3-11-51-41.md deleted file mode 100644 index 10a68566d8a..00000000000 --- a/.chronus/changes/auto-microsoft-publish-python-11-03-2025-10-3-11-51-41.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -changeKind: fix -packages: - - "@autorest/python" - - "@azure-tools/typespec-python" ---- - -add flag for clear output folder and set default to false \ No newline at end of file diff --git a/packages/autorest.python/CHANGELOG.md b/packages/autorest.python/CHANGELOG.md index 0267f3f4735..594663bf5fd 100644 --- a/packages/autorest.python/CHANGELOG.md +++ b/packages/autorest.python/CHANGELOG.md @@ -1,5 +1,12 @@ # Release +## 6.42.1 + +### Bug Fixes + +- [#3257](https://github.com/Azure/autorest.python/pull/3257) add flag for clear output folder and set default to false + + ## 6.42.0 ### Features diff --git a/packages/autorest.python/package.json b/packages/autorest.python/package.json index 3a7cb7a9718..aeb02f0fe54 100644 --- a/packages/autorest.python/package.json +++ b/packages/autorest.python/package.json @@ -1,6 +1,6 @@ { "name": "@autorest/python", - "version": "6.42.0", + "version": "6.42.1", "description": "The Python extension for generators in AutoRest.", "scripts": { "start": "node ./scripts/run-python3.js ./scripts/start.py", @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/Azure/autorest.python/blob/main/README.md", "dependencies": { - "@typespec/http-client-python": "~0.20.1", + "@typespec/http-client-python": "~0.20.2", "@autorest/system-requirements": "~1.0.2", "fs-extra": "~11.2.0", "tsx": "~4.19.1" diff --git a/packages/typespec-python/CHANGELOG.md b/packages/typespec-python/CHANGELOG.md index e8af174e57b..bc41284104c 100644 --- a/packages/typespec-python/CHANGELOG.md +++ b/packages/typespec-python/CHANGELOG.md @@ -1,5 +1,12 @@ # Release +## 0.53.1 + +### Bug Fixes + +- [#3257](https://github.com/Azure/autorest.python/pull/3257) add flag for clear output folder and set default to false + + ## 0.53.0 ### Features diff --git a/packages/typespec-python/package.json b/packages/typespec-python/package.json index e724b7be5da..0689993e97a 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/typespec-python", - "version": "0.53.0", + "version": "0.53.1", "author": "Microsoft Corporation", "description": "TypeSpec emitter for Python SDKs", "homepage": "https://github.com/Azure/autorest.python", @@ -67,7 +67,7 @@ "js-yaml": "~4.1.0", "semver": "~7.6.2", "tsx": "~4.19.1", - "@typespec/http-client-python": "~0.20.1", + "@typespec/http-client-python": "~0.20.2", "fs-extra": "~11.2.0" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 07e06ef070e..83a5305d6ab 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -60,8 +60,8 @@ importers: specifier: ~1.0.2 version: 1.0.2 '@typespec/http-client-python': - specifier: ~0.20.0 - version: 0.20.0(v262dab2qaapor3zxkb4zsb4ba) + specifier: ~0.20.2 + version: 0.20.2(v262dab2qaapor3zxkb4zsb4ba) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -82,8 +82,8 @@ importers: packages/typespec-python: dependencies: '@typespec/http-client-python': - specifier: ~0.20.0 - version: 0.20.0(v262dab2qaapor3zxkb4zsb4ba) + specifier: ~0.20.2 + version: 0.20.2(v262dab2qaapor3zxkb4zsb4ba) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -1681,8 +1681,8 @@ packages: peerDependencies: '@typespec/compiler': ^1.5.0 - '@typespec/http-client-python@0.20.0': - resolution: {integrity: sha512-9xl+hk85gF82z5NiQA/92sRtPnpNdvbOcp/HmGS6xo9fwbJ3m4+2eSAH1hynagvrAOBdEEY+iRtnnZ/KH2a0Vg==} + '@typespec/http-client-python@0.20.2': + resolution: {integrity: sha512-v3rG3hBY4HGTna0kULDio+2tHV8t4yf8IGrEWDgvXtlghliAHQ92DVIlbT8mnSFsOGPni9YtB0IkkMDt2csPOg==} engines: {node: '>=20.0.0'} peerDependencies: '@azure-tools/typespec-autorest': '>=0.61.0 <1.0.0' @@ -6465,7 +6465,7 @@ snapshots: dependencies: '@typespec/compiler': 1.5.0(@types/node@24.1.0) - '@typespec/http-client-python@0.20.0(v262dab2qaapor3zxkb4zsb4ba)': + '@typespec/http-client-python@0.20.2(v262dab2qaapor3zxkb4zsb4ba)': dependencies: '@azure-tools/typespec-autorest': 0.61.0(yehncn3lp4xzygpesuojuhtg7i) '@azure-tools/typespec-azure-core': 0.61.0(@typespec/compiler@1.5.0(@types/node@24.1.0))(@typespec/http@1.5.0(@typespec/compiler@1.5.0(@types/node@24.1.0))(@typespec/streams@0.75.0(@typespec/compiler@1.5.0(@types/node@24.1.0))))(@typespec/rest@0.75.0(@typespec/compiler@1.5.0(@types/node@24.1.0))(@typespec/http@1.5.0(@typespec/compiler@1.5.0(@types/node@24.1.0))(@typespec/streams@0.75.0(@typespec/compiler@1.5.0(@types/node@24.1.0)))))