cmake-language-server: fix build using latest pygls version

This commit is contained in:
Kira Bruneau 2022-08-02 17:41:15 -04:00
parent dcd7be06e8
commit 1a03d094f4
2 changed files with 16 additions and 0 deletions

View file

@ -24,6 +24,9 @@ buildPythonApplication rec {
patches = [
# Test timeouts occasionally cause the build to fail
./disable-test-timeouts.patch
# cmake-language-server depends on pygls 0.11, but still works with 0.12
./use-latest-pygls.patch
];
postPatch = ''

View file

@ -0,0 +1,13 @@
diff --git a/pyproject.toml b/pyproject.toml
index bc6251d..39d6686 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -19,7 +19,7 @@ classifiers = [
[tool.poetry.dependencies]
python = "^3.6"
-pygls = "^0.11"
+pygls = "^0.12"
pyparsing = "^2.4"
importlib-metadata = {version = "^4.8", python = "<3.8"}