-
Notifications
You must be signed in to change notification settings - Fork 189
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
Switch tutorials to JupyterLab #4789
Comments
Thank you for looking into this. As far as I can tell, jupyterlab-solutions is in alpha and has been abandoned by its author. The corresponding GitHub repository was deleted in 2020. I'm not sure we are gaining much compared to exercise2, especially considering JupyterLab is actively maintained and might eventually break backward compatibility. Our notebooks and exercise2 cells are compatible with all major vendors: Jupyter Notebook, JupyterLab, VS Code Jupyter. We provide installation instructions for all of them and explain how to convert the exercise2 cells to vendor-specific cells. The JupyterLab extension migration table currently doesn't have a replacement for exercise2. |
Sorry, I did not check if the package is maintained :-( The installation instructions will not work anymore, So you need to manually specify basically all versions (note that nbconvert again is not compatible with all versions, then there comes jupyter-server, jupyter-client, ...). Can you provide a The hint concerning how to convert the exercise2 cells to vendor-specific cells is what I overlooked. |
|
Description of changes: - add missing FFTW3 MPI library dependency - pin Jupyter Notebook package versions (follow-up to #4789 (comment))
Thank you @jngrad , with the output of Note, however, that the information provided in #4790 was not sufficient for me, resulting in
and thus giving an error So one really needs to make sure to specify the versions for all packages mentioned above in the installation instructions. |
Description of changes: - migrate to JupyterLab (fixes #4789) - bump Sphinx version requirements - use `python3 -m pip` in place of the deprecated `pip3` command - use `requirements.txt` as a constraint file to avoid version number inconsistencies with the user guide
Description of changes: - add missing FFTW3 MPI library dependency - pin Jupyter Notebook package versions (follow-up to espressomd#4789 (comment))
According to the Jupyter project,
The jupyter_contrib_nbextensions have been abandoned in favor of jupyterlab-contrib and support only up to releases 4&5 of Jupyter (current is 7!).
Although spending more than half a day I could not get a compatible chain of jupyter/nbextensions/nbconvert/exercise2 installed via pip, which means that an average user will not be able to run the notebooks as intended locally.
jupyterlab-solutions seems like the perfect replacement for exercise2 and from a brief look we would only have to search-and-replace 'exercise2' by 'solution' in the notebook metadata and adapt a few scripts.
Therefore, I strongly suggest to switch to Jupyterlab as soon as possible!
The text was updated successfully, but these errors were encountered: