Skip to content

Commit 69821ad

Browse files
committed
Fix notebook version to 6.0.3
A regression was introduced in notebook 6.1.0 where it is no longer possible to start a terminal by simply going to the url "/terminals/1". A fix is currently underway, but until a new version of notebook is released, we will settle for 6.0.3. Related issue: jupyter/notebook#5790 PR fixing this issue: jupyter/notebook#5813
1 parent 7fc965e commit 69821ad

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

data/common.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# jupyterhub/data/common.yaml
22
---
3+
jupyterhub::notebook::version: 6.0.3
34
jupyterhub::jupyterhub::version: 1.1.0
45
jupyterhub::batchspawner::url: https://github.com/jupyterhub/batchspawner/archive/v1.0.0.zip
56
jupyterhub::slurmformspawner::version: 2.2.0

manifests/node.pp

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@
2323
}
2424

2525
class jupyterhub::node::install (Stdlib::Absolutepath $prefix) {
26+
27+
$notebook_version = lookup('jupyterhub::notebook::version')
28+
2629
exec { 'pip_notebook':
27-
command => "${prefix}/bin/pip install --no-cache-dir notebook",
30+
command => "${prefix}/bin/pip install --no-cache-dir notebook==${notebook_version}",
2831
creates => "${prefix}/lib/python3.6/site-packages/notebook/",
2932
require => Exec['jupyterhub_venv']
3033
}

0 commit comments

Comments
 (0)