File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 44import logging .config
55import sys
66
7- import ujson as json
7+ try :
8+ import ujson as json
9+ except Exception : # pylint: disable=broad-except
10+ import json
811
912from .python_ls import (PythonLanguageServer , start_io_lang_server ,
1013 start_tcp_lang_server )
Original file line number Diff line number Diff line change 44import logging
55import sys
66
7- import ujson as json
87from pylint .epylint import py_run
98from pyls import hookimpl , lsp
109
10+ try :
11+ import ujson as json
12+ except Exception : # pylint: disable=broad-except
13+ import json
14+
1115log = logging .getLogger (__name__ )
1216
1317
Original file line number Diff line number Diff line change 3636 'future>=0.14.0; python_version<"3"' ,
3737 'backports.functools_lru_cache; python_version<"3.2"' ,
3838 'jedi>=0.14.1,<0.16' ,
39- 'python-jsonrpc-server>=0.3.0 ' ,
39+ 'python-jsonrpc-server>=0.3.2 ' ,
4040 'pluggy' ,
41- 'ujson<=1.35'
41+ 'ujson<=1.35; platform_system!="Windows" '
4242 ],
4343
4444 # List additional groups of dependencies here (e.g. development
You can’t perform that action at this time.
0 commit comments