File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,12 @@ jobs:
103
103
jupyter lab build --minimize=False --debug
104
104
105
105
- name : Check the lab extension
106
- if : ${{ !(matrix.jupyterlab-version == '2' && matrix.python-version == '3.11') }}
106
+ # We test the labextension thoroughly in the acceptance tests below, so
107
+ # we have conditionally disabled this basic check is to avoid issues in
108
+ # jupyterlab.browser_check with jupyterlab 2 and a modern version of
109
+ # python (3.11+).
110
+ #
111
+ if : ${{ !(matrix.jupyterlab-version == '2' && startsWith(matrix.python-version, '3.1')) }}
107
112
run : |
108
113
jupyter labextension list
109
114
jupyter labextension list 2>&1 | grep -ie '@jupyterlab/server-proxy.*OK.*'
Original file line number Diff line number Diff line change 7
7
8
8
HERE = Path (__file__ ).parent
9
9
OUTPUT = HERE .parent .parent / "build/robot"
10
- SERVER_INFO = None
11
- LAB_INFO = None
10
+ JUPYTER_SERVER_INFO = None
12
11
13
12
try :
14
13
import jupyter_server
15
- SERVER_INFO = jupyter_server .version_info
14
+ JUPYTER_SERVER_INFO = jupyter_server .version_info
16
15
except ImportError :
17
16
pass
18
17
@@ -23,7 +22,9 @@ def test_robot():
23
22
24
23
env = dict (** os .environ )
25
24
26
- if SERVER_INFO is None :
25
+ # JUPYTER_LIBRARY_* env vars documentation:
26
+ # https://robotframework-jupyterlibrary.readthedocs.io/en/stable/LIMITS.html#notebookapp-vs-serverapp
27
+ if JUPYTER_SERVER_INFO is None :
27
28
env .update (
28
29
JUPYTER_LIBRARY_APP_COMMAND = "jupyter-notebook" ,
29
30
JUPYTER_LIBRARY_APP = "NotebookApp" ,
You can’t perform that action at this time.
0 commit comments