Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
changeKind: internal
packages:
- "@autorest/python"
- "@azure-tools/typespec-python"
---

Fix `run_batch.py` passing string `"true"`/`"false"` values to pygen, which caused `keep-setup-py="false"` to be treated as truthy and generate `setup.py` instead of `pyproject.toml` for all regenerated test packages.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
changeKind: feature
packages:
- "@autorest/python"
- "@azure-tools/typespec-python"
---

add `CrossLanguageVersion` to `apiview-properties.json`
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
changeKind: fix
packages:
- "@autorest/python"
- "@azure-tools/typespec-python"
---

Support custom wire names for etags defined with `Azure.Core.eTag` (e.g. `x-ms-blob-if-match`)
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
changeKind: internal
packages:
- "@autorest/python"
- "@azure-tools/typespec-python"
---

Consolidate regenerate-common.ts into regenerate.ts and fix azure spec detection using azure-http-specs path check
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
changeKind: fix
packages:
- "@autorest/python"
- "@azure-tools/typespec-python"
---

Contain emitter changes when used with `generation-subdir` to solely within that subdirectory
8 changes: 8 additions & 0 deletions .chronus/changes/python-module-loading-2026-3-29-14-53-8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
changeKind: fix
packages:
- "@autorest/python"
- "@azure-tools/typespec-python"
---

