Skip to content

Commit a2e41d7

Browse files
authored
Merge pull request #243 from yshmatov-anaconda/NAVI-279/anaconda_cloud_auth_incompatibility
NAVI-279: incompatibilities with anaconda-cloud-auth
2 parents d16ce0b + 7799583 commit a2e41d7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

main.py

+7
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,13 @@ def patch_record_in_place(fn, record, subdir):
10131013
'conda !=22.11.*,!=23.7.0,!=23.7.1,!=23.7.2,!=23.7.3',
10141014
)
10151015

1016+
if ((name in ('aext-assistant-server', 'aext-shared', 'anaconda-toolbox') and
1017+
VersionOrder(version) <= VersionOrder("4.0.15")) or
1018+
(name == 'anaconda-navigator' and VersionOrder(version) <= VersionOrder("2.6.3"))):
1019+
replace_dep(depends, 'anaconda-cloud-auth', 'anaconda-cloud-auth <0.7.0')
1020+
replace_dep(depends, 'anaconda-cloud-auth >=0.1.3', 'anaconda-cloud-auth >=0.1.3,<0.7.0')
1021+
replace_dep(depends, 'anaconda-cloud-auth >=0.4.1', 'anaconda-cloud-auth >=0.4.1,<0.7.0')
1022+
10161023
if name == "conda-content-trust" and VersionOrder(version) <= VersionOrder("0.1.3"):
10171024
replace_dep(depends, "cryptography", "cryptography <41.0.0a0")
10181025

0 commit comments

Comments
 (0)