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)

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 »

leuko commented on 2023-01-26 18:21 (UTC)

Tests require python-selenium

FirstAirBender commented on 2022-04-20 20:28 (UTC) (edited on 2022-04-20 20:29 (UTC) by FirstAirBender)

Tests are failing for jupyterhub/tests/test_singleuser.py::test_singleuser_auth.

The error I get is: requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://127.0.0.1:50879/@/space%20word/user/nandy/tree

bcb commented on 2022-02-18 18:07 (UTC)

@leuko -- I've made that change in the latest version, thanks for reporting it.

leuko commented on 2022-01-22 16:28 (UTC) (edited on 2022-01-22 16:40 (UTC) by leuko)

Got an error during compilation:

...
[C 2022-01-22 16:22:58.736 JupyterHub application:91] The 'answer_yes' trait of a JupyterHub instance must be a boolean, but a value of 'true' <class 'str'> was specified.
...

Can be fixed by replacing -y=true with -y True

I still get two errors during tests, but I will look at them later.

Thanks for this wonderful package bcb!

ixil commented on 2021-12-21 16:12 (UTC)

thanks for the tip @tinux - comm -12 <(pactree -u jupyterhub | sort ) <(pacman -Slq aur | sort) where 'aur' is my local repository of built aur packages returned: nodejs-configurable-http-proxy python-certipy python-jupyter_telemetry python_pamela

Rebuilding those got me through!

bcb commented on 2021-12-21 13:27 (UTC)

pacman -Qo /usr/lib/python3.9 will give you the names of packages with files still in the old Python directory.

For future reference, packages in depends are also installed for the build, so adding python-jupyter_telemetry to makedepends would be redundant when it is already in depends.

tinux commented on 2021-12-21 13:16 (UTC)

Sorry on phone here...

I got this to work. You need to recompile required AUR packages because of the change to python-3.10. I don't remember which though, but it's easy to find out (on a computer).

ixil commented on 2021-12-21 13:13 (UTC)

building this in a clean chroot I'm getting missing jupyter_telemetry - adding it to the makedepends didn't help. I'll dig a little deeper

creating build/lib/jupyterhub/alembic/versions
copying jupyterhub/alembic/versions/19c0846f6344_base_revision_for_0_5.py -> build/lib/jupyterhub/alembic/versions
copying jupyterhub/alembic/versions/1cebaf56856c_session_id.py -> build/lib/jupyterhub/alembic/versions
copying jupyterhub/alembic/versions/3ec6993fe20c_encrypted_auth_state.py -> build/lib/jupyterhub/alembic/versions
copying jupyterhub/alembic/versions/4dc2d5a8c53c_user_options.py -> build/lib/jupyterhub/alembic/versions
copying jupyterhub/alembic/versions/56cc5a70207e_token_tracking.py -> build/lib/jupyterhub/alembic/versions
copying jupyterhub/alembic/versions/833da8570507_rbac.py -> build/lib/jupyterhub/alembic/versions
copying jupyterhub/alembic/versions/896818069c98_token_expires.py -> build/lib/jupyterhub/alembic/versions
copying jupyterhub/alembic/versions/99a28a4418e1_user_created.py -> build/lib/jupyterhub/alembic/versions
copying jupyterhub/alembic/versions/af4cbdb2d13c_services.py -> build/lib/jupyterhub/alembic/versions
copying jupyterhub/alembic/versions/d68c98b66cd4_client_description.py -> build/lib/jupyterhub/alembic/versions
copying jupyterhub/alembic/versions/eeb276e51423_auth_state.py -> build/lib/jupyterhub/alembic/versions
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/build/jupyterhub/src/jupyterhub-2.0.0/build/lib/jupyterhub/__main__.py", line 1, in <module>
    from .app import main
  File "/build/jupyterhub/src/jupyterhub-2.0.0/build/lib/jupyterhub/app.py", line 74, in <module>
    from jupyter_telemetry.eventlog import EventLog
ModuleNotFoundError: No module named 'jupyter_telemetry'
==> ERROR: A failure occurred in build().

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.