From 4e9d40a775c2acf39236c252666538ee24e5beec Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Wed, 13 Dec 2017 17:48:44 +0000 Subject: [PATCH 1/4] List kernelspecs for debugging issue --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index d4ee8b835b..b3d6e3d732 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,6 +46,7 @@ install: script: + - jupyter kernelspec list - 'if [[ $GROUP == js* ]]; then travis_retry python -m notebook.jstest ${GROUP:3}; fi' - 'if [[ $GROUP == python ]]; then nosetests -v --with-coverage --cover-package=notebook notebook; fi' - | From 035af348b94bc045a2c5acce58ff38c14737b1ba Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Wed, 13 Dec 2017 17:57:57 +0000 Subject: [PATCH 2/4] Is it worth caching pip on Travis? --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index b3d6e3d732..079e986d61 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ language: python cache: directories: - $HOME/.cache/bower + - $HOME/.cache/pip python: - 3.6 - 2.7 From 95acc55ac10fb086796755c9c7b776c913d4acd0 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Wed, 13 Dec 2017 18:04:37 +0000 Subject: [PATCH 3/4] Pin ipykernel to older version on Py 2 --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 079e986d61..21ef31b731 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,6 +43,11 @@ before_install: install: - pip install -f travis-wheels/wheelhouse file://$PWD#egg=notebook[test] + - | + if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then + # Work around https://github.com/ipython/ipykernel/issues/288 + pip install ipykernel==4.6.1 + fi - wget https://github.com/jgm/pandoc/releases/download/1.19.1/pandoc-1.19.1-1-amd64.deb && sudo dpkg -i pandoc-1.19.1-1-amd64.deb From 56677f94b143bc4a02e805e1716ab3d493d155af Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Wed, 13 Dec 2017 18:05:26 +0000 Subject: [PATCH 4/4] Ugh, yaml --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 21ef31b731..85352bbeda 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,10 +44,10 @@ before_install: install: - pip install -f travis-wheels/wheelhouse file://$PWD#egg=notebook[test] - | - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then - # Work around https://github.com/ipython/ipykernel/issues/288 - pip install ipykernel==4.6.1 - fi + if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then + # Work around https://github.com/ipython/ipykernel/issues/288 + pip install ipykernel==4.6.1 + fi - wget https://github.com/jgm/pandoc/releases/download/1.19.1/pandoc-1.19.1-1-amd64.deb && sudo dpkg -i pandoc-1.19.1-1-amd64.deb