Merge pull request #306037 from kira-bruneau/cmake-language-server

cmake-language-server: 0.1.9 -> 0.1.10
This commit is contained in:
rewine 2024-04-23 23:10:51 +08:00 committed by GitHub
commit 5e39a5c112
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 4 deletions

View file

@ -12,7 +12,7 @@
buildPythonApplication rec {
pname = "cmake-language-server";
version = "0.1.9";
version = "0.1.10";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -21,7 +21,7 @@ buildPythonApplication rec {
owner = "regen100";
repo = "cmake-language-server";
rev = "refs/tags/v${version}";
hash = "sha256-8ypl0YA6ep8/jBL3tsutSgCW13NZTZzaNafaOamcT08=";
hash = "sha256-9fnyDJm8rUl+7g4FrdMykPpQOcww2M6IPWH/3qVeJX4=";
};
patches = [

View file

@ -1,8 +1,8 @@
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
+++ 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
@ -11,3 +11,12 @@ index f349329..d130a2e 100644
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