mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
upgrade jupyterlab to 1.2.6
This commit is contained in:
@@ -13,7 +13,7 @@ def test_serverextensions():
|
|||||||
], stderr=subprocess.PIPE)
|
], stderr=subprocess.PIPE)
|
||||||
|
|
||||||
extensions = [
|
extensions = [
|
||||||
'jupyterlab 0.35.4',
|
'jupyterlab 1.2.6',
|
||||||
'nbgitpuller 0.6.1',
|
'nbgitpuller 0.6.1',
|
||||||
'nteract_on_jupyter 2.0.7',
|
'nteract_on_jupyter 2.0.7',
|
||||||
'nbresuse '
|
'nbresuse '
|
||||||
@@ -51,3 +51,4 @@ def test_labextensions():
|
|||||||
"""
|
"""
|
||||||
# Currently we only install jupyterhub
|
# Currently we only install jupyterhub
|
||||||
assert os.path.exists('/opt/tljh/user/bin/jupyter-labhub')
|
assert os.path.exists('/opt/tljh/user/bin/jupyter-labhub')
|
||||||
|
|
||||||
@@ -170,14 +170,13 @@ def ensure_jupyterlab_extensions():
|
|||||||
Install the JupyterLab extensions we want.
|
Install the JupyterLab extensions we want.
|
||||||
"""
|
"""
|
||||||
extensions = [
|
extensions = [
|
||||||
'@jupyterlab/hub-extension',
|
'@jupyter-widgets/jupyterlab-manager@1.1' # for jupyterlab 1.2.x
|
||||||
'@jupyter-widgets/jupyterlab-manager'
|
|
||||||
]
|
]
|
||||||
utils.run_subprocess([
|
utils.run_subprocess([
|
||||||
os.path.join(USER_ENV_PREFIX, 'bin/jupyter'),
|
os.path.join(USER_ENV_PREFIX, 'bin/jupyter'),
|
||||||
'labextension',
|
'labextension',
|
||||||
'install'
|
'install'
|
||||||
] + extensions)
|
] + extensions + ['--minimize=False']) # webpack minimization might cause flaky test build
|
||||||
|
|
||||||
|
|
||||||
def ensure_jupyterhub_package(prefix):
|
def ensure_jupyterhub_package(prefix):
|
||||||
@@ -263,7 +262,7 @@ def ensure_user_environment(user_requirements_txt_file):
|
|||||||
'jupyterhub==1.0.0',
|
'jupyterhub==1.0.0',
|
||||||
'notebook==5.7.8',
|
'notebook==5.7.8',
|
||||||
# Install additional notebook frontends!
|
# Install additional notebook frontends!
|
||||||
'jupyterlab==0.35.4',
|
'jupyterlab==1.2.6',
|
||||||
'nteract-on-jupyter==2.0.7',
|
'nteract-on-jupyter==2.0.7',
|
||||||
# nbgitpuller for easily pulling in Git repositories
|
# nbgitpuller for easily pulling in Git repositories
|
||||||
'nbgitpuller==0.6.1',
|
'nbgitpuller==0.6.1',
|
||||||
|
|||||||
Reference in New Issue
Block a user