Skip to content

Commit

Permalink
Remove ipykernel.codeutil deprecated since IPykernel 4.3.1 (Feb 2016)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Jun 14, 2021
1 parent bd43976 commit ee4fbf7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 50 deletions.
38 changes: 0 additions & 38 deletions ipykernel/codeutil.py

This file was deleted.

7 changes: 1 addition & 6 deletions ipykernel/pickleutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@
from ipython_genutils.py3compat import buffer_to_bytes

# This registers a hook when it's imported
try:
# available since ipyparallel 5.1.1
from ipyparallel.serialize import codeutil
except ImportError:
# Deprecated since ipykernel 4.3.1
from ipykernel import codeutil
from ipyparallel.serialize import codeutil

from traitlets.log import get_logger

Expand Down
13 changes: 7 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,13 @@ def run(self):
'appnope;platform_system=="Darwin"',
],
extras_require={
'test': [
'pytest !=5.3.4',
'pytest-cov',
'flaky',
'nose', # nose because there are still a few nose.tools imports hanging around
'jedi<=0.17.2'
"test": [
"pytest !=5.3.4",
"pytest-cov",
"flaky",
"nose", # nose because there are still a few nose.tools imports hanging around
"jedi<=0.17.2",
"ipyparallel",
],
},
classifiers=[
Expand Down

0 comments on commit ee4fbf7

Please sign in to comment.