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

RISE not showing because install uses notebook version 7 #643

Closed
wapiflapi opened this issue Aug 20, 2023 · 5 comments
Closed

RISE not showing because install uses notebook version 7 #643

wapiflapi opened this issue Aug 20, 2023 · 5 comments

Comments

@wapiflapi
Copy link

wapiflapi commented Aug 20, 2023

I install RISE in a clean virtualenv and I see the new notebook interface and things don't work as described in the documentation:

  • The button to start the slideshow doesn't show,
  • There is no View > Cell Toolbar
  • etc.

I was installing using pip install RISE.

The setup.py specifies 'notebook>=6.0', and when installing we endup with notebook==7:

$ python -m venv venv
(venv) $ pip install RISE
[...]
(venv) $ pip freeze | grep notebook
notebook==7.0.2
notebook_shim==0.2.3

I spent a long time figuring this out but it turns out I simply needed to:

$ python -m venv venv
(venv) $ pip install notebook==^6.0
(venv) $ pip install RISE
(venv) $ python -m noteboook

and everything works 😄

I suggest either changing the setup.py or adding this to the documentation.

... or maybe there is an unrelated bug and I missed something ?

@parmentelat
Copy link
Collaborator

Yes indeed, since July 19th, a fresh install of pip install notebook will bring nb7, which breaks every extension compatibility with notebook 6 - as advertised for several months already

for people interested in using RISE in jupyterlab and/or notebook-7, there is a successor:
pip install jupyterlab-rise
which is the outcome of
https://github.com/jupyterlab-contrib/rise

so yes this probably means that, as far as this RISE repo is concerned:

  • the documentation should outline that it is mostly outdated
  • the dependencies should be updated to explicitly pin notebook < 7.0

not sure how @damianavila feels about all this though

@wapiflapi
Copy link
Author

wapiflapi commented Aug 20, 2023 via email

@luraess
Copy link

luraess commented Sep 11, 2023

From the Julia side, it seems that indeed a workaround is to pin notebook < v7.0 as in JuliaPy/Conda.jl#247 (comment)

Is there a way one could fix the issue and make it work with latest env?

@parmentelat
Copy link
Collaborator

@wapiflapi

For what it's worth, I had some issues getting rise lab to work. (it worked
but when editing code the result didn't update in the presentation, and
bugs like that.)

obviously this belongs in the jupyterlab-rise repo ;)

@parmentelat
Copy link
Collaborator

parmentelat commented Sep 17, 2023

to address the initial post, I have updated the documentation in order to make it - hopefully - much clearer that

  • rise works with nb classic only (notebook up to 6.x)
  • rise is consequently no longer actively maintained
  • jupyterlab-rise is available and should be used with the recent jlab4/nb7 stack

see #644 for details

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

No branches or pull requests

3 participants