det-lab / jupyterhub-deploy-kubernetes-jetstream

CDMS JupyterHub deployment on XSEDE Jetstream
0 stars 1 forks source link

Update Jupyterlab in user container #53

Closed zonca closed 3 years ago

zonca commented 3 years ago

We have now Jupyterlab 2.x on the user images, I am testing Jupyterlab 3, the nice thing is that now it is a lot easier to install extensions because they are simple python packages.

zonca commented 3 years ago

I am testing the builds on DockerHub, I haven't deployed anything yet, will keep track here of progress.

zonca commented 3 years ago

see https://github.com/zonca/docker-jupyter-cdms-light/commit/59caadae153f20fe958a3321a7e6f96747aadb06

the log of the update in conda:

https://gist.github.com/246a97dbac65e8b1db05efb10bd7f118

zonca commented 3 years ago

build logs on dockerhub: https://hub.docker.com/repository/docker/zonca/docker-jupyter-cdms-light/builds/e259ccd1-31ba-4a60-826d-830b0a96605f

zonca commented 3 years ago

tagged image 2021.03.12

zonca commented 3 years ago

it gives "need to rebuild jupyter-matplotlib extension" error, trying to add ipympl package to container

pibion commented 3 years ago

Just here to confirm that I also get this error!

zonca commented 3 years ago

no adding ipympl didn't help.

the exact error is: jupyter-matplotlib needs to be included in build

zonca commented 3 years ago

ok, I think the problem is that I have a version of ipympl which is too old:

 ipympl                    0.5.6              pyh9f0ad1d_1    conda-forge

however, the conda version resolver cannot upgrade it due to other contraints

zonca commented 3 years ago

ok, I found a fix, I need to also update ipywidgets, testing it soon

zonca commented 3 years ago

ok, that fixed the issue, I have temporarily disabled latex to speedup my testing, tomorrow once the container is built by DockerHub I'll restore that and notify here.

zonca commented 3 years ago

ok, I restored the container with Latex, this is completed.