From fc41b2795567713d98fe63a9927c94cc43db06bb Mon Sep 17 00:00:00 2001 From: kingernupur <167289262+kingernupur@users.noreply.github.com> Date: Tue, 22 Apr 2025 10:20:33 +0530 Subject: [PATCH] Pin major version of external dependencies (#40580) * Pin major version of external dependencies * Update sdk/ml/azure-ai-ml/setup.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update CHANGELOG * Remove constraint from azure-common as this is an internal dep * Explicit constraints --------- Co-authored-by: Amit Chauhan <70937115+achauhan-scc@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- 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 9d4b855d423a..05c0bcd58632 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.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", - "tqdm", + "jsonschema>=4.0.0,<5.0.0", + "tqdm<5.0.0", # Used for PR 825138 - "strictyaml", + "strictyaml<2.0.0", # Used for PR 718512 - "colorama", - "pyjwt", + "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", - "isodate", + "pydash>=6.0.0,<9.0.0", + "isodate<1.0.0", "azure-common>=1.1", - "typing-extensions", + "typing-extensions<5.0.0", "azure-monitor-opentelemetry", ], extras_require={