Fixes this error that causes the extension not to load:
[W 2022-04-09 01:28:04.201 SingleUserNotebookApp manager:356] jupyterlab_autoversion.extension | extension failed loading with message: 'functools.partial' object has no attribute '__name__'
functools.partials are "name"-less which breaks initialization in SingleUserNotebookApp, which is used by Jupyterlab instances started under JupyterHub.
There are a couple of options for fixes (like using a closure instead of partial), but patching in a name attribute seems like the smallest change.
Fixes this error that causes the extension not to load:
functools.partials are "name"-less which breaks initialization in SingleUserNotebookApp, which is used by Jupyterlab instances started under JupyterHub.
There are a couple of options for fixes (like using a closure instead of partial), but patching in a name attribute seems like the smallest change.