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

conda package modification can crash the jupyter notebook #14

Open
madiazp opened this issue Sep 12, 2017 · 2 comments
Open

conda package modification can crash the jupyter notebook #14

madiazp opened this issue Sep 12, 2017 · 2 comments
Assignees
Labels

Comments

@madiazp
Copy link
Contributor

madiazp commented Sep 12, 2017

When updating a package with pip (available for all users) the pip command uninstalled some package that will be deprecated and were needed by the notebook to connect and work with the hub.

This put in evidence that all user can crash their own jupyter notebooks in the hub by modifying their conda package (willing it or not).

@madiazp madiazp added the bug label Sep 12, 2017
@madiazp madiazp self-assigned this Sep 12, 2017
@capgadsx
Copy link
Member

Possible solution: Preventing packages from updating (pinning)

@Legutier
Copy link
Member

In response to capgadsx proposal here are the packages that jupyter use:

jupyter in /usr/lib/python3.5/site-packages
 notebook in /usr/lib/python3.5/site-packages
nbconvert in /usr/lib/python3.5/site-packages (from jupyter)
ipywidgets in /usr/lib/python3.5/site-packages (from jupyter)
ipykernel in /usr/lib/python3.5/site-packages (from jupyter)
qtconsole in /usr/lib/python3.5/site-packages (from jupyter)
jupyter-console in /usr/lib/python3.5/site-packages (from jupyter)
nbformat in /usr/lib/python3.5/site-packages (from notebook)
ipython-genutils in /usr/lib/python3.5/site-packages (from notebook)
jupyter-client in /usr/lib/python3.5/site-packages (from notebook)
tornado>=4 in /usr/lib64/python3.5/site-packages (from notebook)
terminado>=0.3.3; sys_platform != "win32" in /usr/lib/python3.5/site-packages (from notebook)
jinja2 in /usr/lib64/python3.5/site-packages (from notebook)
traitlets>=4.2.1 in /usr/lib/python3.5/site-packages (from notebook)
jupyter-core in /usr/lib/python3.5/site-packages (from notebook)
mistune!=0.6 in /usr/lib/python3.5/site-packages (from nbconvert->jupyter)
pandocfilters>=1.4.1 in /usr/lib/python3.5/site-packages (from nbconvert->jupyter)
entrypoints>=0.2.2 in /usr/lib/python3.5/site-packages (from nbconvert->jupyter)
pygments in /usr/lib64/python3.5/site-packages (from nbconvert->jupyter)
bleach in /usr/lib/python3.5/site-packages (from nbconvert->jupyter)
testpath in /usr/lib/python3.5/site-packages (from nbconvert->jupyter)
widgetsnbextension~=2.0.0 in /usr/lib/python3.5/site-packages (from ipywidgets->jupyter)
ipython>=4.0.0 in /usr/lib/python3.5/site-packages (from ipywidgets->jupyter)
 prompt-toolkit<2.0.0,>=1.0.0 in /usr/lib/python3.5/site-packages (from jupyter-console->jupyter)
 jsonschema!=2.5.0,>=2.4 in /usr/lib/python3.5/site-packages (from nbformat->notebook)
python-dateutil>=2.1 in /usr/lib/python3.5/site-packages (from jupyter-client->notebook)
 pyzmq>=13 in /usr/lib64/python3.5/site-packages (from jupyter-client->notebook)
ptyprocess in /usr/lib/python3.5/site-packages (from terminado>=0.3.3; sys_platform != "win32"->notebook)
MarkupSafe>=0.23 in /usr/lib64/python3.5/site-packages (from jinja2->notebook)
 decorator in /usr/lib/python3.5/site-packages (from traitlets>=4.2.1->notebook)
 six in /usr/lib/python3.5/site-packages (from traitlets>=4.2.1->notebook)
html5lib>=0.99999999 in /usr/lib/python3.5/site-packages (from bleach->nbconvert->jupyter)
pexpect; sys_platform != "win32" in /usr/lib/python3.5/site-packages (from ipython>=4.0.0->ipywidgets->jupyter)
setuptools>=18.5 in /usr/lib/python3.5/site-packages (from ipython>=4.0.0->ipywidgets->jupyter)
pickleshare in /usr/lib/python3.5/site-packages (from ipython>=4.0.0->ipywidgets->jupyter)
simplegeneric>0.8 in /usr/lib/python3.5/site-packages (from ipython>=4.0.0->ipywidgets->jupyter)
wcwidth in /usr/lib/python3.5/site-packages (from prompt-toolkit<2.0.0,>=1.0.0->jupyter-console->jupyter)
 webencodings in /usr/lib/python3.5/site-packages (from html5lib>=0.99999999->bleach->nbconvert->jupyter)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants