cmake-language-server: 0.1.9 -> 0.1.10
This commit is contained in:
parent
f2d7a289c5
commit
4872b42921
2 changed files with 13 additions and 4 deletions
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "cmake-language-server";
|
pname = "cmake-language-server";
|
||||||
version = "0.1.9";
|
version = "0.1.10";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -21,7 +21,7 @@ buildPythonApplication rec {
|
||||||
owner = "regen100";
|
owner = "regen100";
|
||||||
repo = "cmake-language-server";
|
repo = "cmake-language-server";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-8ypl0YA6ep8/jBL3tsutSgCW13NZTZzaNafaOamcT08=";
|
hash = "sha256-9fnyDJm8rUl+7g4FrdMykPpQOcww2M6IPWH/3qVeJX4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
diff --git a/tests/test_server.py b/tests/test_server.py
|
diff --git a/tests/test_server.py b/tests/test_server.py
|
||||||
index f349329..d130a2e 100644
|
index e6cfe6e..3a3ee6a 100644
|
||||||
--- a/tests/test_server.py
|
--- a/tests/test_server.py
|
||||||
+++ b/tests/test_server.py
|
+++ b/tests/test_server.py
|
||||||
@@ -27,7 +27,7 @@ from pygls.server import LanguageServer
|
@@ -31,7 +31,7 @@ from pygls.server import LanguageServer
|
||||||
|
|
||||||
from cmake_language_server.server import CMakeLanguageServer
|
from cmake_language_server.server import CMakeLanguageServer
|
||||||
|
|
||||||
|
@ -11,3 +11,12 @@ index f349329..d130a2e 100644
|
||||||
|
|
||||||
|
|
||||||
def _init(client: LanguageServer, root: Path) -> None:
|
def _init(client: LanguageServer, root: Path) -> None:
|
||||||
|
@@ -115,7 +115,7 @@ def test_workspace_did_change_configuration(
|
||||||
|
)
|
||||||
|
|
||||||
|
start = time.monotonic()
|
||||||
|
- while server._api is old_api and (time.monotonic() - start) < CALL_TIMEOUT:
|
||||||
|
+ while server._api is old_api:
|
||||||
|
time.sleep(0.1)
|
||||||
|
|
||||||
|
assert server._api is not None
|
||||||
|
|
Loading…
Reference in a new issue