File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -30,19 +30,15 @@ RUN if [ "$dev_mode" = "true" ]; then \
30
30
cd sparkmagic && pip install -e . && cd ../ ; \
31
31
else pip install sparkmagic ; fi
32
32
33
- # Jupyter extensions changed in >7.x.x
34
- # For now (workaround), let's pin to 6 to avoid breaking things
35
- # xref: https://github.com/jupyter-incubator/sparkmagic/issues/825
36
- RUN pip install notebook==6.5.5
37
33
38
34
RUN mkdir /home/$NB_USER/.sparkmagic
39
35
COPY sparkmagic/example_config.json /home/$NB_USER/.sparkmagic/config.json
40
36
RUN sed -i 's/localhost/spark/g' /home/$NB_USER/.sparkmagic/config.json
41
- RUN jupyter nbextension enable --py --sys-prefix widgetsnbextension
37
+ RUN pip install ipywidgets
42
38
RUN jupyter-kernelspec install --user $(pip show sparkmagic | grep Location | cut -d" " -f2)/sparkmagic/kernels/sparkkernel
43
39
RUN jupyter-kernelspec install --user $(pip show sparkmagic | grep Location | cut -d" " -f2)/sparkmagic/kernels/pysparkkernel
44
40
RUN jupyter-kernelspec install --user $(pip show sparkmagic | grep Location | cut -d" " -f2)/sparkmagic/kernels/sparkrkernel
45
- RUN jupyter serverextension enable --py sparkmagic
41
+ RUN jupyter server extension enable --py sparkmagic
46
42
47
43
USER root
48
44
RUN chown $NB_USER /home/$NB_USER/.sparkmagic/config.json
You can’t perform that action at this time.
0 commit comments