Package Details: jupyterhub 5.2.1-1

Git Clone URL: https://aur.archlinux.org/jupyterhub.git (read-only, click to copy)
Package Base: jupyterhub
Description: Multi-user server for Jupyter notebooks
Upstream URL: https://jupyter.org/hub
Licenses: BSD-3-Clause
Submitter: xantares
Maintainer: bcb
Last Packager: bcb
Votes: 9
Popularity: 0.000000
First Submitted: 2015-03-12 14:00 (UTC)
Last Updated: 2024-11-21 15:30 (UTC)

Sources (3)

Pinned Comments

bcb commented on 2021-12-05 16:27 (UTC)

Note that version upgrades may require you to upgrade the database before the new version will start. Always check the documentation, in particular the changelog before upgrading.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

lahwaacz commented on 2023-08-12 10:32 (UTC)

@bcb Thanks for updating the package, version 4.0.2 built fine for me without any test failure.

bcb commented on 2023-08-12 10:20 (UTC)

@tinux - https://github.com/jupyterhub/jupyterlab-hub has been archived for more than 4 years; the deprecation message says equivalent functionality is in JupyterLab itself. I would guess that it no longer works properly with the latest versions of other projects, and your best move is probably to migrate away from it.

bcb commented on 2023-08-12 10:17 (UTC)

@lahwaacz -- thanks for the information re. yarn, I have added it as a makedepend for 4.0.2 and /usr/share/jupyterhub/static/js/admin-react.js is in the package. test_token_page passes for me in a clean chroot, I am not sure if it has been fixed with 4.0.2 or if this is another intermittent failure.

tinux commented on 2023-08-02 08:14 (UTC)

@lahwaacz: Thanks for your response. I managed to test this again, and it kind of works with the default c.Spawner.cmd = ['jupyterhub-singleuser'], but c.Spawner.default_url = '/lab' has no effect. I start in {main_url}/user/{user}/tree no matter what I set. If I then click on "View > Open JupyterLab" I do end up in a working jupyterlab environment ({main_url}/user/{user}/lab) though, just not from the beginning.

I honestly do not remember where I got jupyter-labhub from. I set this up quite a while ago and it has only just stopped working with the recent update to notebook 7.

lahwaacz commented on 2023-07-28 16:05 (UTC) (edited on 2023-07-28 16:06 (UTC) by lahwaacz)

@tinux: I found this issue for JupyterHub starting Notebook instead of Lab by default: https://github.com/jupyterhub/jupyterhub/issues/4510

As for jupyter-labhub, which project is providing this spawner? It was probably not updated to support JupyterHub 4 yet...

tinux commented on 2023-07-28 12:46 (UTC) (edited on 2023-07-28 12:46 (UTC) by tinux)

Since the update to notebook 7, jupyterhub is not working anymore when I use c.Spawner.cmd = ["jupyter-labhub"]. Currently, I have to use the default c.Spawner.cmd = ["jupyterhub-singleuser"]. I still get notebook 7, but just the notebook, and not the lab interface.

The issue is that the session is not spawned. Here is some output from systemd:

File "/usr/lib/python3.11/site-packages/traitlets/config/application.py", line 1042, in >
Jul 28 14:32:22 ultrafast jupyterhub[13536]:     app.initialize(argv)
Jul 28 14:32:22 ultrafast jupyterhub[13536]:   File "/usr/lib/python3.11/site-packages/jupyterhub/singleuser/mixins.py", line 954, in i>
Jul 28 14:32:22 ultrafast jupyterhub[13536]:     _patch_app_base_handlers(self)
Jul 28 14:32:22 ultrafast jupyterhub[13536]:   File "/usr/lib/python3.11/site-packages/jupyterhub/singleuser/mixins.py", line 865, in _>
Jul 28 14:32:22 ultrafast jupyterhub[13536]:     base_handlers.append(import_item(base_handler_name))
Jul 28 14:32:22 ultrafast jupyterhub[13536]:                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 28 14:32:22 ultrafast jupyterhub[13536]:   File "/usr/lib/python3.11/site-packages/traitlets/utils/importstring.py", line 34, in im>
Jul 28 14:32:22 ultrafast jupyterhub[13536]:     raise ImportError("No module named %s" % obj) from e
Jul 28 14:32:22 ultrafast jupyterhub[13536]: ImportError: No module named IPythonHandler

Sorry, this is not complete. The system is used by other people, and currently I rather have it running with normal notebooks instead of not at all.

lahwaacz commented on 2023-07-20 12:45 (UTC)

I had to add yarn to makedepends to have /usr/share/jupyterhub/static/js/admin-react.js in the package. See https://github.com/jupyterhub/jupyterhub/pull/4034

But I had to build the package with --nocheck since test_token_page is failing (with as well as without yarn, maybe due to the JupyterLab 4 or Jupyter Notebook 7 update).

lahwaacz commented on 2023-07-20 07:54 (UTC)

I'm getting this error on jupyterhub-4.0.1-1:

 [E 2023-07-20 09:50:52.728 JupyterHub web:3025] Could not open static file '/usr/share/jupyterhub/static/js/admin-react.js'

The file /usr/share/jupyterhub/static/js/admin-react.js is missing in the package.

pedestrianlove commented on 2023-05-15 03:54 (UTC)

Sorry but is there any plan on bumping the version?