summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 20:21:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 20:21:35 +0000
commitb6b2f0c15e1167cf21c033e49c35af54bd828331 (patch)
tree3c5f7d8c2341c7711d912fe81088f6f4489ac2e5 /debian/patches
parentAdding upstream version 1.3.0. (diff)
downloadpygls-b6b2f0c15e1167cf21c033e49c35af54bd828331.tar.xz
pygls-b6b2f0c15e1167cf21c033e49c35af54bd828331.zip
Adding debian version 1.3.0-2.debian/1.3.0-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0001_disable_hanging_tests.patch65
-rw-r--r--debian/patches/series1
2 files changed, 66 insertions, 0 deletions
diff --git a/debian/patches/0001_disable_hanging_tests.patch b/debian/patches/0001_disable_hanging_tests.patch
new file mode 100644
index 0000000..c53832d
--- /dev/null
+++ b/debian/patches/0001_disable_hanging_tests.patch
@@ -0,0 +1,65 @@
+Disable some tests that hang during Debian builds
+
+--- pygls-1.3.0.orig/tests/lsp/test_code_action.py
++++ pygls-1.3.0/tests/lsp/test_code_action.py
+@@ -20,7 +20,9 @@ from lsprotocol import types
+
+ from ..client import LanguageClient
+
++import pytest
+
++@pytest.mark.skip("Hangs")
+ async def test_code_actions(
+ code_action_client: Tuple[LanguageClient, types.InitializeResult], uri_for
+ ):
+--- pygls-1.3.0.orig/tests/lsp/test_completion.py
++++ pygls-1.3.0/tests/lsp/test_completion.py
+@@ -21,7 +21,10 @@ from lsprotocol import types
+
+ from ..client import LanguageClient
+
++import pytest
+
++
++@pytest.mark.skip("Hangs")
+ async def test_completion(
+ json_server_client: Tuple[LanguageClient, types.InitializeResult],
+ uri_for,
+--- pygls-1.3.0.orig/tests/lsp/test_diagnostics.py
++++ pygls-1.3.0/tests/lsp/test_diagnostics.py
+@@ -22,7 +22,10 @@ from lsprotocol import types
+
+ from ..client import LanguageClient
+
++import pytest
+
++
++@pytest.mark.skip("Hangs")
+ async def test_diagnostics(
+ json_server_client: Tuple[LanguageClient, types.InitializeResult],
+ uri_for,
+--- pygls-1.3.0.orig/tests/lsp/test_inlay_hints.py
++++ pygls-1.3.0/tests/lsp/test_inlay_hints.py
+@@ -20,7 +20,10 @@ from lsprotocol import types
+
+ from ..client import LanguageClient
+
++import pytest
+
++
++@pytest.mark.skip("Hangs")
+ async def test_code_actions(
+ inlay_hints_client: Tuple[LanguageClient, types.InitializeResult], uri_for
+ ):
+--- pygls-1.3.0.orig/tests/lsp/test_inline_value.py
++++ pygls-1.3.0/tests/lsp/test_inline_value.py
+@@ -21,7 +21,9 @@ from lsprotocol import types
+
+ from ..client import LanguageClient
+
++import pytest
+
++@pytest.mark.skip("Hangs")
+ async def test_inline_value(
+ json_server_client: Tuple[LanguageClient, types.InitializeResult],
+ uri_for,
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..84074ea
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001_disable_hanging_tests.patch