Skip to content

Commit ee4fbf7

Browse files
committed
Remove ipykernel.codeutil deprecated since IPykernel 4.3.1 (Feb 2016)
1 parent bd43976 commit ee4fbf7

File tree

3 files changed

+8
-50
lines changed

3 files changed

+8
-50
lines changed

ipykernel/codeutil.py

Lines changed: 0 additions & 38 deletions
This file was deleted.

ipykernel/pickleutil.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,7 @@
1818
from ipython_genutils.py3compat import buffer_to_bytes
1919

2020
# This registers a hook when it's imported
21-
try:
22-
# available since ipyparallel 5.1.1
23-
from ipyparallel.serialize import codeutil
24-
except ImportError:
25-
# Deprecated since ipykernel 4.3.1
26-
from ipykernel import codeutil
21+
from ipyparallel.serialize import codeutil
2722

2823
from traitlets.log import get_logger
2924

setup.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,13 @@ def run(self):
8484
'appnope;platform_system=="Darwin"',
8585
],
8686
extras_require={
87-
'test': [
88-
'pytest !=5.3.4',
89-
'pytest-cov',
90-
'flaky',
91-
'nose', # nose because there are still a few nose.tools imports hanging around
92-
'jedi<=0.17.2'
87+
"test": [
88+
"pytest !=5.3.4",
89+
"pytest-cov",
90+
"flaky",
91+
"nose", # nose because there are still a few nose.tools imports hanging around
92+
"jedi<=0.17.2",
93+
"ipyparallel",
9394
],
9495
},
9596
classifiers=[

0 commit comments

Comments
 (0)