Skip to content

Commit

Permalink
Merge pull request #243 from yshmatov-anaconda/NAVI-279/anaconda_clou…
Browse files Browse the repository at this point in the history
…d_auth_incompatibility

NAVI-279: incompatibilities with anaconda-cloud-auth
  • Loading branch information
cbouss authored Nov 15, 2024
2 parents d16ce0b + 7799583 commit a2e41d7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,13 @@ def patch_record_in_place(fn, record, subdir):
'conda !=22.11.*,!=23.7.0,!=23.7.1,!=23.7.2,!=23.7.3',
)

if ((name in ('aext-assistant-server', 'aext-shared', 'anaconda-toolbox') and
VersionOrder(version) <= VersionOrder("4.0.15")) or
(name == 'anaconda-navigator' and VersionOrder(version) <= VersionOrder("2.6.3"))):
replace_dep(depends, 'anaconda-cloud-auth', 'anaconda-cloud-auth <0.7.0')
replace_dep(depends, 'anaconda-cloud-auth >=0.1.3', 'anaconda-cloud-auth >=0.1.3,<0.7.0')
replace_dep(depends, 'anaconda-cloud-auth >=0.4.1', 'anaconda-cloud-auth >=0.4.1,<0.7.0')

if name == "conda-content-trust" and VersionOrder(version) <= VersionOrder("0.1.3"):
replace_dep(depends, "cryptography", "cryptography <41.0.0a0")

Expand Down

0 comments on commit a2e41d7

Please sign in to comment.