Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jupyter_notebook_config.py to fix bug introduced in notebook 5.7.0 #721

Merged
merged 1 commit into from
Oct 3, 2018

Conversation

jharris1679
Copy link
Contributor

Latest release of notebook (5.7.0) introduces bug when c.NotebookApp.ip is set to '*'. See jupyter/notebook#3946 for details.

Latest release of notebook (5.7.0) introduces bug when `c.NotebookApp.ip` is set to '*'. See jupyter/notebook#3946 for details.
@parente
Copy link
Member

parente commented Sep 27, 2018

notebook is still pinned to 5.6.* https://github.com/jupyter/docker-stacks/blob/master/base-notebook/Dockerfile#L90. Would you like to update that to 5.7.* in this PR too?

@jakirkham
Copy link
Member

This still works with both versions right? So I guess this counts as future-proofing, which seems fine.

@jharris1679
Copy link
Contributor Author

Hi, thanks. Hmm @parente I missed the fact that it's pinned to 5.6; I'm seeing evidence that the base notebook is picking up 5.7 and I had to change my Docker file to downgrade to 5.6. @jakirkham It doesn't seem to work on 5.7, see issue linked above.

Here's my Dockerfile

FROM jupyter/base-notebook

USER root

RUN apt-get -y update && \
    apt-get -y upgrade && \
    apt-get install -y --no-install-recommends build-essential && \
    apt-get install -y python-dev

RUN pip install wordcloud
RUN pip install gensim

USER jovyan

WORKDIR /home/jovyan

COPY payload/requirements.txt /home/jovyan/work

RUN pip install --requirement /home/jovyan/work/requirements.txt

RUN pip uninstall --yes notebook
RUN pip install notebook==5.6.0

COPY work /home/jovyan/
COPY . /home/jovyan/

CMD jt -t oceans16
CMD jupyter notebook

And the relevant output

Step 11/16 : RUN pip uninstall --yes notebook
 ---> Running in 5ae3467c4cfc
Uninstalling notebook-5.7.0:
  Successfully uninstalled notebook-5.7.0

I wondered if somehow notebook was being updated by apt-get but that doesn't seem to be the case. This Dockerfile is functioning well for me at the moment.

@jakirkham
Copy link
Member

@jharris1679, I meant the change you proposed in this PR. 😉

@parente
Copy link
Member

parente commented Oct 3, 2018

Let's :shipit: We can update to Notebook 5.7 in another PR. Thanks @jharris1679 .

@parente parente merged commit 1145fb1 into jupyter:master Oct 3, 2018
elswork added a commit to deftwork/tf-jupyterlab that referenced this pull request Oct 5, 2018
Update jupyter_notebook_config.py to fix bug introduced in notebook 5.7.0 #721
jupyter/docker-stacks#721
elswork added a commit to deftwork/tf-jupyterlab that referenced this pull request Oct 16, 2018
Update jupyter_notebook_config.py to fix bug introduced in notebook 5.7.0 #721
jupyter/docker-stacks#721
elswork added a commit to elswork/tf-jupyterlab-py2 that referenced this pull request Oct 16, 2018
Update jupyter_notebook_config.py to fix bug introduced in notebook 5.7.0 #721
jupyter/docker-stacks#721
ianabc added a commit to callysto/docker-stacks that referenced this pull request Dec 12, 2018
The syntax for telling the notebook to listen on all addresses has
changed, see jupyter/docker-stacks#721.

Also, this change disables trash functionality which should help resolve
https://jira.cybera.ca/browse/CAN-81. See
jupyter/notebook#3130 for more details.

Signed-off-by: Ian Allison <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants