dew-uff / julynter

BSD 3-Clause "New" or "Revised" License
16 stars 2 forks source link

Compatibility with JupyterLab 3 #8

Open nstrelow opened 3 years ago

nstrelow commented 3 years ago

Are there plans to add combability for JupyterLab 3?

Would love to use this for a research project.

JoaoFelipe commented 3 years ago

Hi @nstrelow,

I checked when JupyterLab 3 released and it worked fine back then. But it still uses the old installation method that requires nodejs. Can you check if it works for you?

I probably won't be able to update it this week, but maybe in two weeks if you need the easier installation for the research project or if it is broken for JupyterLab 3.

nstrelow commented 3 years ago

Hey thanks so much for the swift response. I would like to integrate this into my master thesis, which is due next week 🙈. I built a pipeline for researchers to provide a Jupyter Notebook, which executes the notebook and convert it to HTML, so that results with new data can be generated automatically and displayed in a web app. Would be nice to give the researchers some guidance by adding Julynter 😁

I was hindered by the requirements of Julynter being set to jupyterlab: 2. My Binder installation would then default to JupyterLab 2, which would be a problem for other extensions.

Maybe if I set it to 3 and install nodejs as well it could work.

Does it require extra work to precompile and ship the nodejs stuff? I currently have no insights into how jupyterlab extensions work 🙈

JoaoFelipe commented 3 years ago

Awesome! Good luck in your defense!

Unfortunately, I haven't worked on any extensions since the release of Jupyter Lab 3*, so I don't know how easy it is now to precompile and ship it. For Jupyter Lab 2 it was complicated and I ended up making my own distribution (Julynter Lab) to avoid requiring users to install nodejs for experiments. But I know that they reworked the distribution system so it is probably easier by now. Let me know if you try it and/or find any useful resources.

* I will try to work for 3 hours on a new extension today for a presentation due next week. If it works, it may be easier to update Julynter. But don't put all your hopes on that, as I have a working solution for the old Jupyter Notebook that I will use if it does not work.

(Also, please consider citing Julynter's paper if you integrate it)

miwojc commented 2 years ago

Maybe if I set it to 3 and install nodejs as well it could work.

@nstrelow Did that work?

nstrelow commented 2 years ago

I had not the time to really try it out. sorry :)

JoaoFelipe commented 2 years ago

@miwojc It didn't when I tried =/

I started to update the extension for Jupyter Lab 3, but I had many interruptions and I did not finish it. I will check now how far I am and report the progress soon.

JoaoFelipe commented 2 years ago

I made it work in development mode: https://github.com/dew-uff/julynter#development-install

But pip install julynter is not working. I will try to fix it by next week