Skip to content

Commit

Permalink
Switch to jupyter_core implementation of ensure_dir_exists
Browse files Browse the repository at this point in the history
Closes jupytergh-2858

Requires jupyter_core 4.4.0, which I just released.
  • Loading branch information
takluyver committed Oct 31, 2017
1 parent 4304d5a commit 059c2b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion notebook/nbextensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
jupyter_data_dir, jupyter_config_path, jupyter_path,
SYSTEM_JUPYTER_PATH, ENV_JUPYTER_PATH,
)
from ipython_genutils.path import ensure_dir_exists
from jupyter_core.utils import ensure_dir_exists
from ipython_genutils.py3compat import string_types, cast_unicode_py2
from ipython_genutils.tempdir import TemporaryDirectory
from ._version import __version__
Expand Down
2 changes: 1 addition & 1 deletion notebook/services/contents/filecheckpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
)
from .fileio import FileManagerMixin

from ipython_genutils.path import ensure_dir_exists
from jupyter_core.utils import ensure_dir_exists
from ipython_genutils.py3compat import getcwd
from traitlets import Unicode

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
'tornado>=4',
'ipython_genutils',
'traitlets>=4.2.1',
'jupyter_core',
'jupyter_core>=4.4.0',
'jupyter_client',
'nbformat',
'nbconvert',
Expand Down

0 comments on commit 059c2b7

Please sign in to comment.