Skip to content

Commit

Permalink
Merge pull request #4682 from bcolsen/ipython-dep
Browse files Browse the repository at this point in the history
PR: Added IPython >= 4.0 as a dependency
  • Loading branch information
ccordoba12 authored Jul 2, 2017
2 parents 6141665 + 65c92f1 commit 6c7a6b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions spyder/plugins/ipythonconsole.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@
dependencies.add("qtconsole", _("Integrate the IPython console"),
required_version=QTCONSOLE_REQVER)

IPYTHON_REQVER = ">=4.0;<6.0" if PY2 else ">=4.0"
dependencies.add("IPython", _("IPython interactive python environment"),
required_version=IPYTHON_REQVER)

#------------------------------------------------------------------------------
# Existing kernels
Expand Down
2 changes: 1 addition & 1 deletion spyder/widgets/tests/test_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def setup_dependencies(qtbot):
def test_dependencies(qtbot):
"""Run dependency widget test."""
# Test sample
dependencies.add("IPython", "Enhanced Python interpreter", ">=0.13")
dependencies.add("zmq", "Run introspection services", ">=10.0")
dependencies.add("foo", "Non-existent module", ">=1.0")

dlg = setup_dependencies(qtbot)
Expand Down

0 comments on commit 6c7a6b2

Please sign in to comment.