File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,7 @@ To install the latest release locally, make sure you have
14
14
15
15
$ pip install jupyter_server
16
16
17
- Jupyter Server currently supports the following Python versions:
18
-
19
- Platform | Python
20
- --- | ---
21
- Linux | >=3.5
22
- OSX | >=3.5
23
- Windows | >=3.7
17
+ Jupyter Server currently supports Python>=3.5 on Linux, OSX and Windows.
24
18
25
19
### Versioning and Branches
26
20
Original file line number Diff line number Diff line change 1
1
"""The Jupyter Server"""
2
2
3
3
import os
4
+ import sys
5
+ import subprocess
4
6
5
7
DEFAULT_STATIC_FILES_PATH = os .path .join (os .path .dirname (__file__ ), "static" )
6
8
DEFAULT_TEMPLATE_PATH_LIST = [
11
13
del os
12
14
13
15
from ._version import version_info , __version__
16
+
17
+
18
+ def _cleanup ():
19
+ pass
20
+
21
+
22
+ # patch subprocess on Windows for python<3.7
23
+ # see https://bugs.python.org/issue37380
24
+ # the fix for python3.7: https://github.com/python/cpython/pull/15706/files
25
+ if sys .platform == 'win32' :
26
+ if sys .version_info < (3 , 7 ):
27
+ subprocess ._cleanup = _cleanup
28
+ subprocess ._active = None
You can’t perform that action at this time.
0 commit comments