From 5c4c7f430e284adf672a2ffceab82c66f04b95eb Mon Sep 17 00:00:00 2001 From: Nupur Kinger Date: Thu, 17 Apr 2025 19:44:09 +0530 Subject: [PATCH 1/5] Pin major version of external dependencies --- sdk/ml/azure-ai-ml/setup.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/sdk/ml/azure-ai-ml/setup.py b/sdk/ml/azure-ai-ml/setup.py index a239719455b7..5012846a157b 100644 --- a/sdk/ml/azure-ai-ml/setup.py +++ b/sdk/ml/azure-ai-ml/setup.py @@ -68,25 +68,25 @@ python_requires=">=3.7", install_requires=[ # NOTE: To avoid breaking changes in a major version bump, all dependencies should pin an upper bound if possible. - "pyyaml>=5.1.0", - "msrest>=0.6.18", + "pyyaml>=5.1.0, < 7", + "msrest>=0.6.18, < 1", "azure-core>=1.23.0", "azure-mgmt-core>=1.3.0", "marshmallow>=3.5,<4.0.0", - "jsonschema>=4.0.0", - "tqdm", + "jsonschema>=4.0.0, < 5", + "tqdm < 5", # Used for PR 825138 - "strictyaml", + "strictyaml < 2", # Used for PR 718512 - "colorama", - "pyjwt", + "colorama < 1", + "pyjwt < 3", "azure-storage-blob>=12.10.0", "azure-storage-file-share", "azure-storage-file-datalake>=12.2.0", - "pydash>=6.0.0", - "isodate", - "azure-common>=1.1", - "typing-extensions", + "pydash>=6.0.0, < 9", + "isodate < 1", + "azure-common>=1.1 , < 2", + "typing-extensions < 5", "azure-monitor-opentelemetry", # TODO: remove six after using new autorest "six>=1.11.0", From 870673ea4fae99d40d30c217fffc7e166a25ed11 Mon Sep 17 00:00:00 2001 From: Amit Chauhan <70937115+achauhan-scc@users.noreply.github.com> Date: Fri, 18 Apr 2025 09:34:46 +0530 Subject: [PATCH 2/5] Update sdk/ml/azure-ai-ml/setup.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- sdk/ml/azure-ai-ml/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/ml/azure-ai-ml/setup.py b/sdk/ml/azure-ai-ml/setup.py index 5012846a157b..46ef697cfd2b 100644 --- a/sdk/ml/azure-ai-ml/setup.py +++ b/sdk/ml/azure-ai-ml/setup.py @@ -85,7 +85,7 @@ "azure-storage-file-datalake>=12.2.0", "pydash>=6.0.0, < 9", "isodate < 1", - "azure-common>=1.1 , < 2", + "azure-common>=1.1,<2", "typing-extensions < 5", "azure-monitor-opentelemetry", # TODO: remove six after using new autorest From a06da215c8f2eed5612a824273db0ec66f4cb863 Mon Sep 17 00:00:00 2001 From: Nupur Kinger Date: Mon, 21 Apr 2025 12:34:19 +0530 Subject: [PATCH 3/5] Update CHANGELOG --- sdk/ml/azure-ai-ml/CHANGELOG.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/sdk/ml/azure-ai-ml/CHANGELOG.md b/sdk/ml/azure-ai-ml/CHANGELOG.md index 415f82aac373..cc4c445d7d81 100644 --- a/sdk/ml/azure-ai-ml/CHANGELOG.md +++ b/sdk/ml/azure-ai-ml/CHANGELOG.md @@ -1,13 +1,17 @@ # Release History + ## 1.27.0 (unreleased) ### Bugs Fixed - - Fix for compute Instance, disableLocalAuth property should be depend on ssh public access enabled. - - Removing Git-related properties from job properties if a PAT token is detected in the repository URL. - - Fix deployment creation for registry models - ### Other Changes - - Hub and Project are officially GA'd and no longer experimental. +- Fix for compute Instance, disableLocalAuth property should be depend on ssh public access enabled. +- Removing Git-related properties from job properties if a PAT token is detected in the repository URL. +- Fix deployment creation for registry models + +### Other Changes + +- Hub and Project are officially GA'd and no longer experimental. +- Restrict major version auto updates for external dependencies to ensure stability and prevent build failures for breaking changes. ## 1.26.3 (2025-04-17) From 9b870a8d3914393852f2df104b31c4b555b9377a Mon Sep 17 00:00:00 2001 From: Nupur Kinger Date: Mon, 21 Apr 2025 12:39:39 +0530 Subject: [PATCH 4/5] Remove constraint from azure-common as this is an internal dep --- sdk/ml/azure-ai-ml/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/ml/azure-ai-ml/setup.py b/sdk/ml/azure-ai-ml/setup.py index 5012846a157b..e6462c3a0a4c 100644 --- a/sdk/ml/azure-ai-ml/setup.py +++ b/sdk/ml/azure-ai-ml/setup.py @@ -85,7 +85,7 @@ "azure-storage-file-datalake>=12.2.0", "pydash>=6.0.0, < 9", "isodate < 1", - "azure-common>=1.1 , < 2", + "azure-common>=1.1", "typing-extensions < 5", "azure-monitor-opentelemetry", # TODO: remove six after using new autorest From 6419aa27beee8375361cfbacaf34d79fbb4c2d6f Mon Sep 17 00:00:00 2001 From: Nupur Kinger Date: Mon, 21 Apr 2025 16:39:43 +0530 Subject: [PATCH 5/5] Explicit constraints --- sdk/ml/azure-ai-ml/setup.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/sdk/ml/azure-ai-ml/setup.py b/sdk/ml/azure-ai-ml/setup.py index e6462c3a0a4c..f5ec547e827d 100644 --- a/sdk/ml/azure-ai-ml/setup.py +++ b/sdk/ml/azure-ai-ml/setup.py @@ -68,25 +68,25 @@ python_requires=">=3.7", install_requires=[ # NOTE: To avoid breaking changes in a major version bump, all dependencies should pin an upper bound if possible. - "pyyaml>=5.1.0, < 7", - "msrest>=0.6.18, < 1", + "pyyaml>=5.1.0,<7.0.0", + "msrest>=0.6.18,<1.0.0", "azure-core>=1.23.0", "azure-mgmt-core>=1.3.0", "marshmallow>=3.5,<4.0.0", - "jsonschema>=4.0.0, < 5", - "tqdm < 5", + "jsonschema>=4.0.0,<5.0.0", + "tqdm<5.0.0", # Used for PR 825138 - "strictyaml < 2", + "strictyaml<2.0.0", # Used for PR 718512 - "colorama < 1", - "pyjwt < 3", + "colorama<1.0.0", + "pyjwt<3.0.0", "azure-storage-blob>=12.10.0", "azure-storage-file-share", "azure-storage-file-datalake>=12.2.0", - "pydash>=6.0.0, < 9", - "isodate < 1", + "pydash>=6.0.0,<9.0.0", + "isodate<1.0.0", "azure-common>=1.1", - "typing-extensions < 5", + "typing-extensions<5.0.0", "azure-monitor-opentelemetry", # TODO: remove six after using new autorest "six>=1.11.0",