diff --git a/tljh/installer.py b/tljh/installer.py index 5a9d7672..16aec494 100644 --- a/tljh/installer.py +++ b/tljh/installer.py @@ -283,6 +283,7 @@ def ensure_user_environment(user_requirements_txt_file): # with open(os.path.join(HERE, "requirements-hub-env.txt")) as f: jh_version_spec = [l for l in f if l.startswith("jupyterhub>=")][0] + jh_version_spec = ["jupyterhub==4.0.*"] conda.ensure_pip_packages(USER_ENV_PREFIX, [jh_version_spec], upgrade=True) # Install user environment extras for initial installations