8000 Rename jsonrpc package (#470) · lcheylus/python-lsp-server@98977b6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 98977b6

Browse files
authored
Rename jsonrpc package (python-lsp#470)
1 parent 79f3ffe commit 98977b6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

pyls/python_ls.py

Lines changed: 3 additions &a 10000 mp; 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
import socketserver
44
import threading
55

6-
from jsonrpc.dispatchers import MethodDispatcher
7-
from jsonrpc.endpoint import Endpoint
8-
from jsonrpc.streams import JsonRpcStreamReader, JsonRpcStreamWriter
6+
from pyls_jsonrpc.dispatchers import MethodDispatcher
7+
from pyls_jsonrpc.endpoint import Endpoint
8+
from pyls_jsonrpc.streams import JsonRpcStreamReader, JsonRpcStreamWriter
99

1010
from . import lsp, _utils, uris
1111
from .config import config

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
'future>=0.14.0',
3737
'futures; python_version<"3.2"',
3838
'jedi>=0.12',
39-
'python-jsonrpc-server',
39+
'python-jsonrpc-server>=0.1.0',
4040
'pluggy'
4141
],
4242

test/test_language_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import os
33
from threading import Thread
44

5-
from jsonrpc.exceptions import JsonRpcMethodNotFound
5+
from pyls_jsonrpc.exceptions import JsonRpcMethodNotFound
66
import pytest
77

88
from pyls.python_ls import start_io_lang_server, PythonLanguageServer

0 commit comments

Comments
 (0)
0