Skip to content

Commit

Permalink
Merge pull request #759 from jupyter-incubator/devstein/support-ipyth…
Browse files Browse the repository at this point in the history
…on-8

Support IPython 8
  • Loading branch information
devstein committed May 1, 2022
2 parents c4b9b99 + 7b71500 commit 691018f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
### Bug Fixes

* Fixed, simplified, and sped up the sparkmagic Docker images for local development and testing
* Adds support for `ipython>=8`

## 0.19.2

Expand Down
4 changes: 2 additions & 2 deletions hdijupyterutils/hdijupyterutils/ipythondisplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ def stdout_flush(self):
sys.stdout.flush()

def write(self, msg):
self._ipython_shell.write(msg)
sys.stdout.write(msg)
self.stdout_flush()

def writeln(self, msg):
self.write("{}\n".format(msg))

def send_error(self, error):
self._ipython_shell.write_err("{}\n".format(error))
sys.stderr.write("{}\n".format(error))
self.stderr_flush()
2 changes: 1 addition & 1 deletion hdijupyterutils/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def version(path):
"Programming Language :: Python :: 3.7",
],
install_requires=[
"ipython>=4.0.2,<8",
"ipython>=5",
"nose",
"mock",
"ipywidgets>5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sparkmagic/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def version(path):
install_requires=[
"hdijupyterutils>=0.6",
"autovizwidget>=0.6",
"ipython>=4.0.2",
"ipython>=5",
"nose",
"mock",
"pandas>=0.17.1",
Expand Down

0 comments on commit 691018f

Please sign in to comment.