File tree 3 files changed +11
-4
lines changed 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 4
4
import logging .config
5
5
import sys
6
6
7
- import ujson as json
7
+ try :
8
+ import ujson as json
9
+ except Exception : # pylint: disable=broad-except
10
+ import json
8
11
9
12
from .python_ls import (PythonLanguageServer , start_io_lang_server ,
10
13
start_tcp_lang_server )
Original file line number Diff line number Diff line change 4
4
import logging
5
5
import sys
6
6
7
- import ujson as json
8
7
from pylint .epylint import py_run
9
8
from pyls import hookimpl , lsp
10
9
10
+ try :
11
+ import ujson as json
12
+ except Exception : # pylint: disable=broad-except
13
+ import json
14
+
11
15
log = logging .getLogger (__name__ )
12
16
13
17
Original file line number Diff line number Diff line change 36
36
'future>=0.14.0; python_version<"3"' ,
37
37
'backports.functools_lru_cache; python_version<"3.2"' ,
38
38
'jedi>=0.14.1,<0.16' ,
39
- 'python-jsonrpc-server>=0.3.0 ' ,
39
+ 'python-jsonrpc-server>=0.3.2 ' ,
40
40
'pluggy' ,
41
- 'ujson<=1.35'
41
+ 'ujson<=1.35; platform_system!="Windows" '
42
42
],
43
43
44
44
# List additional groups of dependencies here (e.g. development
You can’t perform that action at this time.
0 commit comments