Skip to content

Commit

Permalink
Merge pull request #200 from yshmatov-anaconda/AC-165/anaconda_client…
Browse files Browse the repository at this point in the history
…_urllib3

AC-165: urllib3 constrained for existing anaconda-client releases
  • Loading branch information
ryanskeith authored Jun 30, 2023
2 parents 23fe099 + 7e4b352 commit 74d0083
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,11 @@ def patch_record_in_place(fn, record, subdir):
):
depends.append("_low_priority")

if name == 'anaconda-client':
if re.match(r'1\.(?:\d|1[01])\.', version): # < 1.12.0
if replace_dep(depends, 'urllib3 >=1.26.4', 'urllib3 >=1.26.4,<2.0.0a') == '=': # if no changes
depends.append('urllib3 <2.0.0a')

if name == 'anaconda-navigator':
if re.match(r'1\.|2\.[0-2]\.', version): # < 2.3.0
replace_dep(depends, ['pyqt >=5.6,<6.0a0', 'pyqt >=5.6', 'pyqt'], 'pyqt >=5.6,<5.15')
Expand Down

0 comments on commit 74d0083

Please sign in to comment.