From b3365fbe45e41c7713eafa84bfc3c9cd489e1ea8 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Mon, 24 Apr 2023 01:55:34 +0200 Subject: [PATCH] update: jupyterhub 4 --- integration-tests/test_hub.py | 2 +- tljh/installer.py | 2 +- tljh/requirements-base.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integration-tests/test_hub.py b/integration-tests/test_hub.py index c2b1dec..26bb745 100644 --- a/integration-tests/test_hub.py +++ b/integration-tests/test_hub.py @@ -31,7 +31,7 @@ def test_hub_version(): r = requests.get(hub_url + "/hub/api") r.raise_for_status() info = r.json() - assert V("3.0") <= V(info["version"]) <= V("4.0") + assert V("4") <= V(info["version"]) <= V("5") @pytest.mark.asyncio diff --git a/tljh/installer.py b/tljh/installer.py index 61d4d9c..4ca2470 100644 --- a/tljh/installer.py +++ b/tljh/installer.py @@ -123,7 +123,7 @@ def ensure_jupyterhub_package(prefix): conda.ensure_pip_packages( prefix, [ - "jupyterhub==3.*", + "jupyterhub==4.*", "jupyterhub-systemdspawner==0.17.*", "jupyterhub-firstuseauthenticator==1.*", "jupyterhub-nativeauthenticator==1.*", diff --git a/tljh/requirements-base.txt b/tljh/requirements-base.txt index 1f59947..f926a5a 100644 --- a/tljh/requirements-base.txt +++ b/tljh/requirements-base.txt @@ -6,7 +6,7 @@ # our integration tests fail. # # JupyterHub + notebook package are base requirements for user environment -jupyterhub==3.* +jupyterhub==4.* notebook==6.* # Install additional notebook frontends! jupyterlab==3.*