Open dylex opened 4 months ago
Hi! Yes, you are correct, the package does not support jupyterlab 4 for now.
It will try to update it in the coming month and also merge PR #62 and #64. Stay tuned, and thank you for your interest!
I'm also interested in getting support for JupyterLab 4 and JupyterHub 4.1+.
I'm testing JupyterLab 4.2.0 + JupyterHub 4.1.5 and the main issue are the more strict requirements on API calls imposed by JupyterHub. Now all calls to non-static resources must be authenticated. This includes all GET calls to the lmod API as well.
The internal API calls can be fixed with #66. However, there is one more failure related to the external @jupyterlab/server-proxy
, which is old and does an unauthenticated call to activate the labextension with server-proxy.
In theory, replacing @jupyterlab/server-proxy
with recent versions of @jupyterhub/jupyter-server-proxy
(it changed name with version 4.0) should fix the issue. But it is not as simple as a single module change, as then the build fails with several typescript errors. Probably, all dependencies need a version bump.
I started some draft work to make it work with JupyterLab 4 in branch jupyterlab4
. So far it compiles, I have to figure out if it still works. PR #70
I wanted to try this out and added it to our spack build, but it's failing, maybe because it doesn't support jupyterlab 4, or maybe some other dependency is missing? I presume this is something I'm doing wrong, but just wanted to make sure.