diff --git a/pylsp-issues-602-605.patch b/pylsp-issues-602-605.patch deleted file mode 100644 index 8a9bc08..0000000 --- a/pylsp-issues-602-605.patch +++ /dev/null @@ -1,29 +0,0 @@ -* Changed fuzzy jedi completion - gh#python-lsp/python-lsp-server#602 -* Disable DEBUG logging for tests - gh#python-lsp/python-lsp-server#605 - -diff -ur python_lsp_server-1.12.0.orig/test/conftest.py python_lsp_server-1.12.0/test/conftest.py ---- python_lsp_server-1.12.0.orig/test/conftest.py 2024-12-25 11:04:59.271951606 +0100 -+++ python_lsp_server-1.12.0/test/conftest.py 2024-12-25 11:05:15.935801063 +0100 -@@ -7,7 +7,7 @@ - - from pylsp.__main__ import LOG_FORMAT - --logging.basicConfig(level=logging.DEBUG, format=LOG_FORMAT) -+logging.basicConfig(level=logging.WARN, format=LOG_FORMAT) - - - pytest_plugins = ["test.fixtures"] -diff -ur python_lsp_server-1.12.0.orig/test/plugins/test_completion.py python_lsp_server-1.12.0/test/plugins/test_completion.py ---- python_lsp_server-1.12.0.orig/test/plugins/test_completion.py 2024-12-25 11:04:59.271951606 +0100 -+++ python_lsp_server-1.12.0/test/plugins/test_completion.py 2024-12-25 11:12:34.059344572 +0100 -@@ -182,6 +182,8 @@ - expected = "commonprefix(m)" - if JEDI_VERSION == "0.18.0": - expected = "commonprefix(list)" -+ if tuple([int(i) for i in JEDI_VERSION.split(".")]) >= (0,19,2): -+ expected = "isabs(s)" - assert items[0]["label"] == expected - - # Test we don't throw with big character diff --git a/python-python-lsp-server.changes b/python-python-lsp-server.changes index 18f0acf..4370beb 100644 --- a/python-python-lsp-server.changes +++ b/python-python-lsp-server.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Feb 9 14:02:20 UTC 2025 - Ben Greiner + +- Update to 1.12.1 + * Fixes compatibility with Python 3.13 in the test suite. + * Handles correctly a null value for ropeFolder in the Rope + configuration. +- Drop pylsp-issues-602-605.patch + ------------------------------------------------------------------- Wed Dec 25 09:59:30 UTC 2024 - Ben Greiner diff --git a/python-python-lsp-server.spec b/python-python-lsp-server.spec index 0212009..b793a11 100644 --- a/python-python-lsp-server.spec +++ b/python-python-lsp-server.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-lsp-server # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,17 +17,14 @@ %{?sle15_python_module_pythons} - Name: python-python-lsp-server -Version: 1.12.0 +Version: 1.12.1 Release: 0 Summary: Python Language Server for the Language Server Protocol License: MIT URL: https://github.com/python-lsp/python-lsp-server Source: https://files.pythonhosted.org/packages/source/p/python-lsp-server/python_lsp_server-%{version}.tar.gz Patch1: unpin-autopep8.patch -# PATCH-FIX-UPSTREAM pylsp-issues-602-605.patch gh#python-lsp/python-lsp-server#602 gh#python-lsp/python-lsp-server#605 -Patch2: pylsp-issues-602-605.patch BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 61.2} diff --git a/python_lsp_server-1.12.0.tar.gz b/python_lsp_server-1.12.0.tar.gz deleted file mode 100644 index c8c3ab5..0000000 --- a/python_lsp_server-1.12.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b6a336f128da03bd9bac1e61c3acca6e84242b8b31055a1ccf49d83df9dc053b -size 114328 diff --git a/python_lsp_server-1.12.1.tar.gz b/python_lsp_server-1.12.1.tar.gz new file mode 100644 index 0000000..106dcdd --- /dev/null +++ b/python_lsp_server-1.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd90fcabf53066f0a66e4246767e96cd99c13ad16e61b95fd3ab622821ea048c +size 115002