Skip to content

Commit

Permalink
Merge pull request #202 from AnacondaRecipes/notebook6
Browse files Browse the repository at this point in the history
upper bound for pyzmq/jupyter_client for notebook<7
  • Loading branch information
mcg1969 authored Jul 28, 2023
2 parents f749740 + 3a247ba commit ddd7c3c
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 @@ -1027,8 +1027,15 @@ def patch_record_in_place(fn, record, subdir):

# notebook <5.7.6 will not work with tornado 6, see:
# https://github.com/jupyter/notebook/issues/4439
# notebook <7 will not work with pyzmq>=25 and jupyter_client>=8, see:
# https://github.com/jupyter/notebook/pull/6749
if name == "notebook":
replace_dep(depends, "tornado >=4", "tornado >=4,<6")
if int(version.split('.', 1)[0]) < 7:
replace_dep(depends, "pyzmq >=17", "pyzmq >=17,<25")
replace_dep(depends, "jupyter_client >=5.3.4", "jupyter_client >=5.3.4,<8")
replace_dep(depends, "jupyter_client >=5.2.0", "jupyter_client >=5.2.0,<8")
replace_dep(depends, "jupyter_client", "jupyter_client <8")

# spyder 4.0.0 and 4.0.1 should include a lower bound on psutil of 5.2
# and should pin parso to 0.5.2.
Expand Down

0 comments on commit ddd7c3c

Please sign in to comment.