Package Details: jupyterhub 4.1.5-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.000003
First Submitted: 2015-03-12 14:00 (UTC)
Last Updated: 2024-04-14 11:23 (UTC)

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

1 2 3 4 5 6 Next › Last »

bcb commented on 2024-03-20 14:38 (UTC)

I have just pushed an update to 4.1.0.

As reported in previous comments, the tests do not work with the current version of python-pytest-asyncio in the repositories; the JupyterHub CI / pyproject.toml has this pinned to < 0.23. As this is only required for check() (not to run JupyterHub) and the tests were already being run in a temporary virtual environment, I have modified check() to install a compatible version of that test plugin into the test virtual environment. The tests run successfully in a clean chroot for me, hopefully they work elsewhere too!

UlyssesZhan commented on 2024-03-01 23:08 (UTC) (edited on 2024-03-03 07:28 (UTC) by UlyssesZhan)

Tests are failing on a clean env. After forcing it to be installed by adding --nocheck flag, I find it seeming to work fine, though.

iyanmv commented on 2024-02-14 10:30 (UTC)

Most tests fail for me to run on a clean env. Probably related to this: https://github.com/pytest-dev/pytest-asyncio/issues/718

tinux commented on 2023-08-16 07:40 (UTC)

@bcb Thanks for the info. I should have realized myself that this had been archived.

Thanks also for the package update! Now the previously described issue is solved and /lab starts directly as expected. <3

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.