Skip to content

Commit 9793f88

Browse files
jayesh-tannakingernupurachauhan-sccCopilot
authored
Pin major version of external dependencies (#40580) (#40671)
* Pin major version of external dependencies * Update sdk/ml/azure-ai-ml/setup.py * Update CHANGELOG * Remove constraint from azure-common as this is an internal dep * Explicit constraints --------- Co-authored-by: kingernupur <[email protected]> Co-authored-by: Amit Chauhan <[email protected]> Co-authored-by: Copilot <[email protected]>
1 parent b028a17 commit 9793f88

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

sdk/ml/azure-ai-ml/setup.py

+10-10
Original file line numberDiff line numberDiff line change
@@ -68,25 +68,25 @@
6868
python_requires=">=3.7",
6969
install_requires=[
7070
# NOTE: To avoid breaking changes in a major version bump, all dependencies should pin an upper bound if possible.
71-
"pyyaml>=5.1.0",
72-
"msrest>=0.6.18",
71+
"pyyaml>=5.1.0,<7.0.0",
72+
"msrest>=0.6.18,<1.0.0",
7373
"azure-core>=1.23.0",
7474
"azure-mgmt-core>=1.3.0",
7575
"marshmallow>=3.5,<4.0.0",
76-
"jsonschema>=4.0.0",
77-
"tqdm",
76+
"jsonschema>=4.0.0,<5.0.0",
77+
"tqdm<5.0.0",
7878
# Used for PR 825138
79-
"strictyaml",
79+
"strictyaml<2.0.0",
8080
# Used for PR 718512
81-
"colorama",
82-
"pyjwt",
81+
"colorama<1.0.0",
82+
"pyjwt<3.0.0",
8383
"azure-storage-blob>=12.10.0",
8484
"azure-storage-file-share",
8585
"azure-storage-file-datalake>=12.2.0",
86-
"pydash>=6.0.0",
87-
"isodate",
86+
"pydash>=6.0.0,<9.0.0",
87+
"isodate<1.0.0",
8888
"azure-common>=1.1",
89-
"typing-extensions",
89+
"typing-extensions<5.0.0",
9090
"azure-monitor-opentelemetry",
9191
],
9292
extras_require={

0 commit comments

Comments
 (0)