Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Fix pip install build break #1162

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion containers/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ RUN ipython profile create default && \
/tools/node/bin/npm install -g typescript && \
tsc --module amd --noImplicitAny --outdir datalab/notebook/static datalab/notebook/static/*.ts && \
/tools/node/bin/npm uninstall -g typescript && \
pip install --upgrade-strategy only-if-needed --no-cache-dir . && \
pip install -U pip"<9" && \
pip install --no-cache-dir . && \
jupyter nbextension install --py datalab.notebook && \
jupyter nbextension enable --py widgetsnbextension && \
rm datalab/notebook/static/*.js && \
Expand Down
2 changes: 1 addition & 1 deletion containers/datalab/Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN ln -s /datalab/web/static/datalab.css /datalab/nbconvert/datalab.css && \
unzip -qq e653b2bd3ca91ef1af2a13c397766484dcb7b76d.zip -d kernel_gateway_demos && \
rm e653b2bd3ca91ef1af2a13c397766484dcb7b76d.zip && \
cd ./kernel_gateway_demos/kernel_gateway_demos-e653b2bd3ca91ef1af2a13c397766484dcb7b76d && \
pip install --upgrade-strategy only-if-needed ./nb2kg/
pip install ./nb2kg/

ENV EXPERIMENTAL_KERNEL_GATEWAY_URL=""

Expand Down
2 changes: 1 addition & 1 deletion containers/gateway/Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ADD build/web/kernelproxy /datalab/web
ADD content/ /datalab

# Install the support for running a kernel gateway
RUN pip install --upgrade-strategy only-if-needed jupyter_kernel_gateway
RUN pip install jupyter_kernel_gateway

# Startup
ENV DATALAB_VERSION _version_
Expand Down