diff --git a/tljh/installer.py b/tljh/installer.py index 51d4cfb..185389f 100644 --- a/tljh/installer.py +++ b/tljh/installer.py @@ -179,12 +179,12 @@ def ensure_jupyterhub_package(prefix): and conda packages! """ conda.ensure_pip_packages(prefix, [ - 'jupyterhub==0.9.1', + 'jupyterhub==0.9.2', 'jupyterhub-dummyauthenticator==0.3.1', 'jupyterhub-systemdspawner==0.11', 'jupyterhub-firstuseauthenticator==0.10', 'jupyterhub-ldapauthenticator==1.2.2', - 'oauthenticator==0.7.3', + 'oauthenticator==0.8.0', ]) traefik.ensure_traefik_binary(prefix) @@ -231,7 +231,7 @@ def ensure_user_environment(user_requirements_txt_file): conda.ensure_pip_packages(USER_ENV_PREFIX, [ # JupyterHub + notebook package are base requirements for user environment - 'jupyterhub==0.9.1', + 'jupyterhub==0.9.2', 'notebook==5.6.0', # Install additional notebook frontends! 'jupyterlab==0.34.1', diff --git a/tljh/jupyterhub_config.py b/tljh/jupyterhub_config.py index 4abb891..006c9b2 100644 --- a/tljh/jupyterhub_config.py +++ b/tljh/jupyterhub_config.py @@ -29,6 +29,9 @@ class CustomSpawner(SystemdSpawner): c.JupyterHub.spawner_class = CustomSpawner +# leave users running when the Hub restarts +c.JupyterHub.cleanup_servers = False + # Use a high port so users can try this on machines with a JupyterHub already present c.JupyterHub.hub_port = 15001