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.000002
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

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

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.

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

I have just updated the package to 2.0.0. I have included a patch which changes some of the tests to use random ports so they will not fail if you already have a JupyterHub server running. A handful of tests are disabled because they are not compatible with this patch or I couldn't find a way to make them work with random port numbers. When I get time I will try to work with upstream to get the tests modified properly for this.

dodecahedron commented on 2021-12-03 18:11 (UTC)

This package is already marked out of date, but FYI, 2.0.0 is now out too: https://github.com/jupyterhub/jupyterhub/releases/tag/2.0.0

leuko commented on 2021-05-02 19:28 (UTC)

found the source :D

My Jupyterhub instance was already running on port 8000, so most of the tests failed. Maybe a short warning could be useful, what do you think @bcb?