Skip to content

Commit ec203ec

Browse files
authored
PR: Use python-lsp-jsonrpc instead of python-jsonrpc-server (#12)
1 parent 26f234a commit ec203ec

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Diff for: pylsp/python_lsp.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
import socketserver
88
import threading
99

10-
from pyls_jsonrpc.dispatchers import MethodDispatcher
11-
from pyls_jsonrpc.endpoint import Endpoint
12-
from pyls_jsonrpc.streams import JsonRpcStreamReader, JsonRpcStreamWriter
10+
from pylsp_jsonrpc.dispatchers import MethodDispatcher
11+
from pylsp_jsonrpc.endpoint import Endpoint
12+
from pylsp_jsonrpc.streams import JsonRpcStreamReader, JsonRpcStreamWriter
1313

1414
from . import lsp, _utils, uris
1515
from .config import config

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def get_version(module='pylsp'):
2727

2828
install_requires = [
2929
'jedi>=0.17.2,<0.19.0',
30-
'python-jsonrpc-server>=0.4.0',
30+
'python-lsp-jsonrpc>=1.0.0',
3131
'pluggy',
3232
'ujson>=3.0.0'
3333
]

Diff for: test/test_language_server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import sys
88
from threading import Thread
99

10-
from pyls_jsonrpc.exceptions import JsonRpcMethodNotFound
10+
from pylsp_jsonrpc.exceptions import JsonRpcMethodNotFound
1111
import pytest
1212

1313
from pylsp.python_lsp import start_io_lang_server, PythonLSPServer

0 commit comments

Comments
 (0)