Skip to content

Commit

Permalink
Fix notebook version to 6.0.3
Browse files Browse the repository at this point in the history
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
  • Loading branch information
cmd-ntrf committed Oct 19, 2020
1 parent 7fc965e commit 69821ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions data/common.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# jupyterhub/data/common.yaml
---
jupyterhub::notebook::version: 6.0.3
jupyterhub::jupyterhub::version: 1.1.0
jupyterhub::batchspawner::url: https://github.com/jupyterhub/batchspawner/archive/v1.0.0.zip
jupyterhub::slurmformspawner::version: 2.2.0
Expand Down
5 changes: 4 additions & 1 deletion manifests/node.pp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@
}

class jupyterhub::node::install (Stdlib::Absolutepath $prefix) {

$notebook_version = lookup('jupyterhub::notebook::version')

exec { 'pip_notebook':
command => "${prefix}/bin/pip install --no-cache-dir notebook",
command => "${prefix}/bin/pip install --no-cache-dir notebook==${notebook_version}",
creates => "${prefix}/lib/python3.6/site-packages/notebook/",
require => Exec['jupyterhub_venv']
}
Expand Down

0 comments on commit 69821ad

Please sign in to comment.