diff --git a/.chronus/changes/auto-microsoft-python-fix-client-initialization-2025-8-25-17-45-10.md b/.chronus/changes/auto-microsoft-python-fix-client-initialization-2025-8-25-17-45-10.md deleted file mode 100644 index 1931b6c5a22..00000000000 --- a/.chronus/changes/auto-microsoft-python-fix-client-initialization-2025-8-25-17-45-10.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -changeKind: feature -packages: - - "@autorest/python" - - "@azure-tools/typespec-python" ---- - -Support move method level signature to client level \ No newline at end of file diff --git a/.chronus/changes/auto-microsoft-python-test-client-operation-group-2025-8-30-13-27-55.md b/.chronus/changes/auto-microsoft-python-test-client-operation-group-2025-8-30-13-27-55.md deleted file mode 100644 index df7ebe333ce..00000000000 --- a/.chronus/changes/auto-microsoft-python-test-client-operation-group-2025-8-30-13-27-55.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -changeKind: internal -packages: - - "@autorest/python" - - "@azure-tools/typespec-python" ---- - -Add test case for client operation group \ No newline at end of file diff --git a/.chronus/changes/optimize-install-speed-2025-8-22-17-4-59.md b/.chronus/changes/optimize-install-speed-2025-8-22-17-4-59.md deleted file mode 100644 index c5e6bc62b5c..00000000000 --- a/.chronus/changes/optimize-install-speed-2025-8-22-17-4-59.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: internal -packages: - - "@azure-tools/typespec-python" ---- - -Improve install process \ No newline at end of file diff --git a/.chronus/changes/sync-typespec-repo-2025-8-30-2-57-50.md b/.chronus/changes/sync-typespec-repo-2025-8-30-2-57-50.md deleted file mode 100644 index 382634c774e..00000000000 --- a/.chronus/changes/sync-typespec-repo-2025-8-30-2-57-50.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -changeKind: fix -packages: - - "@autorest/python" - - "@azure-tools/typespec-python" ---- - -[python] ensure first line in param description wrap around is a space \ No newline at end of file diff --git a/.chronus/changes/sync-typespec-repo-2025-8-30-2-58-11.md b/.chronus/changes/sync-typespec-repo-2025-8-30-2-58-11.md deleted file mode 100644 index 20c56f121fe..00000000000 --- a/.chronus/changes/sync-typespec-repo-2025-8-30-2-58-11.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -changeKind: fix -packages: - - "@autorest/python" - - "@azure-tools/typespec-python" ---- - -Fix bugs related to import and pylint for libraries with only internal models \ No newline at end of file diff --git a/packages/autorest.python/CHANGELOG.md b/packages/autorest.python/CHANGELOG.md index 214b1d2af24..b601f085b28 100644 --- a/packages/autorest.python/CHANGELOG.md +++ b/packages/autorest.python/CHANGELOG.md @@ -1,5 +1,16 @@ # Release +## 6.41.2 + +### Bump dependencies + +- [7da55dc](https://github.com/Azure/autorest.python/commit/7da55dc5be74c0887e4196a76680fd19725cb1e7) Bump `@typespec/http-client-python` dep to `0.19.0` + +### Bug Fixes + +- [#3226](https://github.com/Azure/autorest.python/pull/3226) [python] ensure first line in param description wrap around is a space + + ## 6.41.1 ### Bug Fixes diff --git a/packages/autorest.python/package.json b/packages/autorest.python/package.json index 571c0dcd2a5..99272f54792 100644 --- a/packages/autorest.python/package.json +++ b/packages/autorest.python/package.json @@ -1,6 +1,6 @@ { "name": "@autorest/python", - "version": "6.41.1", + "version": "6.41.2", "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": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTQwMDA3OC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.18.1.tgz", + "@typespec/http-client-python": "~0.19.0", "@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/CHANGELOG.md b/packages/typespec-python/CHANGELOG.md index 46b48c06f93..28d69ac96b2 100644 --- a/packages/typespec-python/CHANGELOG.md +++ b/packages/typespec-python/CHANGELOG.md @@ -1,5 +1,21 @@ # Release +## 0.52.0 + +### Features + +- [#3222](https://github.com/Azure/autorest.python/pull/3222) Support move method level signature to client level + +### Bump dependencies + +- [7da55dc](https://github.com/Azure/autorest.python/commit/7da55dc5be74c0887e4196a76680fd19725cb1e7) Bump `@typespec/http-client-python` dep to `0.19.0` + +### Bug Fixes + +- [#3226](https://github.com/Azure/autorest.python/pull/3226) [python] ensure first line in param description wrap around is a space +- [#3226](https://github.com/Azure/autorest.python/pull/3226) Fix bugs related to import and pylint for libraries with only internal models + + ## 0.51.2 ### Bump dependencies diff --git a/packages/typespec-python/package.json b/packages/typespec-python/package.json index c2201b55ebf..6f9c246e4d1 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/typespec-python", - "version": "0.51.2", + "version": "0.52.0", "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": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTQwMDA3OC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.18.1.tgz", + "@typespec/http-client-python": "~0.19.0", "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 +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6e8320bdf75..59eee1e9e2a 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: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTQwMDA3OC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.18.1.tgz - version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTQwMDA3OC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.18.1.tgz(xd3x5iacuy73inmcnqmslujf7u) + specifier: ~0.19.0 + version: 0.19.0(xd3x5iacuy73inmcnqmslujf7u) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -82,8 +82,8 @@ importers: packages/typespec-python: dependencies: '@typespec/http-client-python': - specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTQwMDA3OC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.18.1.tgz - version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTQwMDA3OC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.18.1.tgz(xd3x5iacuy73inmcnqmslujf7u) + specifier: ~0.19.0 + version: 0.19.0(xd3x5iacuy73inmcnqmslujf7u) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -1677,9 +1677,8 @@ packages: peerDependencies: '@typespec/compiler': ^1.4.0 - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTQwMDA3OC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.18.1.tgz': - resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTQwMDA3OC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.18.1.tgz} - version: 0.18.1 + '@typespec/http-client-python@0.19.0': + resolution: {integrity: sha512-qpRx0iOKPjGXtzLAt+naH4QrzEbxUeHUGLfoaPpvvuT2D00p3BgH+MP4lwg4VU4C1qU7BSTB5FjUhEfMMY5ZaA==} engines: {node: '>=20.0.0'} peerDependencies: '@azure-tools/typespec-autorest': '>=0.60.0 <1.0.0' @@ -6460,7 +6459,7 @@ snapshots: dependencies: '@typespec/compiler': 1.4.0(@types/node@24.1.0) - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTQwMDA3OC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.18.1.tgz(xd3x5iacuy73inmcnqmslujf7u)': + '@typespec/http-client-python@0.19.0(xd3x5iacuy73inmcnqmslujf7u)': dependencies: '@azure-tools/typespec-autorest': 0.60.0(mpeik6lrosno7jd4tcgh2q5a2a) '@azure-tools/typespec-azure-core': 0.60.0(@typespec/compiler@1.4.0(@types/node@24.1.0))(@typespec/http@1.4.0(@typespec/compiler@1.4.0(@types/node@24.1.0))(@typespec/streams@0.74.0(@typespec/compiler@1.4.0(@types/node@24.1.0))))(@typespec/rest@0.74.0(@typespec/compiler@1.4.0(@types/node@24.1.0))(@typespec/http@1.4.0(@typespec/compiler@1.4.0(@types/node@24.1.0))(@typespec/streams@0.74.0(@typespec/compiler@1.4.0(@types/node@24.1.0)))))