Skip to content

Commit

Permalink
upper bound on tornado dep for notebook <5.7.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhelmus committed Mar 12, 2019
1 parent 7492bf7 commit c1bbc46
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,14 @@ def _patch_repodata(repodata, subdir):
if record['name'] == 'numpy':
_fix_numpy_base_constrains(record, index, instructions)

if record['name'] == 'notebook':
# notebook <5.7.6 will not work with tornado 6, see:
# https://github.com/jupyter/notebook/issues/4439
if 'tornado >=4' in record['depends']:
t4_index = record['depends'].index('tornado >=4')
record['depends'][t4_index]= 'tornado >=4,<6'
instructions["packages"][fn]["depends"] = record["depends"]

if fn == 'cupti-9.0.176-0.tar.bz2':
# depends in package is set as cudatoolkit 9.*, should be 9.0.*
instructions["packages"][fn]["depends"] = ['cudatoolkit 9.0.*']
Expand Down

0 comments on commit c1bbc46

Please sign in to comment.