From 9b8a13cf94effb131782323a0f564c249012d1d3 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 11 Jun 2026 15:07:12 +0800 Subject: [PATCH 1/9] Run optional post-emitter.ps1 script after SDK generation Add support for a hard-coded, optional post-emitter PowerShell script (post-emitter.ps1) located in the generated package folder (sdk//azure-*). When present, it is executed after code generation so service teams (e.g. Foundry) can run custom post-processing on the generated SDK. Safety/robustness: - Only runs a script located directly inside the package folder (guards against path traversal / symlinks). - Invoked non-interactively (-NonInteractive -NoProfile). - Captures and logs stdout/stderr so output is visible in the pipeline. - Wrapped with a 600s timeout. - Failures are logged but never fail the overall generation. - Gracefully skips when no PowerShell (pwsh) executable is available. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../packaging_tools/sdk_generator.py | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py b/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py index e9624a5db813..842d24c51602 100644 --- a/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py +++ b/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py @@ -51,6 +51,72 @@ def execute_func_with_timeout(func, timeout: int = 900) -> Any: return multiprocessing.Pool(processes=1).apply_async(func).get(timeout) +# Hard-coded name of the optional post-emitter script. If a service team places a +# script with this name in the generated package folder (sdk//azure-*), +# it will be executed after code generation. +POST_EMITTER_SCRIPT_NAME = "post-emitter.ps1" + + +def run_post_emitter_script(sdk_code_path: str) -> None: + """Run the optional post-emitter PowerShell script for a package, if present. + + When a script named ``post-emitter.ps1`` exists directly inside the generated + package folder (``sdk//azure-*``), it is executed after code + generation so service teams can run custom post-processing on the generated + SDK. The script's stdout/stderr are captured and logged so they appear in the + pipeline output. Failures are logged but never fail the overall generation. + """ + package_folder = Path(sdk_code_path).resolve() + script_path = (package_folder / POST_EMITTER_SCRIPT_NAME).resolve() + + # Only run a script that lives directly inside the package folder. This guards + # against path traversal / symlinks that point outside the package folder. + if script_path.parent != package_folder or not script_path.is_file(): + return + + pwsh = shutil.which("pwsh") or shutil.which("powershell") + if not pwsh: + _LOGGER.warning( + f"[POST-EMITTER] Found {script_path} but no PowerShell executable (pwsh) is available; skip running it." + ) + return + + _LOGGER.info(f"[POST-EMITTER] Running post-emitter script: {script_path}") + post_emitter_start_time = time.time() + try: + process = subprocess.run( + [ + pwsh, + "-NonInteractive", + "-NoProfile", + "-ExecutionPolicy", + "Bypass", + "-File", + str(script_path), + ], + cwd=str(package_folder), + capture_output=True, + text=True, + timeout=600, + ) + if process.stdout: + _LOGGER.info(f"[POST-EMITTER] stdout:\n{process.stdout}") + if process.stderr: + _LOGGER.warning(f"[POST-EMITTER] stderr:\n{process.stderr}") + if process.returncode != 0: + _LOGGER.error(f"[POST-EMITTER] Script {script_path} exited with non-zero code {process.returncode}.") + else: + _LOGGER.info(f"[POST-EMITTER] Script {script_path} completed successfully.") + except subprocess.TimeoutExpired: + _LOGGER.error(f"[POST-EMITTER] Script {script_path} timed out after 600 seconds.") + except Exception as e: + _LOGGER.warning(f"[POST-EMITTER] Fail to run script {script_path}: {str(e)}") + finally: + _LOGGER.info( + f"[POST-EMITTER] post-emitter script cost time: {int(time.time() - post_emitter_start_time)} seconds" + ) + + # return relative path like: network/azure-mgmt-network def extract_sdk_folder(python_md: List[str]) -> str: pattern = ["$(python-sdks-folder)", "azure-mgmt-"] @@ -242,6 +308,9 @@ def main(generate_input, generate_output): readme_or_tsp=readme_or_tsp, ) + # Run optional post-emitter script provided by the service team + run_post_emitter_script(sdk_code_path) + # Generate ApiView if data.get("runMode") in ["spec-pull-request"]: apiview_start_time = time.time() From 3e54c280d7ac17d800c8a83e45cc04c706dceed8 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 11 Jun 2026 15:11:49 +0800 Subject: [PATCH 2/9] Log post-emitter failures/timeout as warning instead of error Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py b/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py index 842d24c51602..890183c934a4 100644 --- a/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py +++ b/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py @@ -104,11 +104,11 @@ def run_post_emitter_script(sdk_code_path: str) -> None: if process.stderr: _LOGGER.warning(f"[POST-EMITTER] stderr:\n{process.stderr}") if process.returncode != 0: - _LOGGER.error(f"[POST-EMITTER] Script {script_path} exited with non-zero code {process.returncode}.") + _LOGGER.warning(f"[POST-EMITTER] Script {script_path} exited with non-zero code {process.returncode}.") else: _LOGGER.info(f"[POST-EMITTER] Script {script_path} completed successfully.") except subprocess.TimeoutExpired: - _LOGGER.error(f"[POST-EMITTER] Script {script_path} timed out after 600 seconds.") + _LOGGER.warning(f"[POST-EMITTER] Script {script_path} timed out after 600 seconds.") except Exception as e: _LOGGER.warning(f"[POST-EMITTER] Fail to run script {script_path}: {str(e)}") finally: From e3ff0888a5b2cfa1c8a6328c5fa5886a56f81cbb Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 11 Jun 2026 15:13:24 +0800 Subject: [PATCH 3/9] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py b/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py index 890183c934a4..f9d1897f4412 100644 --- a/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py +++ b/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py @@ -77,7 +77,7 @@ def run_post_emitter_script(sdk_code_path: str) -> None: pwsh = shutil.which("pwsh") or shutil.which("powershell") if not pwsh: _LOGGER.warning( - f"[POST-EMITTER] Found {script_path} but no PowerShell executable (pwsh) is available; skip running it." + f"[POST-EMITTER] Found {script_path} but no PowerShell executable (pwsh/powershell) is available; skipping." ) return From b1e8cfb00744fe27f8773874cf7086eb6a52ad57 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 11 Jun 2026 15:16:40 +0800 Subject: [PATCH 4/9] Simplify post-emitter script check to existence only Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py b/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py index f9d1897f4412..635e2c92da59 100644 --- a/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py +++ b/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py @@ -67,11 +67,10 @@ def run_post_emitter_script(sdk_code_path: str) -> None: pipeline output. Failures are logged but never fail the overall generation. """ package_folder = Path(sdk_code_path).resolve() - script_path = (package_folder / POST_EMITTER_SCRIPT_NAME).resolve() + script_path = package_folder / POST_EMITTER_SCRIPT_NAME - # Only run a script that lives directly inside the package folder. This guards - # against path traversal / symlinks that point outside the package folder. - if script_path.parent != package_folder or not script_path.is_file(): + # Run the script only when it exists; otherwise this is a no-op. + if not script_path.is_file(): return pwsh = shutil.which("pwsh") or shutil.which("powershell") From 51a5e705c279f81fe42cc24b2fc16801010029d4 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 11 Jun 2026 15:21:13 +0800 Subject: [PATCH 5/9] Rename post-emitter script to _post_emitter.ps1 to signal it is private Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py b/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py index 635e2c92da59..8a4cd8404765 100644 --- a/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py +++ b/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py @@ -54,13 +54,13 @@ def execute_func_with_timeout(func, timeout: int = 900) -> Any: # Hard-coded name of the optional post-emitter script. If a service team places a # script with this name in the generated package folder (sdk//azure-*), # it will be executed after code generation. -POST_EMITTER_SCRIPT_NAME = "post-emitter.ps1" +POST_EMITTER_SCRIPT_NAME = "_post_emitter.ps1" def run_post_emitter_script(sdk_code_path: str) -> None: """Run the optional post-emitter PowerShell script for a package, if present. - When a script named ``post-emitter.ps1`` exists directly inside the generated + When a script named ``_post_emitter.ps1`` exists directly inside the generated package folder (``sdk//azure-*``), it is executed after code generation so service teams can run custom post-processing on the generated SDK. The script's stdout/stderr are captured and logged so they appear in the From 8d034baf5deda77e2268f572e4daa18ae3ea3b94 Mon Sep 17 00:00:00 2001 From: iscai-msft Date: Thu, 11 Jun 2026 14:58:25 -0400 Subject: [PATCH 6/9] chore: rename post emitter script to PostEmitter.ps1 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py b/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py index 8a4cd8404765..66b69b4dffe9 100644 --- a/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py +++ b/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py @@ -54,7 +54,7 @@ def execute_func_with_timeout(func, timeout: int = 900) -> Any: # Hard-coded name of the optional post-emitter script. If a service team places a # script with this name in the generated package folder (sdk//azure-*), # it will be executed after code generation. -POST_EMITTER_SCRIPT_NAME = "_post_emitter.ps1" +POST_EMITTER_SCRIPT_NAME = "PostEmitter.ps1" def run_post_emitter_script(sdk_code_path: str) -> None: From 67f426adef14c85b390a7f9f015205841c89f467 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Fri, 12 Jun 2026 10:15:21 +0800 Subject: [PATCH 7/9] Log a message when post-emitter script is not found Helps debugging when a service team adds the script but does not see it run. Also fix a stale docstring reference to the script name. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../packaging_tools/sdk_generator.py | 3 +- log.txt | 311 ++++++++++++++++++ 2 files changed, 313 insertions(+), 1 deletion(-) create mode 100644 log.txt diff --git a/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py b/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py index 66b69b4dffe9..5624d13cadcd 100644 --- a/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py +++ b/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py @@ -60,7 +60,7 @@ def execute_func_with_timeout(func, timeout: int = 900) -> Any: def run_post_emitter_script(sdk_code_path: str) -> None: """Run the optional post-emitter PowerShell script for a package, if present. - When a script named ``_post_emitter.ps1`` exists directly inside the generated + When a script named ``PostEmitter.ps1`` exists directly inside the generated package folder (``sdk//azure-*``), it is executed after code generation so service teams can run custom post-processing on the generated SDK. The script's stdout/stderr are captured and logged so they appear in the @@ -71,6 +71,7 @@ def run_post_emitter_script(sdk_code_path: str) -> None: # Run the script only when it exists; otherwise this is a no-op. if not script_path.is_file(): + _LOGGER.info(f"[POST-EMITTER] Skip running post-emitter script since file {script_path} was not found.") return pwsh = shutil.which("pwsh") or shutil.which("powershell") diff --git a/log.txt b/log.txt new file mode 100644 index 000000000000..84e5b9a16732 --- /dev/null +++ b/log.txt @@ -0,0 +1,311 @@ +2026-06-11 15:26:35 [INFO] [CODEGEN](specification/resources/resource-manager/Microsoft.Resources/resources)codegen begin +2026-06-11 15:26:35 [INFO] do not find tspconfig.yaml: specification\resources\resource-manager\Microsoft.Resources\resources\tspconfig.yaml +2026-06-11 15:26:35 [INFO] skip install since @azure-tools/typespec-python is already installed +2026-06-11 15:26:35 [INFO] generation cmd: npx --no --prefix eng/common/tsp-client tsp-client init --update-if-exists -c https://github.com/Azure/azure-rest-api-specs/blob/f45c77ffb6fccd3c55e14cb0de6d629c9a5592da/specification/resources/resource-manager/Microsoft.Resources/resources/tspconfig.yaml --skip-install --debug +2026-06-11 15:27:30 [INFO] code generation cost time: 54 seconds +2026-06-11 15:27:31 [INFO] [CODEGEN](specification/resources/resource-manager/Microsoft.Resources/resources)codegen end and new package 'sdk/resources/azure-mgmt-resource' generated +2026-06-11 15:27:33 [INFO] format sdk\resources\azure-mgmt-resource\generated_samples successfully +2026-06-11 15:27:33 [INFO] format sdk\resources\azure-mgmt-resource\generated_tests successfully +Obtaining file:///C:/dev/azure-sdk-for-python/sdk/resources/azure-mgmt-resource + Installing build dependencies: started + Installing build dependencies: finished with status 'done' + Checking if build backend supports build_editable: started + Checking if build backend supports build_editable: finished with status 'done' + Getting requirements to build editable: started + Getting requirements to build editable: finished with status 'done' + Preparing editable metadata (pyproject.toml): started + Preparing editable metadata (pyproject.toml): finished with status 'done' +Requirement already satisfied: isodate>=0.6.1 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from azure-mgmt-resource==26.0.0b2) (0.7.2) +Requirement already satisfied: azure-mgmt-core>=1.6.0 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from azure-mgmt-resource==26.0.0b2) (1.6.0) +Requirement already satisfied: typing-extensions>=4.6.0 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from azure-mgmt-resource==26.0.0b2) (4.15.0) +Requirement already satisfied: azure-core>=1.32.0 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from azure-mgmt-core>=1.6.0->azure-mgmt-resource==26.0.0b2) (1.37.0) +Requirement already satisfied: requests>=2.21.0 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from azure-core>=1.32.0->azure-mgmt-core>=1.6.0->azure-mgmt-resource==26.0.0b2) (2.32.5) +Requirement already satisfied: charset_normalizer<4,>=2 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from requests>=2.21.0->azure-core>=1.32.0->azure-mgmt-core>=1.6.0->azure-mgmt-resource==26.0.0b2) (3.4.3) +Requirement already satisfied: idna<4,>=2.5 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from requests>=2.21.0->azure-core>=1.32.0->azure-mgmt-core>=1.6.0->azure-mgmt-resource==26.0.0b2) (3.10) +Requirement already satisfied: urllib3<3,>=1.21.1 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from requests>=2.21.0->azure-core>=1.32.0->azure-mgmt-core>=1.6.0->azure-mgmt-resource==26.0.0b2) (2.5.0) +Requirement already satisfied: certifi>=2017.4.17 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from requests>=2.21.0->azure-core>=1.32.0->azure-mgmt-core>=1.6.0->azure-mgmt-resource==26.0.0b2) (2025.8.3) +Building wheels for collected packages: azure-mgmt-resource + Building editable for azure-mgmt-resource (pyproject.toml): started + Building editable for azure-mgmt-resource (pyproject.toml): finished with status 'done' + Created wheel for azure-mgmt-resource: filename=azure_mgmt_resource-26.0.0b2-0.editable-py3-none-any.whl size=14566 sha256=5303b5bf4a821709135629a7f02b6ffd3bbcc60e435e6a63234fbf590a0ba42e + Stored in directory: C:\Users\yuchaoyan\AppData\Local\Temp\pip-ephem-wheel-cache-558e9kov\wheels\68\5a\2c\b23e13348a16c82a2f7cfe76ce1388180a0ed3390e32dfed41 +Successfully built azure-mgmt-resource +Installing collected packages: azure-mgmt-resource + Attempting uninstall: azure-mgmt-resource + Found existing installation: azure-mgmt-resource 26.0.0b1 + Uninstalling azure-mgmt-resource-26.0.0b1: + Successfully uninstalled azure-mgmt-resource-26.0.0b1 +Successfully installed azure-mgmt-resource-26.0.0b2 +2026-06-11 15:27:53 [INFO] changelog generation cost time: 0 seconds +2026-06-11 15:27:53 [INFO] [PACKAGE](azure-mgmt-resource)[CHANGELOG]:skip changelog generation +2026-06-11 15:27:53 [WARNING] Generated changelog content for azure-mgmt-resource seems invalid. And we still update CHANGELOG.md so that you could know where to update manually. +2026-06-11 15:27:53 [INFO] Using current date '2026-06-11' as release date +2026-06-11 15:27:53 [WARNING] Changelog content for azure-mgmt-resource seems invalid and we cannot calculate the next version based on it. But we will still update _version.py and CHANGELOG.md so that you could know where to update manually. +2026-06-11 15:27:53 [INFO] Updated version line in CHANGELOG.md to: ## 26.0.0b2 (2026-06-11) +2026-06-11 15:27:53 [INFO] Removing duplicate version section for 26.0.0b2 (lines 7-10) +2026-06-11 15:27:53 [INFO] Metadata json: + { + "apiVersion": "2025-04-01", + "apiVersions": { + "Microsoft.Resources": "2025-04-01" + }, + "commit": "f45c77ffb6fccd3c55e14cb0de6d629c9a5592da", + "repository_url": "https://github.com/Azure/azure-rest-api-specs", + "typespec_src": "specification/resources/resource-manager/Microsoft.Resources/resources", + "emitterVersion": "0.63.1", + "httpClientPythonVersion": "^0.31.1" +} +2026-06-11 15:27:53 [INFO] Saved metadata to C:\dev\azure-sdk-for-python\sdk\resources\azure-mgmt-resource\_metadata.json +2026-06-11 15:27:53 [INFO] Building template azure-mgmt-resource +2026-06-11 15:27:53 [INFO] Build default conf for azure-mgmt-resource +2026-06-11 15:27:53 [INFO] Skipping template CHANGELOG.md +2026-06-11 15:27:53 [INFO] Skipping template LICENSE +2026-06-11 15:27:53 [INFO] Skipping template MANIFEST.in +2026-06-11 15:27:53 [INFO] Skipping template setup.py +2026-06-11 15:27:53 [INFO] Template done azure-mgmt-resource +2026-06-11 15:27:53 [INFO] Can not find the title for azure-mgmt-resource +2026-06-11 15:27:53 [INFO] Update azure-mgmt-resource\pyproject.toml successfully +2026-06-11 15:27:53 [INFO] Building template azure-mgmt-resource +2026-06-11 15:27:53 [INFO] Build default conf for azure-mgmt-resource +2026-06-11 15:27:53 [INFO] Skipping template CHANGELOG.md +2026-06-11 15:27:53 [INFO] Skipping template LICENSE +2026-06-11 15:27:53 [INFO] Skipping template MANIFEST.in +2026-06-11 15:27:53 [INFO] Skipping template setup.py +2026-06-11 15:27:53 [INFO] Template done azure-mgmt-resource +2026-06-11 15:27:53 [INFO] packaging_tools --build-conf successfully +2026-06-11 15:27:53 [INFO] Check azure-mgmt-resource\pyproject.toml for classifiers successfully +2026-06-11 15:27:53 [INFO] replace "MyService" with "Resource" successfully +2026-06-11 15:27:53 [INFO] Updated pyproject.toml with required azure-sdk-build configurations +2026-06-11 15:27:53 [INFO] [POST-EMITTER] Running post-emitter script: C:\dev\azure-sdk-for-python\sdk\resources\azure-mgmt-resource\_post_emitter.ps1 +2026-06-11 15:27:54 [WARNING] [POST-EMITTER] stderr: +Exception: C:\dev\azure-sdk-for-python\sdk\resources\azure-mgmt-resource\_post_emitter.ps1:9:1 +Line | + 9 |  throw "Post-emitter script intentionally failed." + |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | Post-emitter script intentionally failed. + +2026-06-11 15:27:54 [WARNING] [POST-EMITTER] Script C:\dev\azure-sdk-for-python\sdk\resources\azure-mgmt-resource\_post_emitter.ps1 exited with non-zero code 1. +2026-06-11 15:27:54 [INFO] [POST-EMITTER] post-emitter script cost time: 0 seconds +2026-06-11 15:27:54 [INFO] Skip ApiView generation for package that does not run in pipeline. +2026-06-11 15:27:54 [WARNING] Fail to check generated files for azure-mgmt-resource: 'dict' object has no attribute 'name' +* Creating isolated environment: venv+pip... +* Installing packages in isolated environment: + - setuptools>=77.0.3 + - wheel +* Getting build dependencies for sdist... +running egg_info +writing azure_mgmt_resource.egg-info\PKG-INFO +writing dependency_links to azure_mgmt_resource.egg-info\dependency_links.txt +writing requirements to azure_mgmt_resource.egg-info\requires.txt +writing top-level names to azure_mgmt_resource.egg-info\top_level.txt +reading manifest file 'azure_mgmt_resource.egg-info\SOURCES.txt' +reading manifest template 'MANIFEST.in' +adding license file 'LICENSE' +writing manifest file 'azure_mgmt_resource.egg-info\SOURCES.txt' +* Building sdist... +running sdist +running egg_info +writing azure_mgmt_resource.egg-info\PKG-INFO +writing dependency_links to azure_mgmt_resource.egg-info\dependency_links.txt +writing requirements to azure_mgmt_resource.egg-info\requires.txt +writing top-level names to azure_mgmt_resource.egg-info\top_level.txt +reading manifest file 'azure_mgmt_resource.egg-info\SOURCES.txt' +reading manifest template 'MANIFEST.in' +adding license file 'LICENSE' +writing manifest file 'azure_mgmt_resource.egg-info\SOURCES.txt' +running check +creating azure_mgmt_resource-26.0.0b2 +creating azure_mgmt_resource-26.0.0b2\azure +creating azure_mgmt_resource-26.0.0b2\azure\mgmt +creating azure_mgmt_resource-26.0.0b2\azure\mgmt\resource +creating azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources +creating azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\_utils +creating azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio +creating azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio\operations +creating azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\models +creating azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\operations +creating azure_mgmt_resource-26.0.0b2\azure_mgmt_resource.egg-info +creating azure_mgmt_resource-26.0.0b2\tests +copying files to azure_mgmt_resource-26.0.0b2... +copying CHANGELOG.md -> azure_mgmt_resource-26.0.0b2 +copying LICENSE -> azure_mgmt_resource-26.0.0b2 +copying MANIFEST.in -> azure_mgmt_resource-26.0.0b2 +copying README.md -> azure_mgmt_resource-26.0.0b2 +copying pyproject.toml -> azure_mgmt_resource-26.0.0b2 +copying azure\__init__.py -> azure_mgmt_resource-26.0.0b2\azure +copying azure\mgmt\__init__.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt +copying azure\mgmt\resource\__init__.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource +copying azure\mgmt\resource\resources\__init__.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources +copying azure\mgmt\resource\resources\_client.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources +copying azure\mgmt\resource\resources\_configuration.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources +copying azure\mgmt\resource\resources\_patch.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources +copying azure\mgmt\resource\resources\_version.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources +copying azure\mgmt\resource\resources\py.typed -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources +copying azure\mgmt\resource\resources\_utils\__init__.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\_utils +copying azure\mgmt\resource\resources\_utils\model_base.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\_utils +copying azure\mgmt\resource\resources\_utils\serialization.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\_utils +copying azure\mgmt\resource\resources\aio\__init__.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio +copying azure\mgmt\resource\resources\aio\_client.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio +copying azure\mgmt\resource\resources\aio\_configuration.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio +copying azure\mgmt\resource\resources\aio\_patch.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio +copying azure\mgmt\resource\resources\aio\operations\__init__.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio\operations +copying azure\mgmt\resource\resources\aio\operations\_operations.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio\operations +copying azure\mgmt\resource\resources\aio\operations\_patch.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio\operations +copying azure\mgmt\resource\resources\models\__init__.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\models +copying azure\mgmt\resource\resources\models\_enums.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\models +copying azure\mgmt\resource\resources\models\_models.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\models +copying azure\mgmt\resource\resources\models\_patch.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\models +copying azure\mgmt\resource\resources\operations\__init__.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\operations +copying azure\mgmt\resource\resources\operations\_operations.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\operations +copying azure\mgmt\resource\resources\operations\_patch.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\operations +copying azure_mgmt_resource.egg-info\PKG-INFO -> azure_mgmt_resource-26.0.0b2\azure_mgmt_resource.egg-info +copying azure_mgmt_resource.egg-info\SOURCES.txt -> azure_mgmt_resource-26.0.0b2\azure_mgmt_resource.egg-info +copying azure_mgmt_resource.egg-info\dependency_links.txt -> azure_mgmt_resource-26.0.0b2\azure_mgmt_resource.egg-info +copying azure_mgmt_resource.egg-info\requires.txt -> azure_mgmt_resource-26.0.0b2\azure_mgmt_resource.egg-info +copying azure_mgmt_resource.egg-info\top_level.txt -> azure_mgmt_resource-26.0.0b2\azure_mgmt_resource.egg-info +copying tests\conftest.py -> azure_mgmt_resource-26.0.0b2\tests +copying tests\test_mgmt_resource_resource_management_test.py -> azure_mgmt_resource-26.0.0b2\tests +copying tests\test_resource_management_providers_operations_async_test.py -> azure_mgmt_resource-26.0.0b2\tests +copying tests\test_resource_management_providers_operations_test.py -> azure_mgmt_resource-26.0.0b2\tests +copying tests\test_resource_management_resource_groups_operations_async_test.py -> azure_mgmt_resource-26.0.0b2\tests +copying tests\test_resource_management_resource_groups_operations_test.py -> azure_mgmt_resource-26.0.0b2\tests +copying tests\test_resource_management_resources_operations_async_test.py -> azure_mgmt_resource-26.0.0b2\tests +copying tests\test_resource_management_resources_operations_test.py -> azure_mgmt_resource-26.0.0b2\tests +copying tests\test_resource_management_tags_operations_async_test.py -> azure_mgmt_resource-26.0.0b2\tests +copying tests\test_resource_management_tags_operations_test.py -> azure_mgmt_resource-26.0.0b2\tests +copying tests\test_utils.py -> azure_mgmt_resource-26.0.0b2\tests +copying azure_mgmt_resource.egg-info\SOURCES.txt -> azure_mgmt_resource-26.0.0b2\azure_mgmt_resource.egg-info +Writing azure_mgmt_resource-26.0.0b2\setup.cfg +Creating tar archive +removing 'azure_mgmt_resource-26.0.0b2' (and everything under it) +* Building wheel from sdist +* Creating isolated environment: venv+pip... +* Installing packages in isolated environment: + - setuptools>=77.0.3 + - wheel +* Getting build dependencies for wheel... +running egg_info +writing azure_mgmt_resource.egg-info\PKG-INFO +writing dependency_links to azure_mgmt_resource.egg-info\dependency_links.txt +writing requirements to azure_mgmt_resource.egg-info\requires.txt +writing top-level names to azure_mgmt_resource.egg-info\top_level.txt +reading manifest file 'azure_mgmt_resource.egg-info\SOURCES.txt' +reading manifest template 'MANIFEST.in' +adding license file 'LICENSE' +writing manifest file 'azure_mgmt_resource.egg-info\SOURCES.txt' +* Building wheel... +running bdist_wheel +running build +running build_py +creating build\lib\azure\mgmt\resource\resources +copying azure\mgmt\resource\resources\_client.py -> build\lib\azure\mgmt\resource\resources +copying azure\mgmt\resource\resources\_configuration.py -> build\lib\azure\mgmt\resource\resources +copying azure\mgmt\resource\resources\_patch.py -> build\lib\azure\mgmt\resource\resources +copying azure\mgmt\resource\resources\_version.py -> build\lib\azure\mgmt\resource\resources +copying azure\mgmt\resource\resources\__init__.py -> build\lib\azure\mgmt\resource\resources +creating build\lib\azure\mgmt\resource\resources\aio +copying azure\mgmt\resource\resources\aio\_client.py -> build\lib\azure\mgmt\resource\resources\aio +copying azure\mgmt\resource\resources\aio\_configuration.py -> build\lib\azure\mgmt\resource\resources\aio +copying azure\mgmt\resource\resources\aio\_patch.py -> build\lib\azure\mgmt\resource\resources\aio +copying azure\mgmt\resource\resources\aio\__init__.py -> build\lib\azure\mgmt\resource\resources\aio +creating build\lib\azure\mgmt\resource\resources\models +copying azure\mgmt\resource\resources\models\_enums.py -> build\lib\azure\mgmt\resource\resources\models +copying azure\mgmt\resource\resources\models\_models.py -> build\lib\azure\mgmt\resource\resources\models +copying azure\mgmt\resource\resources\models\_patch.py -> build\lib\azure\mgmt\resource\resources\models +copying azure\mgmt\resource\resources\models\__init__.py -> build\lib\azure\mgmt\resource\resources\models +creating build\lib\azure\mgmt\resource\resources\operations +copying azure\mgmt\resource\resources\operations\_operations.py -> build\lib\azure\mgmt\resource\resources\operations +copying azure\mgmt\resource\resources\operations\_patch.py -> build\lib\azure\mgmt\resource\resources\operations +copying azure\mgmt\resource\resources\operations\__init__.py -> build\lib\azure\mgmt\resource\resources\operations +creating build\lib\azure\mgmt\resource\resources\_utils +copying azure\mgmt\resource\resources\_utils\model_base.py -> build\lib\azure\mgmt\resource\resources\_utils +copying azure\mgmt\resource\resources\_utils\serialization.py -> build\lib\azure\mgmt\resource\resources\_utils +copying azure\mgmt\resource\resources\_utils\__init__.py -> build\lib\azure\mgmt\resource\resources\_utils +creating build\lib\azure\mgmt\resource\resources\aio\operations +copying azure\mgmt\resource\resources\aio\operations\_operations.py -> build\lib\azure\mgmt\resource\resources\aio\operations +copying azure\mgmt\resource\resources\aio\operations\_patch.py -> build\lib\azure\mgmt\resource\resources\aio\operations +copying azure\mgmt\resource\resources\aio\operations\__init__.py -> build\lib\azure\mgmt\resource\resources\aio\operations +running egg_info +writing azure_mgmt_resource.egg-info\PKG-INFO +writing dependency_links to azure_mgmt_resource.egg-info\dependency_links.txt +writing requirements to azure_mgmt_resource.egg-info\requires.txt +writing top-level names to azure_mgmt_resource.egg-info\top_level.txt +reading manifest file 'azure_mgmt_resource.egg-info\SOURCES.txt' +reading manifest template 'MANIFEST.in' +adding license file 'LICENSE' +writing manifest file 'azure_mgmt_resource.egg-info\SOURCES.txt' +copying azure\mgmt\resource\resources\py.typed -> build\lib\azure\mgmt\resource\resources +installing to build\bdist.win-amd64\wheel +running install +running install_lib +creating build\bdist.win-amd64\wheel +creating build\bdist.win-amd64\wheel\azure +creating build\bdist.win-amd64\wheel\azure\mgmt +creating build\bdist.win-amd64\wheel\azure\mgmt\resource +creating build\bdist.win-amd64\wheel\azure\mgmt\resource\resources +creating build\bdist.win-amd64\wheel\azure\mgmt\resource\resources\aio +creating build\bdist.win-amd64\wheel\azure\mgmt\resource\resources\aio\operations +copying build\lib\azure\mgmt\resource\resources\aio\operations\_operations.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\aio\operations +copying build\lib\azure\mgmt\resource\resources\aio\operations\_patch.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\aio\operations +copying build\lib\azure\mgmt\resource\resources\aio\operations\__init__.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\aio\operations +copying build\lib\azure\mgmt\resource\resources\aio\_client.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\aio +copying build\lib\azure\mgmt\resource\resources\aio\_configuration.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\aio +copying build\lib\azure\mgmt\resource\resources\aio\_patch.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\aio +copying build\lib\azure\mgmt\resource\resources\aio\__init__.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\aio +creating build\bdist.win-amd64\wheel\azure\mgmt\resource\resources\models +copying build\lib\azure\mgmt\resource\resources\models\_enums.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\models +copying build\lib\azure\mgmt\resource\resources\models\_models.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\models +copying build\lib\azure\mgmt\resource\resources\models\_patch.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\models +copying build\lib\azure\mgmt\resource\resources\models\__init__.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\models +creating build\bdist.win-amd64\wheel\azure\mgmt\resource\resources\operations +copying build\lib\azure\mgmt\resource\resources\operations\_operations.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\operations +copying build\lib\azure\mgmt\resource\resources\operations\_patch.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\operations +copying build\lib\azure\mgmt\resource\resources\operations\__init__.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\operations +copying build\lib\azure\mgmt\resource\resources\py.typed -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources +copying build\lib\azure\mgmt\resource\resources\_client.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources +copying build\lib\azure\mgmt\resource\resources\_configuration.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources +copying build\lib\azure\mgmt\resource\resources\_patch.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources +creating build\bdist.win-amd64\wheel\azure\mgmt\resource\resources\_utils +copying build\lib\azure\mgmt\resource\resources\_utils\model_base.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\_utils +copying build\lib\azure\mgmt\resource\resources\_utils\serialization.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\_utils +copying build\lib\azure\mgmt\resource\resources\_utils\__init__.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\_utils +copying build\lib\azure\mgmt\resource\resources\_version.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources +copying build\lib\azure\mgmt\resource\resources\__init__.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources +running install_egg_info +Copying azure_mgmt_resource.egg-info to build\bdist.win-amd64\wheel\.\azure_mgmt_resource-26.0.0b2-py3.13.egg-info +running install_scripts +creating build\bdist.win-amd64\wheel\azure_mgmt_resource-26.0.0b2.dist-info\WHEEL +creating 'C:\\dev\\azure-sdk-for-python\\sdk\\resources\\azure-mgmt-resource\\dist\\.tmp-v1ksa_tl\\azure_mgmt_resource-26.0.0b2-py3-none-any.whl' and adding 'build\\bdist.win-amd64\\wheel' to it +adding 'azure/mgmt/resource/resources/__init__.py' +adding 'azure/mgmt/resource/resources/_client.py' +adding 'azure/mgmt/resource/resources/_configuration.py' +adding 'azure/mgmt/resource/resources/_patch.py' +adding 'azure/mgmt/resource/resources/_version.py' +adding 'azure/mgmt/resource/resources/py.typed' +adding 'azure/mgmt/resource/resources/_utils/__init__.py' +adding 'azure/mgmt/resource/resources/_utils/model_base.py' +adding 'azure/mgmt/resource/resources/_utils/serialization.py' +adding 'azure/mgmt/resource/resources/aio/__init__.py' +adding 'azure/mgmt/resource/resources/aio/_client.py' +adding 'azure/mgmt/resource/resources/aio/_configuration.py' +adding 'azure/mgmt/resource/resources/aio/_patch.py' +adding 'azure/mgmt/resource/resources/aio/operations/__init__.py' +adding 'azure/mgmt/resource/resources/aio/operations/_operations.py' +adding 'azure/mgmt/resource/resources/aio/operations/_patch.py' +adding 'azure/mgmt/resource/resources/models/__init__.py' +adding 'azure/mgmt/resource/resources/models/_enums.py' +adding 'azure/mgmt/resource/resources/models/_models.py' +adding 'azure/mgmt/resource/resources/models/_patch.py' +adding 'azure/mgmt/resource/resources/operations/__init__.py' +adding 'azure/mgmt/resource/resources/operations/_operations.py' +adding 'azure/mgmt/resource/resources/operations/_patch.py' +adding 'azure_mgmt_resource-26.0.0b2.dist-info/licenses/LICENSE' +adding 'azure_mgmt_resource-26.0.0b2.dist-info/METADATA' +adding 'azure_mgmt_resource-26.0.0b2.dist-info/WHEEL' +adding 'azure_mgmt_resource-26.0.0b2.dist-info/top_level.txt' +adding 'azure_mgmt_resource-26.0.0b2.dist-info/RECORD' +removing build\bdist.win-amd64\wheel +Successfully built azure_mgmt_resource-26.0.0b2.tar.gz and azure_mgmt_resource-26.0.0b2-py3-none-any.whl +2026-06-11 15:28:09 [INFO] Built package azure-mgmt-resource successfully. +2026-06-11 15:28:09 [INFO] Processing 1 generated packages... +2026-06-11 15:28:09 [INFO] Congratulations! Succeed to build package for ['azure-mgmt-resource']. And you shall be able to see the generated code when running 'git status'. From 30a222738a588ab453c7e0a18a6eaa58e48bd1b7 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Fri, 12 Jun 2026 10:16:29 +0800 Subject: [PATCH 8/9] Delete log.txt --- log.txt | 311 -------------------------------------------------------- 1 file changed, 311 deletions(-) delete mode 100644 log.txt diff --git a/log.txt b/log.txt deleted file mode 100644 index 84e5b9a16732..000000000000 --- a/log.txt +++ /dev/null @@ -1,311 +0,0 @@ -2026-06-11 15:26:35 [INFO] [CODEGEN](specification/resources/resource-manager/Microsoft.Resources/resources)codegen begin -2026-06-11 15:26:35 [INFO] do not find tspconfig.yaml: specification\resources\resource-manager\Microsoft.Resources\resources\tspconfig.yaml -2026-06-11 15:26:35 [INFO] skip install since @azure-tools/typespec-python is already installed -2026-06-11 15:26:35 [INFO] generation cmd: npx --no --prefix eng/common/tsp-client tsp-client init --update-if-exists -c https://github.com/Azure/azure-rest-api-specs/blob/f45c77ffb6fccd3c55e14cb0de6d629c9a5592da/specification/resources/resource-manager/Microsoft.Resources/resources/tspconfig.yaml --skip-install --debug -2026-06-11 15:27:30 [INFO] code generation cost time: 54 seconds -2026-06-11 15:27:31 [INFO] [CODEGEN](specification/resources/resource-manager/Microsoft.Resources/resources)codegen end and new package 'sdk/resources/azure-mgmt-resource' generated -2026-06-11 15:27:33 [INFO] format sdk\resources\azure-mgmt-resource\generated_samples successfully -2026-06-11 15:27:33 [INFO] format sdk\resources\azure-mgmt-resource\generated_tests successfully -Obtaining file:///C:/dev/azure-sdk-for-python/sdk/resources/azure-mgmt-resource - Installing build dependencies: started - Installing build dependencies: finished with status 'done' - Checking if build backend supports build_editable: started - Checking if build backend supports build_editable: finished with status 'done' - Getting requirements to build editable: started - Getting requirements to build editable: finished with status 'done' - Preparing editable metadata (pyproject.toml): started - Preparing editable metadata (pyproject.toml): finished with status 'done' -Requirement already satisfied: isodate>=0.6.1 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from azure-mgmt-resource==26.0.0b2) (0.7.2) -Requirement already satisfied: azure-mgmt-core>=1.6.0 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from azure-mgmt-resource==26.0.0b2) (1.6.0) -Requirement already satisfied: typing-extensions>=4.6.0 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from azure-mgmt-resource==26.0.0b2) (4.15.0) -Requirement already satisfied: azure-core>=1.32.0 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from azure-mgmt-core>=1.6.0->azure-mgmt-resource==26.0.0b2) (1.37.0) -Requirement already satisfied: requests>=2.21.0 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from azure-core>=1.32.0->azure-mgmt-core>=1.6.0->azure-mgmt-resource==26.0.0b2) (2.32.5) -Requirement already satisfied: charset_normalizer<4,>=2 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from requests>=2.21.0->azure-core>=1.32.0->azure-mgmt-core>=1.6.0->azure-mgmt-resource==26.0.0b2) (3.4.3) -Requirement already satisfied: idna<4,>=2.5 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from requests>=2.21.0->azure-core>=1.32.0->azure-mgmt-core>=1.6.0->azure-mgmt-resource==26.0.0b2) (3.10) -Requirement already satisfied: urllib3<3,>=1.21.1 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from requests>=2.21.0->azure-core>=1.32.0->azure-mgmt-core>=1.6.0->azure-mgmt-resource==26.0.0b2) (2.5.0) -Requirement already satisfied: certifi>=2017.4.17 in c:\dev\azure-sdk-for-python\.venv\lib\site-packages (from requests>=2.21.0->azure-core>=1.32.0->azure-mgmt-core>=1.6.0->azure-mgmt-resource==26.0.0b2) (2025.8.3) -Building wheels for collected packages: azure-mgmt-resource - Building editable for azure-mgmt-resource (pyproject.toml): started - Building editable for azure-mgmt-resource (pyproject.toml): finished with status 'done' - Created wheel for azure-mgmt-resource: filename=azure_mgmt_resource-26.0.0b2-0.editable-py3-none-any.whl size=14566 sha256=5303b5bf4a821709135629a7f02b6ffd3bbcc60e435e6a63234fbf590a0ba42e - Stored in directory: C:\Users\yuchaoyan\AppData\Local\Temp\pip-ephem-wheel-cache-558e9kov\wheels\68\5a\2c\b23e13348a16c82a2f7cfe76ce1388180a0ed3390e32dfed41 -Successfully built azure-mgmt-resource -Installing collected packages: azure-mgmt-resource - Attempting uninstall: azure-mgmt-resource - Found existing installation: azure-mgmt-resource 26.0.0b1 - Uninstalling azure-mgmt-resource-26.0.0b1: - Successfully uninstalled azure-mgmt-resource-26.0.0b1 -Successfully installed azure-mgmt-resource-26.0.0b2 -2026-06-11 15:27:53 [INFO] changelog generation cost time: 0 seconds -2026-06-11 15:27:53 [INFO] [PACKAGE](azure-mgmt-resource)[CHANGELOG]:skip changelog generation -2026-06-11 15:27:53 [WARNING] Generated changelog content for azure-mgmt-resource seems invalid. And we still update CHANGELOG.md so that you could know where to update manually. -2026-06-11 15:27:53 [INFO] Using current date '2026-06-11' as release date -2026-06-11 15:27:53 [WARNING] Changelog content for azure-mgmt-resource seems invalid and we cannot calculate the next version based on it. But we will still update _version.py and CHANGELOG.md so that you could know where to update manually. -2026-06-11 15:27:53 [INFO] Updated version line in CHANGELOG.md to: ## 26.0.0b2 (2026-06-11) -2026-06-11 15:27:53 [INFO] Removing duplicate version section for 26.0.0b2 (lines 7-10) -2026-06-11 15:27:53 [INFO] Metadata json: - { - "apiVersion": "2025-04-01", - "apiVersions": { - "Microsoft.Resources": "2025-04-01" - }, - "commit": "f45c77ffb6fccd3c55e14cb0de6d629c9a5592da", - "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "typespec_src": "specification/resources/resource-manager/Microsoft.Resources/resources", - "emitterVersion": "0.63.1", - "httpClientPythonVersion": "^0.31.1" -} -2026-06-11 15:27:53 [INFO] Saved metadata to C:\dev\azure-sdk-for-python\sdk\resources\azure-mgmt-resource\_metadata.json -2026-06-11 15:27:53 [INFO] Building template azure-mgmt-resource -2026-06-11 15:27:53 [INFO] Build default conf for azure-mgmt-resource -2026-06-11 15:27:53 [INFO] Skipping template CHANGELOG.md -2026-06-11 15:27:53 [INFO] Skipping template LICENSE -2026-06-11 15:27:53 [INFO] Skipping template MANIFEST.in -2026-06-11 15:27:53 [INFO] Skipping template setup.py -2026-06-11 15:27:53 [INFO] Template done azure-mgmt-resource -2026-06-11 15:27:53 [INFO] Can not find the title for azure-mgmt-resource -2026-06-11 15:27:53 [INFO] Update azure-mgmt-resource\pyproject.toml successfully -2026-06-11 15:27:53 [INFO] Building template azure-mgmt-resource -2026-06-11 15:27:53 [INFO] Build default conf for azure-mgmt-resource -2026-06-11 15:27:53 [INFO] Skipping template CHANGELOG.md -2026-06-11 15:27:53 [INFO] Skipping template LICENSE -2026-06-11 15:27:53 [INFO] Skipping template MANIFEST.in -2026-06-11 15:27:53 [INFO] Skipping template setup.py -2026-06-11 15:27:53 [INFO] Template done azure-mgmt-resource -2026-06-11 15:27:53 [INFO] packaging_tools --build-conf successfully -2026-06-11 15:27:53 [INFO] Check azure-mgmt-resource\pyproject.toml for classifiers successfully -2026-06-11 15:27:53 [INFO] replace "MyService" with "Resource" successfully -2026-06-11 15:27:53 [INFO] Updated pyproject.toml with required azure-sdk-build configurations -2026-06-11 15:27:53 [INFO] [POST-EMITTER] Running post-emitter script: C:\dev\azure-sdk-for-python\sdk\resources\azure-mgmt-resource\_post_emitter.ps1 -2026-06-11 15:27:54 [WARNING] [POST-EMITTER] stderr: -Exception: C:\dev\azure-sdk-for-python\sdk\resources\azure-mgmt-resource\_post_emitter.ps1:9:1 -Line | - 9 |  throw "Post-emitter script intentionally failed." - |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | Post-emitter script intentionally failed. - -2026-06-11 15:27:54 [WARNING] [POST-EMITTER] Script C:\dev\azure-sdk-for-python\sdk\resources\azure-mgmt-resource\_post_emitter.ps1 exited with non-zero code 1. -2026-06-11 15:27:54 [INFO] [POST-EMITTER] post-emitter script cost time: 0 seconds -2026-06-11 15:27:54 [INFO] Skip ApiView generation for package that does not run in pipeline. -2026-06-11 15:27:54 [WARNING] Fail to check generated files for azure-mgmt-resource: 'dict' object has no attribute 'name' -* Creating isolated environment: venv+pip... -* Installing packages in isolated environment: - - setuptools>=77.0.3 - - wheel -* Getting build dependencies for sdist... -running egg_info -writing azure_mgmt_resource.egg-info\PKG-INFO -writing dependency_links to azure_mgmt_resource.egg-info\dependency_links.txt -writing requirements to azure_mgmt_resource.egg-info\requires.txt -writing top-level names to azure_mgmt_resource.egg-info\top_level.txt -reading manifest file 'azure_mgmt_resource.egg-info\SOURCES.txt' -reading manifest template 'MANIFEST.in' -adding license file 'LICENSE' -writing manifest file 'azure_mgmt_resource.egg-info\SOURCES.txt' -* Building sdist... -running sdist -running egg_info -writing azure_mgmt_resource.egg-info\PKG-INFO -writing dependency_links to azure_mgmt_resource.egg-info\dependency_links.txt -writing requirements to azure_mgmt_resource.egg-info\requires.txt -writing top-level names to azure_mgmt_resource.egg-info\top_level.txt -reading manifest file 'azure_mgmt_resource.egg-info\SOURCES.txt' -reading manifest template 'MANIFEST.in' -adding license file 'LICENSE' -writing manifest file 'azure_mgmt_resource.egg-info\SOURCES.txt' -running check -creating azure_mgmt_resource-26.0.0b2 -creating azure_mgmt_resource-26.0.0b2\azure -creating azure_mgmt_resource-26.0.0b2\azure\mgmt -creating azure_mgmt_resource-26.0.0b2\azure\mgmt\resource -creating azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources -creating azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\_utils -creating azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio -creating azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio\operations -creating azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\models -creating azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\operations -creating azure_mgmt_resource-26.0.0b2\azure_mgmt_resource.egg-info -creating azure_mgmt_resource-26.0.0b2\tests -copying files to azure_mgmt_resource-26.0.0b2... -copying CHANGELOG.md -> azure_mgmt_resource-26.0.0b2 -copying LICENSE -> azure_mgmt_resource-26.0.0b2 -copying MANIFEST.in -> azure_mgmt_resource-26.0.0b2 -copying README.md -> azure_mgmt_resource-26.0.0b2 -copying pyproject.toml -> azure_mgmt_resource-26.0.0b2 -copying azure\__init__.py -> azure_mgmt_resource-26.0.0b2\azure -copying azure\mgmt\__init__.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt -copying azure\mgmt\resource\__init__.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource -copying azure\mgmt\resource\resources\__init__.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources -copying azure\mgmt\resource\resources\_client.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources -copying azure\mgmt\resource\resources\_configuration.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources -copying azure\mgmt\resource\resources\_patch.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources -copying azure\mgmt\resource\resources\_version.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources -copying azure\mgmt\resource\resources\py.typed -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources -copying azure\mgmt\resource\resources\_utils\__init__.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\_utils -copying azure\mgmt\resource\resources\_utils\model_base.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\_utils -copying azure\mgmt\resource\resources\_utils\serialization.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\_utils -copying azure\mgmt\resource\resources\aio\__init__.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio -copying azure\mgmt\resource\resources\aio\_client.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio -copying azure\mgmt\resource\resources\aio\_configuration.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio -copying azure\mgmt\resource\resources\aio\_patch.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio -copying azure\mgmt\resource\resources\aio\operations\__init__.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio\operations -copying azure\mgmt\resource\resources\aio\operations\_operations.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio\operations -copying azure\mgmt\resource\resources\aio\operations\_patch.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\aio\operations -copying azure\mgmt\resource\resources\models\__init__.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\models -copying azure\mgmt\resource\resources\models\_enums.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\models -copying azure\mgmt\resource\resources\models\_models.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\models -copying azure\mgmt\resource\resources\models\_patch.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\models -copying azure\mgmt\resource\resources\operations\__init__.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\operations -copying azure\mgmt\resource\resources\operations\_operations.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\operations -copying azure\mgmt\resource\resources\operations\_patch.py -> azure_mgmt_resource-26.0.0b2\azure\mgmt\resource\resources\operations -copying azure_mgmt_resource.egg-info\PKG-INFO -> azure_mgmt_resource-26.0.0b2\azure_mgmt_resource.egg-info -copying azure_mgmt_resource.egg-info\SOURCES.txt -> azure_mgmt_resource-26.0.0b2\azure_mgmt_resource.egg-info -copying azure_mgmt_resource.egg-info\dependency_links.txt -> azure_mgmt_resource-26.0.0b2\azure_mgmt_resource.egg-info -copying azure_mgmt_resource.egg-info\requires.txt -> azure_mgmt_resource-26.0.0b2\azure_mgmt_resource.egg-info -copying azure_mgmt_resource.egg-info\top_level.txt -> azure_mgmt_resource-26.0.0b2\azure_mgmt_resource.egg-info -copying tests\conftest.py -> azure_mgmt_resource-26.0.0b2\tests -copying tests\test_mgmt_resource_resource_management_test.py -> azure_mgmt_resource-26.0.0b2\tests -copying tests\test_resource_management_providers_operations_async_test.py -> azure_mgmt_resource-26.0.0b2\tests -copying tests\test_resource_management_providers_operations_test.py -> azure_mgmt_resource-26.0.0b2\tests -copying tests\test_resource_management_resource_groups_operations_async_test.py -> azure_mgmt_resource-26.0.0b2\tests -copying tests\test_resource_management_resource_groups_operations_test.py -> azure_mgmt_resource-26.0.0b2\tests -copying tests\test_resource_management_resources_operations_async_test.py -> azure_mgmt_resource-26.0.0b2\tests -copying tests\test_resource_management_resources_operations_test.py -> azure_mgmt_resource-26.0.0b2\tests -copying tests\test_resource_management_tags_operations_async_test.py -> azure_mgmt_resource-26.0.0b2\tests -copying tests\test_resource_management_tags_operations_test.py -> azure_mgmt_resource-26.0.0b2\tests -copying tests\test_utils.py -> azure_mgmt_resource-26.0.0b2\tests -copying azure_mgmt_resource.egg-info\SOURCES.txt -> azure_mgmt_resource-26.0.0b2\azure_mgmt_resource.egg-info -Writing azure_mgmt_resource-26.0.0b2\setup.cfg -Creating tar archive -removing 'azure_mgmt_resource-26.0.0b2' (and everything under it) -* Building wheel from sdist -* Creating isolated environment: venv+pip... -* Installing packages in isolated environment: - - setuptools>=77.0.3 - - wheel -* Getting build dependencies for wheel... -running egg_info -writing azure_mgmt_resource.egg-info\PKG-INFO -writing dependency_links to azure_mgmt_resource.egg-info\dependency_links.txt -writing requirements to azure_mgmt_resource.egg-info\requires.txt -writing top-level names to azure_mgmt_resource.egg-info\top_level.txt -reading manifest file 'azure_mgmt_resource.egg-info\SOURCES.txt' -reading manifest template 'MANIFEST.in' -adding license file 'LICENSE' -writing manifest file 'azure_mgmt_resource.egg-info\SOURCES.txt' -* Building wheel... -running bdist_wheel -running build -running build_py -creating build\lib\azure\mgmt\resource\resources -copying azure\mgmt\resource\resources\_client.py -> build\lib\azure\mgmt\resource\resources -copying azure\mgmt\resource\resources\_configuration.py -> build\lib\azure\mgmt\resource\resources -copying azure\mgmt\resource\resources\_patch.py -> build\lib\azure\mgmt\resource\resources -copying azure\mgmt\resource\resources\_version.py -> build\lib\azure\mgmt\resource\resources -copying azure\mgmt\resource\resources\__init__.py -> build\lib\azure\mgmt\resource\resources -creating build\lib\azure\mgmt\resource\resources\aio -copying azure\mgmt\resource\resources\aio\_client.py -> build\lib\azure\mgmt\resource\resources\aio -copying azure\mgmt\resource\resources\aio\_configuration.py -> build\lib\azure\mgmt\resource\resources\aio -copying azure\mgmt\resource\resources\aio\_patch.py -> build\lib\azure\mgmt\resource\resources\aio -copying azure\mgmt\resource\resources\aio\__init__.py -> build\lib\azure\mgmt\resource\resources\aio -creating build\lib\azure\mgmt\resource\resources\models -copying azure\mgmt\resource\resources\models\_enums.py -> build\lib\azure\mgmt\resource\resources\models -copying azure\mgmt\resource\resources\models\_models.py -> build\lib\azure\mgmt\resource\resources\models -copying azure\mgmt\resource\resources\models\_patch.py -> build\lib\azure\mgmt\resource\resources\models -copying azure\mgmt\resource\resources\models\__init__.py -> build\lib\azure\mgmt\resource\resources\models -creating build\lib\azure\mgmt\resource\resources\operations -copying azure\mgmt\resource\resources\operations\_operations.py -> build\lib\azure\mgmt\resource\resources\operations -copying azure\mgmt\resource\resources\operations\_patch.py -> build\lib\azure\mgmt\resource\resources\operations -copying azure\mgmt\resource\resources\operations\__init__.py -> build\lib\azure\mgmt\resource\resources\operations -creating build\lib\azure\mgmt\resource\resources\_utils -copying azure\mgmt\resource\resources\_utils\model_base.py -> build\lib\azure\mgmt\resource\resources\_utils -copying azure\mgmt\resource\resources\_utils\serialization.py -> build\lib\azure\mgmt\resource\resources\_utils -copying azure\mgmt\resource\resources\_utils\__init__.py -> build\lib\azure\mgmt\resource\resources\_utils -creating build\lib\azure\mgmt\resource\resources\aio\operations -copying azure\mgmt\resource\resources\aio\operations\_operations.py -> build\lib\azure\mgmt\resource\resources\aio\operations -copying azure\mgmt\resource\resources\aio\operations\_patch.py -> build\lib\azure\mgmt\resource\resources\aio\operations -copying azure\mgmt\resource\resources\aio\operations\__init__.py -> build\lib\azure\mgmt\resource\resources\aio\operations -running egg_info -writing azure_mgmt_resource.egg-info\PKG-INFO -writing dependency_links to azure_mgmt_resource.egg-info\dependency_links.txt -writing requirements to azure_mgmt_resource.egg-info\requires.txt -writing top-level names to azure_mgmt_resource.egg-info\top_level.txt -reading manifest file 'azure_mgmt_resource.egg-info\SOURCES.txt' -reading manifest template 'MANIFEST.in' -adding license file 'LICENSE' -writing manifest file 'azure_mgmt_resource.egg-info\SOURCES.txt' -copying azure\mgmt\resource\resources\py.typed -> build\lib\azure\mgmt\resource\resources -installing to build\bdist.win-amd64\wheel -running install -running install_lib -creating build\bdist.win-amd64\wheel -creating build\bdist.win-amd64\wheel\azure -creating build\bdist.win-amd64\wheel\azure\mgmt -creating build\bdist.win-amd64\wheel\azure\mgmt\resource -creating build\bdist.win-amd64\wheel\azure\mgmt\resource\resources -creating build\bdist.win-amd64\wheel\azure\mgmt\resource\resources\aio -creating build\bdist.win-amd64\wheel\azure\mgmt\resource\resources\aio\operations -copying build\lib\azure\mgmt\resource\resources\aio\operations\_operations.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\aio\operations -copying build\lib\azure\mgmt\resource\resources\aio\operations\_patch.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\aio\operations -copying build\lib\azure\mgmt\resource\resources\aio\operations\__init__.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\aio\operations -copying build\lib\azure\mgmt\resource\resources\aio\_client.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\aio -copying build\lib\azure\mgmt\resource\resources\aio\_configuration.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\aio -copying build\lib\azure\mgmt\resource\resources\aio\_patch.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\aio -copying build\lib\azure\mgmt\resource\resources\aio\__init__.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\aio -creating build\bdist.win-amd64\wheel\azure\mgmt\resource\resources\models -copying build\lib\azure\mgmt\resource\resources\models\_enums.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\models -copying build\lib\azure\mgmt\resource\resources\models\_models.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\models -copying build\lib\azure\mgmt\resource\resources\models\_patch.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\models -copying build\lib\azure\mgmt\resource\resources\models\__init__.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\models -creating build\bdist.win-amd64\wheel\azure\mgmt\resource\resources\operations -copying build\lib\azure\mgmt\resource\resources\operations\_operations.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\operations -copying build\lib\azure\mgmt\resource\resources\operations\_patch.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\operations -copying build\lib\azure\mgmt\resource\resources\operations\__init__.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\operations -copying build\lib\azure\mgmt\resource\resources\py.typed -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources -copying build\lib\azure\mgmt\resource\resources\_client.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources -copying build\lib\azure\mgmt\resource\resources\_configuration.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources -copying build\lib\azure\mgmt\resource\resources\_patch.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources -creating build\bdist.win-amd64\wheel\azure\mgmt\resource\resources\_utils -copying build\lib\azure\mgmt\resource\resources\_utils\model_base.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\_utils -copying build\lib\azure\mgmt\resource\resources\_utils\serialization.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\_utils -copying build\lib\azure\mgmt\resource\resources\_utils\__init__.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources\_utils -copying build\lib\azure\mgmt\resource\resources\_version.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources -copying build\lib\azure\mgmt\resource\resources\__init__.py -> build\bdist.win-amd64\wheel\.\azure\mgmt\resource\resources -running install_egg_info -Copying azure_mgmt_resource.egg-info to build\bdist.win-amd64\wheel\.\azure_mgmt_resource-26.0.0b2-py3.13.egg-info -running install_scripts -creating build\bdist.win-amd64\wheel\azure_mgmt_resource-26.0.0b2.dist-info\WHEEL -creating 'C:\\dev\\azure-sdk-for-python\\sdk\\resources\\azure-mgmt-resource\\dist\\.tmp-v1ksa_tl\\azure_mgmt_resource-26.0.0b2-py3-none-any.whl' and adding 'build\\bdist.win-amd64\\wheel' to it -adding 'azure/mgmt/resource/resources/__init__.py' -adding 'azure/mgmt/resource/resources/_client.py' -adding 'azure/mgmt/resource/resources/_configuration.py' -adding 'azure/mgmt/resource/resources/_patch.py' -adding 'azure/mgmt/resource/resources/_version.py' -adding 'azure/mgmt/resource/resources/py.typed' -adding 'azure/mgmt/resource/resources/_utils/__init__.py' -adding 'azure/mgmt/resource/resources/_utils/model_base.py' -adding 'azure/mgmt/resource/resources/_utils/serialization.py' -adding 'azure/mgmt/resource/resources/aio/__init__.py' -adding 'azure/mgmt/resource/resources/aio/_client.py' -adding 'azure/mgmt/resource/resources/aio/_configuration.py' -adding 'azure/mgmt/resource/resources/aio/_patch.py' -adding 'azure/mgmt/resource/resources/aio/operations/__init__.py' -adding 'azure/mgmt/resource/resources/aio/operations/_operations.py' -adding 'azure/mgmt/resource/resources/aio/operations/_patch.py' -adding 'azure/mgmt/resource/resources/models/__init__.py' -adding 'azure/mgmt/resource/resources/models/_enums.py' -adding 'azure/mgmt/resource/resources/models/_models.py' -adding 'azure/mgmt/resource/resources/models/_patch.py' -adding 'azure/mgmt/resource/resources/operations/__init__.py' -adding 'azure/mgmt/resource/resources/operations/_operations.py' -adding 'azure/mgmt/resource/resources/operations/_patch.py' -adding 'azure_mgmt_resource-26.0.0b2.dist-info/licenses/LICENSE' -adding 'azure_mgmt_resource-26.0.0b2.dist-info/METADATA' -adding 'azure_mgmt_resource-26.0.0b2.dist-info/WHEEL' -adding 'azure_mgmt_resource-26.0.0b2.dist-info/top_level.txt' -adding 'azure_mgmt_resource-26.0.0b2.dist-info/RECORD' -removing build\bdist.win-amd64\wheel -Successfully built azure_mgmt_resource-26.0.0b2.tar.gz and azure_mgmt_resource-26.0.0b2-py3-none-any.whl -2026-06-11 15:28:09 [INFO] Built package azure-mgmt-resource successfully. -2026-06-11 15:28:09 [INFO] Processing 1 generated packages... -2026-06-11 15:28:09 [INFO] Congratulations! Succeed to build package for ['azure-mgmt-resource']. And you shall be able to see the generated code when running 'git status'. From a3769853eb68d69a96f6b27c24e0e60e3878a6eb Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Fri, 12 Jun 2026 10:19:30 +0800 Subject: [PATCH 9/9] Reference POST_EMITTER_SCRIPT_NAME in docstring instead of hard-coded filename Avoids the docstring drifting out of sync with the constant (the previous literal was stale). The constant is now the single source of truth for the script name. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../azure-sdk-tools/packaging_tools/sdk_generator.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py b/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py index 5624d13cadcd..c5a40c6e3496 100644 --- a/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py +++ b/eng/tools/azure-sdk-tools/packaging_tools/sdk_generator.py @@ -60,11 +60,11 @@ def execute_func_with_timeout(func, timeout: int = 900) -> Any: def run_post_emitter_script(sdk_code_path: str) -> None: """Run the optional post-emitter PowerShell script for a package, if present. - When a script named ``PostEmitter.ps1`` exists directly inside the generated - package folder (``sdk//azure-*``), it is executed after code - generation so service teams can run custom post-processing on the generated - SDK. The script's stdout/stderr are captured and logged so they appear in the - pipeline output. Failures are logged but never fail the overall generation. + When a script whose name matches ``POST_EMITTER_SCRIPT_NAME`` exists directly + inside the generated package folder (``sdk//azure-*``), it is executed + after code generation so service teams can run custom post-processing on the + generated SDK. The script's stdout/stderr are captured and logged so they appear + in the pipeline output. Failures are logged but never fail the overall generation. """ package_folder = Path(sdk_code_path).resolve() script_path = package_folder / POST_EMITTER_SCRIPT_NAME