File tree 3 files changed +10
-6
lines changed
3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ before_install:
28
28
29
29
install :
30
30
- pip install --pre .[test] $EXTRA_PIP
31
+ - pip install git+https://github.com/gateway-experiments/jupyter_kernel_mgmt.git@fix-windows
31
32
- pip freeze
32
33
- 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
33
34
Original file line number Diff line number Diff line change 4
4
5
5
environment :
6
6
matrix :
7
- - CONDA_PY : 36
7
+ - CONDA_PY : 37
8
8
CONDA_INSTALL_LOCN : " C:\\ Miniconda36-x64"
9
9
10
10
platform :
@@ -17,8 +17,10 @@ install:
17
17
- cmd : conda config --set show_channel_urls true
18
18
- cmd : conda config --add channels conda-forge
19
19
# - cmd: conda update --yes --quiet conda
20
+ # - cmd: conda install -y pyzmq tornado jupyter_kernel_mgmt nbformat nbconvert ipykernel pip nose
20
21
- cmd : conda install -y pyzmq tornado jupyter_client nbformat nbconvert ipykernel pip nose
21
22
- cmd : pip install .[test]
23
+ - cmd : pip install git+https://github.com/gateway-experiments/jupyter_kernel_mgmt.git@fix-windows
22
24
23
25
test_script :
24
26
- nosetests -v jupyter_server --exclude-dir notebook\tests\selenium
Original file line number Diff line number Diff line change @@ -180,11 +180,12 @@ def start_thread():
180
180
started .set ()
181
181
app .session_manager .close ()
182
182
183
- # The following is required for kernel api tests in order for asyncio.create_subprocess_exec()
184
- # to work from tests - which requires that child_watcher be on the main thread.
185
- # https://docs.python.org/3/library/asyncio-subprocess.html#subprocess-and-threads
186
- asyncio .get_event_loop ()
187
- asyncio .get_child_watcher ()
183
+ if not sys .platform .startswith ("win" ):
184
+ # The following is required for kernel api tests in order for asyncio.create_subprocess_exec()
185
+ # to work from tests - which requires that child_watcher be on the main thread.
186
+ # https://docs.python.org/3/library/asyncio-subprocess.html#subprocess-and-threads
187
+ asyncio .get_event_loop ()
188
+ asyncio .get_child_watcher ()
188
189
189
190
cls .server_thread = Thread (target = start_thread )
190
191
cls .server_thread .daemon = True
You can’t perform that action at this time.
0 commit comments