From aaa5dbefd5247d57d40720a99f84abed1ff5203d Mon Sep 17 00:00:00 2001 From: John Kirkham Date: Thu, 8 Oct 2015 16:07:36 -0400 Subject: [PATCH] Dockerfile: Apply the patch for iPython in both Python 2 & 3 environments. --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 05c76ab22..d6156af8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -83,6 +83,10 @@ RUN BUILD_DEPS="nodejs-legacy npm" && \ apt-get purge -y --auto-remove \ -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false $BUILD_DEPS +# Patch iPython to fix the unicode issue. +RUN patch /usr/local/lib/python2.7/dist-packages/IPython/utils/tests/test_path.py /usr/src/jupyter-notebook/ipython-patch.patch +RUN patch /usr/local/lib/python3.4/dist-packages/IPython/utils/tests/test_path.py /usr/src/jupyter-notebook/ipython-patch.patch + # Run tests. RUN pip2 install --no-cache-dir mock nose requests testpath && \ pip3 install --no-cache-dir nose requests testpath && \