File tree Expand file tree Collapse file tree 3 files changed +19
-12
lines changed Expand file tree Collapse file tree 3 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -60,20 +60,21 @@ jobs:
60
60
python -m pip install --upgrade pip
61
61
python -m pip install pytest
62
62
pip install -r requirements.txt
63
+ pip list
64
+
63
65
- name : Install nodejs dependencies
64
66
run : |
65
67
sudo npm install -g configurable-http-proxy
66
68
67
- # We need to check compatibility with different versions of the JH
68
- # API, including latest development. For that, we also need to
69
- # pull in the dependencies of that old JH version (but we don't
70
- # need conda/npm for our tests).
69
+ # We need to check compatibility with different versions of the JH API,
70
+ # including latest development. For that, we also need to pull in the
71
+ # development dependencies of that old JH version (but we don't need
72
+ # conda/npm for our tests).
71
73
- name : install JupyterHub
72
74
run : |
73
- git clone --quiet --branch ${{ matrix.JHUB_VER }} https://github.com/jupyterhub/jupyterhub.git jupyterhub
74
- pip install --pre -r jupyterhub/dev-requirements.txt
75
- pip install --upgrade pytest
76
- pip install --pre -e jupyterhub
75
+ git clone --quiet --branch ${{ matrix.JHUB_VER }} https://github.com/jupyterhub/jupyterhub.git ./jupyterhub
76
+ pip install -r ./jupyterhub/dev-requirements.txt
77
+ pip install ./jupyterhub
77
78
78
79
- name : pytest
79
80
run : |
Original file line number Diff line number Diff line change @@ -194,8 +194,7 @@ error messages:
194
194
batchspawner-specific, with the one exception below. The error log
195
195
would be in the batch script output (same file as above). There may
196
196
also be clues in the JupyterHub logfile.
197
-
198
- - Are you running on an NFS filesystem? It's possible for Jupyter to
197
+ - Are you running on an NFS filesystem? It's possible for Jupyter to
199
198
experience issues due to varying implementations of the fcntl() system
200
199
call. (See also [ Jupyterhub-Notes and Tips: SQLite] ( https://jupyterhub.readthedocs.io/en/latest/reference/database.html?highlight=NFS#sqlite ) )
201
200
Original file line number Diff line number Diff line change 1
- """py.test fixtures imported from Jupyterhub testing """
1
+ """Relevant pytest fixtures are re-used from JupyterHub's test suite """
2
2
3
- from jupyterhub .tests .conftest import *
3
+ # We only use "db" and "io_loop", but we also need event_loop which is used by
4
+ # io_loop to be available with jupyterhub 1+.
5
+ from jupyterhub .tests .conftest import db , io_loop
6
+
7
+ try :
8
+ from jupyterhub .tests .conftest import event_loop
9
+ except :
10
+ pass
You can’t perform that action at this time.
0 commit comments