Update Python emitter browser behavior to only load Pyodide once instead of on every emit
2 changes: 1 addition & 1 deletion packages/autorest.python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjIyNTU3My9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz",
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI0NjE0NC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz",
"@autorest/system-requirements": "~1.0.2",
"fs-extra": "~11.2.0",
"tsx": "^4.21.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"azure.mgmt.pyproject.aio.operations.Operations.list": null,
"azure.mgmt.pyproject.operations.SelfDefineOperations.post": null,
"azure.mgmt.pyproject.aio.operations.SelfDefineOperations.post": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"azure.mgmt.test.aio.operations.HttpSuccessOperations.head204": null,
"azure.mgmt.test.operations.HttpSuccessOperations.head404": null,
"azure.mgmt.test.aio.operations.HttpSuccessOperations.head404": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,6 @@
"azure.test.aio.operations.ArrayOperations.get_dictionary_valid": null,
"azure.test.operations.ArrayOperations.put_dictionary_valid": null,
"azure.test.aio.operations.ArrayOperations.put_dictionary_valid": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"azure.key.credential.sample.aio.operations.HttpSuccessOperations.head204": null,
"azure.key.credential.sample.operations.HttpSuccessOperations.head404": null,
"azure.key.credential.sample.aio.operations.HttpSuccessOperations.head404": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"azure.basic.sample.aio.operations.HttpSuccessOperations.head204": null,
"azure.basic.sample.operations.HttpSuccessOperations.head404": null,
"azure.basic.sample.aio.operations.HttpSuccessOperations.head404": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"azure.directives.sample.aio.PollingPagingExample.begin_basic_polling": null,
"azure.directives.sample.PollingPagingExample.basic_paging": null,
"azure.directives.sample.aio.PollingPagingExample.basic_paging": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"azure.mgmt.sample.aio.operations.HttpSuccessOperations.head204": null,
"azure.mgmt.sample.operations.HttpSuccessOperations.head404": null,
"azure.mgmt.sample.aio.operations.HttpSuccessOperations.head404": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"bodyduration.aio.operations.DurationOperations.get_positive_duration": null,
"bodyduration.operations.DurationOperations.get_invalid": null,
"bodyduration.aio.operations.DurationOperations.get_invalid": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
"azureparametergrouping.aio.operations.ParameterGroupingOperations.post_shared_parameter_group_object": null,
"azureparametergrouping.operations.ParameterGroupingOperations.group_with_constant": null,
"azureparametergrouping.aio.operations.ParameterGroupingOperations.group_with_constant": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"azurereport.models.Error": null,
"azurereport.AutoRestReportServiceForAzure.get_report": null,
"azurereport.aio.AutoRestReportServiceForAzure.get_report": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,6 @@
"azurespecialproperties.aio.operations.HeaderOperations.custom_named_request_id_param_grouping": null,
"azurespecialproperties.operations.HeaderOperations.custom_named_request_id_head": null,
"azurespecialproperties.aio.operations.HeaderOperations.custom_named_request_id_head": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"custombaseurl.models.Error": null,
"custombaseurl.operations.PathsOperations.get_empty": null,
"custombaseurl.aio.operations.PathsOperations.get_empty": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@
"custompollerpager.aio.operations.PagingOperations.replace_api_version": null,
"custompollerpager.operations.PagingOperations.get_paging_model_with_item_name_with_xms_client_name": null,
"custompollerpager.aio.operations.PagingOperations.get_paging_model_with_item_name_with_xms_client_name": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"custombaseurlpaging.aio.operations.PagingOperations.get_pages_partial_url": null,
"custombaseurlpaging.operations.PagingOperations.get_pages_partial_url_operation": null,
"custombaseurlpaging.aio.operations.PagingOperations.get_pages_partial_url_operation": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"head.aio.operations.HttpSuccessOperations.head204": null,
"head.operations.HttpSuccessOperations.head404": null,
"head.aio.operations.HttpSuccessOperations.head404": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"headexceptions.aio.operations.HeadExceptionOperations.head204": null,
"headexceptions.operations.HeadExceptionOperations.head404": null,
"headexceptions.aio.operations.HeadExceptionOperations.head404": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"headwithazurekeycredentialpolicy.aio.operations.HttpSuccessOperations.head204": null,
"headwithazurekeycredentialpolicy.operations.HttpSuccessOperations.head404": null,
"headwithazurekeycredentialpolicy.aio.operations.HttpSuccessOperations.head404": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,6 @@
"lro.aio.operations.LROsCustomHeaderOperations.begin_post202_retry200": null,
"lro.operations.LROsCustomHeaderOperations.begin_post_async_retry_succeeded": null,
"lro.aio.operations.LROsCustomHeaderOperations.begin_post_async_retry_succeeded": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"lrowithparameterizedendpoints.aio.LROWithParamaterizedEndpoints.begin_poll_with_parameterized_endpoints": null,
"lrowithparameterizedendpoints.LROWithParamaterizedEndpoints.begin_poll_with_constant_parameterized_endpoints": null,
"lrowithparameterizedendpoints.aio.LROWithParamaterizedEndpoints.begin_poll_with_constant_parameterized_endpoints": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,6 @@
"mixedapiversion.aio.operations.HeaderOperations.custom_named_request_id_param_grouping": null,
"mixedapiversion.operations.HeaderOperations.custom_named_request_id_head": null,
"mixedapiversion.aio.operations.HeaderOperations.custom_named_request_id_head": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@
"azure.packagemode.batch.paging.aio.operations.PagingOperations.replace_api_version": null,
"azure.packagemode.batch.paging.operations.PagingOperations.get_paging_model_with_item_name_with_xms_client_name": null,
"azure.packagemode.batch.paging.aio.operations.PagingOperations.get_paging_model_with_item_name_with_xms_client_name": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"azure.packagemode.customize.aio.operations.HttpSuccessOperations.head204": null,
"azure.packagemode.customize.operations.HttpSuccessOperations.head404": null,
"azure.packagemode.customize.aio.operations.HttpSuccessOperations.head404": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"azure.packagemode.dataplane.aio.operations.HttpSuccessOperations.head204": null,
"azure.packagemode.dataplane.operations.HttpSuccessOperations.head404": null,
"azure.packagemode.dataplane.aio.operations.HttpSuccessOperations.head404": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"azure.package.mode.aio.operations.HttpSuccessOperations.head204": null,
"azure.package.mode.operations.HttpSuccessOperations.head404": null,
"azure.package.mode.aio.operations.HttpSuccessOperations.head404": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@
"paging.aio.operations.PagingOperations.replace_api_version": null,
"paging.operations.PagingOperations.get_paging_model_with_item_name_with_xms_client_name": null,
"paging.aio.operations.PagingOperations.get_paging_model_with_item_name_with_xms_client_name": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"CrossLanguageDefinitionId": {
"securityaadswagger.AutorestSecurityAad.head": null,
"securityaadswagger.aio.AutorestSecurityAad.head": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"CrossLanguageDefinitionId": {
"securitykeyswagger.AutorestSecurityKey.head": null,
"securitykeyswagger.aio.AutorestSecurityKey.head": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@
"storage.aio.operations.StorageAccountsOperations.regenerate_key": null,
"storage.operations.UsageOperations.list": null,
"storage.aio.operations.UsageOperations.list": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"subscriptionidapiversion.models.SampleResourceGroup": null,
"subscriptionidapiversion.operations.GroupOperations.get_sample_resource_group": null,
"subscriptionidapiversion.aio.operations.GroupOperations.get_sample_resource_group": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"bodydurationversiontolerant.aio.operations.DurationOperations.get_positive_duration": null,
"bodydurationversiontolerant.operations.DurationOperations.get_invalid": null,
"bodydurationversiontolerant.aio.operations.DurationOperations.get_invalid": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"azureparametergroupingversiontolerant.aio.operations.ParameterGroupingOperations.post_shared_parameter_group_object": null,
"azureparametergroupingversiontolerant.operations.ParameterGroupingOperations.group_with_constant": null,
"azureparametergroupingversiontolerant.aio.operations.ParameterGroupingOperations.group_with_constant": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"CrossLanguageDefinitionId": {
"azurereportversiontolerant.AutoRestReportServiceForAzure.get_report": null,
"azurereportversiontolerant.aio.AutoRestReportServiceForAzure.get_report": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@
"azurespecialpropertiesversiontolerant.aio.operations.HeaderOperations.custom_named_request_id_param_grouping": null,
"azurespecialpropertiesversiontolerant.operations.HeaderOperations.custom_named_request_id_head": null,
"azurespecialpropertiesversiontolerant.aio.operations.HeaderOperations.custom_named_request_id_head": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"CrossLanguageDefinitionId": {
"custombaseurlversiontolerant.operations.PathsOperations.get_empty": null,
"custombaseurlversiontolerant.aio.operations.PathsOperations.get_empty": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@
"custompollerpagerversiontolerant.aio.operations.PagingOperations.replace_api_version": null,
"custompollerpagerversiontolerant.operations.PagingOperations.get_paging_model_with_item_name_with_xms_client_name": null,
"custompollerpagerversiontolerant.aio.operations.PagingOperations.get_paging_model_with_item_name_with_xms_client_name": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"custombaseurlpagingversiontolerant.aio.operations.PagingOperations.get_pages_partial_url": null,
"custombaseurlpagingversiontolerant.operations.PagingOperations.get_pages_partial_url_operation": null,
"custombaseurlpagingversiontolerant.aio.operations.PagingOperations.get_pages_partial_url_operation": null
}
},
"CrossLanguageVersion": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"headexceptionsversiontolerant.aio.operations.HeadExceptionOperations.head204": null,
"headexceptionsversiontolerant.operations.HeadExceptionOperations.head404": null,
"headexceptionsversiontolerant.aio.operations.HeadExceptionOperations.head404": null
}
},
"CrossLanguageVersion": null
}
Loading
Loading