From 0dd7d5584b8fb49106bfefcb759307b2446d1193 Mon Sep 17 00:00:00 2001 From: Andrew Schonhoffer Date: Thu, 22 May 2025 17:38:13 -0400 Subject: [PATCH 1/4] remove union typing --- scripts/azureml-assets/azureml/assets/model/download_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/azureml-assets/azureml/assets/model/download_utils.py b/scripts/azureml-assets/azureml/assets/model/download_utils.py index 55a85dbdc9..52a3fc6989 100644 --- a/scripts/azureml-assets/azureml/assets/model/download_utils.py +++ b/scripts/azureml-assets/azureml/assets/model/download_utils.py @@ -94,7 +94,7 @@ def _onerror(func, path, exc_info): raise -def run_cmd(cmd, cwd: Path | None = None, env: dict | None = None) -> int: +def run_cmd(cmd, cwd: Path = None, env: dict = None) -> int: """Run the command and returns the result.""" logger.print(cmd) result = subprocess.run( From 4f6316671b9ac7dcdd4ff01ab450781ae0e8e0d9 Mon Sep 17 00:00:00 2001 From: Andrew Schonhoffer Date: Thu, 22 May 2025 17:40:16 -0400 Subject: [PATCH 2/4] setup.py and changelog --- scripts/azureml-assets/CHANGELOG.md | 4 ++++ scripts/azureml-assets/setup.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/azureml-assets/CHANGELOG.md b/scripts/azureml-assets/CHANGELOG.md index befcbf6a1f..e9a8d337a6 100644 --- a/scripts/azureml-assets/CHANGELOG.md +++ b/scripts/azureml-assets/CHANGELOG.md @@ -1,6 +1,10 @@ ## 1.17.0 (Unreleased) ### 🚀 New Features +## 1.16.84 (2025-05-22) +### 🚀 New Features +- [#4206](https://github.com/Azure/azureml-assets/pull/4208) Fix for python 3.9 - remove union typing + ## 1.16.82 (2025-05-22) ### 🚀 New Features - [#4206](https://github.com/Azure/azureml-assets/pull/4206) Print azcopy log if output_level==default diff --git a/scripts/azureml-assets/setup.py b/scripts/azureml-assets/setup.py index 6c496ec6c6..3362bcfa8b 100644 --- a/scripts/azureml-assets/setup.py +++ b/scripts/azureml-assets/setup.py @@ -7,7 +7,7 @@ setup( name="azureml-assets", - version="1.16.82", + version="1.16.83", description="Utilities for publishing assets to Azure Machine Learning system registries.", author="Microsoft Corp", packages=find_packages(), From 16b9b8d133c534517c20f454f07f3d5e3e1dea29 Mon Sep 17 00:00:00 2001 From: Andrew Schonhoffer Date: Thu, 22 May 2025 17:41:26 -0400 Subject: [PATCH 3/4] changelog --- scripts/azureml-assets/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/azureml-assets/CHANGELOG.md b/scripts/azureml-assets/CHANGELOG.md index e9a8d337a6..8adf4a4cdd 100644 --- a/scripts/azureml-assets/CHANGELOG.md +++ b/scripts/azureml-assets/CHANGELOG.md @@ -3,7 +3,7 @@ ## 1.16.84 (2025-05-22) ### 🚀 New Features -- [#4206](https://github.com/Azure/azureml-assets/pull/4208) Fix for python 3.9 - remove union typing +- [#4208](https://github.com/Azure/azureml-assets/pull/4208) Fix for python 3.9 - remove union typing ## 1.16.82 (2025-05-22) ### 🚀 New Features From 9331915960ffef5561c981fa1e8e395f708e2515 Mon Sep 17 00:00:00 2001 From: Andrew Schonhoffer Date: Thu, 22 May 2025 17:43:04 -0400 Subject: [PATCH 4/4] fix changelog --- scripts/azureml-assets/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/azureml-assets/CHANGELOG.md b/scripts/azureml-assets/CHANGELOG.md index 8adf4a4cdd..9210d879ec 100644 --- a/scripts/azureml-assets/CHANGELOG.md +++ b/scripts/azureml-assets/CHANGELOG.md @@ -1,7 +1,7 @@ ## 1.17.0 (Unreleased) ### 🚀 New Features -## 1.16.84 (2025-05-22) +## 1.16.83 (2025-05-22) ### 🚀 New Features - [#4208](https://github.com/Azure/azureml-assets/pull/4208) Fix for python 3.9 - remove union typing