mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-23 12:49:41 +08:00
Dockerfile: Apply the patch for iPython in both Python 2 & 3 environments.
This commit is contained in:
parent
6dd8a99299
commit
aaa5dbefd5
@ -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 && \
|
||||
|
Loading…
Reference in New Issue
Block a user