Skip to content

Commit 691018f

Browse files
authored
Merge pull request #759 from jupyter-incubator/devstein/support-ipython-8
Support IPython 8
2 parents c4b9b99 + 7b71500 commit 691018f

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
### Bug Fixes
1212

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

1516
## 0.19.2
1617

hdijupyterutils/hdijupyterutils/ipythondisplay.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ def stdout_flush(self):
2020
sys.stdout.flush()
2121

2222
def write(self, msg):
23-
self._ipython_shell.write(msg)
23+
sys.stdout.write(msg)
2424
self.stdout_flush()
2525

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

2929
def send_error(self, error):
30-
self._ipython_shell.write_err("{}\n".format(error))
30+
sys.stderr.write("{}\n".format(error))
3131
self.stderr_flush()

hdijupyterutils/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def version(path):
5656
"Programming Language :: Python :: 3.7",
5757
],
5858
install_requires=[
59-
"ipython>=4.0.2,<8",
59+
"ipython>=5",
6060
"nose",
6161
"mock",
6262
"ipywidgets>5.0.0",

sparkmagic/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def version(path):
8282
install_requires=[
8383
"hdijupyterutils>=0.6",
8484
"autovizwidget>=0.6",
85-
"ipython>=4.0.2",
85+
"ipython>=5",
8686
"nose",
8787
"mock",
8888
"pandas>=0.17.1",

0 commit comments

Comments
 (0)