From ff3dfffbdbfb67d3e18b40dd082241234f3227f9 Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Mon, 23 Oct 2017 09:30:24 -0700 Subject: [PATCH] Remove jupyterhub from buildpack and default build script --- repo2docker/detectors.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/repo2docker/detectors.py b/repo2docker/detectors.py index 0ba5dd27..9f056598 100644 --- a/repo2docker/detectors.py +++ b/repo2docker/detectors.py @@ -64,9 +64,6 @@ RUN apt-get update && \ rm -rf /var/lib/apt/lists/* {% endif -%} -# make JUPYTERHUB_VERSION a build argument -ARG JUPYTERHUB_VERSION=0.7.2 - EXPOSE 8888 {% if env -%} @@ -139,21 +136,6 @@ class BuildPack(LoggingConfigurable): and there are *some* general guarantees of ordering. """ - - jupyterhub_version = Unicode( - '0.7.2', - config=True, - help="""JupyterHub version to install. - - In general, the JupyterHub version in the image - and the Hub itself should have the same version number. - """ - ) - @default('jupyterhub_version') - def _jupyterhub_version_default(self): - """Allow setting JUPYTERHUB_VERSION via env""" - return os.environ.get('JUPYTERHUB_VERSION') or '0.7.2' - packages = Set( help=""" List of packages that are installed in this BuildPack by default. @@ -511,7 +493,6 @@ class PythonBuildPack(BuildPack): r""" pip install --no-cache-dir \ notebook==5.2.0 \ - jupyterhub==${JUPYTERHUB_VERSION} \ ipywidgets==6.0.0 \ jupyterlab==0.28 && \ jupyter nbextension enable --py widgetsnbextension --sys-prefix && \