Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-lsp-server for
openSUSE:Factory checked in at 2025-12-20 21:47:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-lsp-server (Old)
and /work/SRC/openSUSE:Factory/.python-python-lsp-server.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-lsp-server"
Sat Dec 20 21:47:14 2025 rev:44 rq:1323800 version:1.14.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-lsp-server/python-python-lsp-server.changes
2025-11-18 15:43:31.308760675 +0100
+++
/work/SRC/openSUSE:Factory/.python-python-lsp-server.new.1928/python-python-lsp-server.changes
2025-12-20 21:50:01.827983140 +0100
@@ -1,0 +2,10 @@
+Sat Dec 20 12:42:54 UTC 2025 - Ben Greiner <[email protected]>
+
+- Update to 1.14.0
+ * Add `pylsp.signature.include_docstring` to hide docstring in
+ signatures.
+ * Add support for Pylint 4.
+ * Fix support for Python 3.14.
+- Drop allow-pylint4.patch
+
+-------------------------------------------------------------------
Old:
----
allow-pylint4.patch
python_lsp_server-1.13.1.tar.gz
New:
----
python_lsp_server-1.14.0.tar.gz
----------(Old B)----------
Old: * Fix support for Python 3.14.
- Drop allow-pylint4.patch
----------(Old E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-lsp-server.spec ++++++
--- /var/tmp/diff_new_pack.iIBV6Y/_old 2025-12-20 21:50:02.472009803 +0100
+++ /var/tmp/diff_new_pack.iIBV6Y/_new 2025-12-20 21:50:02.472009803 +0100
@@ -24,15 +24,13 @@
%{?sle15_python_module_pythons}
Name: python-python-lsp-server
-Version: 1.13.1
+Version: 1.14.0
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 allow-pylint4.patch
https://github.com/python-lsp/python-lsp-server/pull/687
-Patch2: allow-pylint4.patch
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 61.2}
@@ -106,7 +104,8 @@
%package all
Summary: The python-lsp-server[all] extra
Requires: python-autopep8 >= 2.0.4
-Requires: python-rope >= 1.2.0
+Requires: python-python-lsp-server = %{version}-%{release}
+Requires: python-rope >= 1.11.0
Requires: python-yapf >= 0.33
Requires: (python-pydocstyle >= 6.3.0 with python-pydocstyle < 6.4.0)
Requires: (python-pylint >= 3.1 with python-pylint < 4.1)
++++++ python_lsp_server-1.13.1.tar.gz -> python_lsp_server-1.14.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python_lsp_server-1.13.1/.github/workflows/test-linux.yml
new/python_lsp_server-1.14.0/.github/workflows/test-linux.yml
--- old/python_lsp_server-1.13.1/.github/workflows/test-linux.yml
2025-08-26 18:34:02.000000000 +0200
+++ new/python_lsp_server-1.14.0/.github/workflows/test-linux.yml
2025-12-04 18:18:58.000000000 +0100
@@ -24,7 +24,7 @@
strategy:
fail-fast: false
matrix:
- PYTHON_VERSION: ['3.11', '3.10', '3.9']
+ PYTHON_VERSION: ['3.14', '3.13', '3.12', '3.11', '3.10', '3.9']
timeout-minutes: 10
steps:
- uses: actions/cache@v4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python_lsp_server-1.13.1/.github/workflows/test-mac.yml
new/python_lsp_server-1.14.0/.github/workflows/test-mac.yml
--- old/python_lsp_server-1.13.1/.github/workflows/test-mac.yml 2025-08-26
18:34:02.000000000 +0200
+++ new/python_lsp_server-1.14.0/.github/workflows/test-mac.yml 2025-12-04
18:18:58.000000000 +0100
@@ -24,7 +24,7 @@
strategy:
fail-fast: false
matrix:
- PYTHON_VERSION: ['3.11', '3.10', '3.9']
+ PYTHON_VERSION: ['3.14', '3.12', '3.9']
timeout-minutes: 10
steps:
- uses: actions/cache@v4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python_lsp_server-1.13.1/.github/workflows/test-win.yml
new/python_lsp_server-1.14.0/.github/workflows/test-win.yml
--- old/python_lsp_server-1.13.1/.github/workflows/test-win.yml 2025-08-26
18:34:02.000000000 +0200
+++ new/python_lsp_server-1.14.0/.github/workflows/test-win.yml 2025-12-04
18:18:58.000000000 +0100
@@ -24,7 +24,7 @@
strategy:
fail-fast: false
matrix:
- PYTHON_VERSION: ['3.11', '3.10', '3.9']
+ PYTHON_VERSION: ['3.14', '3.12', '3.9']
timeout-minutes: 10
steps:
- uses: actions/cache@v4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python_lsp_server-1.13.1/.gitignore
new/python_lsp_server-1.14.0/.gitignore
--- old/python_lsp_server-1.13.1/.gitignore 2022-12-11 18:32:03.000000000
+0100
+++ new/python_lsp_server-1.14.0/.gitignore 2025-11-19 14:55:38.000000000
+0100
@@ -100,6 +100,7 @@
# Spyder project settings
.spyderproject
+.spyproject
# Rope project settings
.ropeproject
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python_lsp_server-1.13.1/CHANGELOG.md
new/python_lsp_server-1.14.0/CHANGELOG.md
--- old/python_lsp_server-1.13.1/CHANGELOG.md 2025-08-26 18:45:44.000000000
+0200
+++ new/python_lsp_server-1.14.0/CHANGELOG.md 2025-12-06 17:09:18.000000000
+0100
@@ -1,5 +1,34 @@
# History of changes
+## Version 1.14.0 (2025/12/06)
+
+### New features
+* Add `pylsp.signature.include_docstring` to hide docstring in signatures.
+* Add support for Pylint 4.
+* Fix support for Python 3.14.
+
+### Pull Requests Merged
+
+* [PR 690](https://github.com/python-lsp/python-lsp-server/pull/690) - Fix
starting the server for Python 3.14 and run tests with that version, by
[@ccordoba12](https://github.com/ccordoba12)
+* [PR 689](https://github.com/python-lsp/python-lsp-server/pull/689) - Adjust
test based on Jedi version, by [@aeliton](https://github.com/aeliton)
+* [PR 687](https://github.com/python-lsp/python-lsp-server/pull/687) - Bump
allowed pylint to less than 4.1, by
[@tiltingpenguin](https://github.com/tiltingpenguin)
+* [PR 686](https://github.com/python-lsp/python-lsp-server/pull/686) - Add
option to hide docstring in signatures, by
[@tomekwojcik](https://github.com/tomekwojcik)
+
+In this release 4 pull requests were closed.
+
+----
+
+## Version 1.13.2 (2025/11/19)
+
+### Pull Requests Merged
+
+* [PR 683](https://github.com/python-lsp/python-lsp-server/pull/683) - Prevent
showing cmd on Windows when running flake8, by
[@dalthviz](https://github.com/dalthviz)
+* [PR 669](https://github.com/python-lsp/python-lsp-server/pull/669) - Fix
license entries in `pyproject.toml` due to pep 639, by
[@ccordoba12](https://github.com/ccordoba12)
+
+In this release 2 pull requests were closed.
+
+----
+
## Version 1.13.1 (2025/08/26)
### Pull Requests Merged
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python_lsp_server-1.13.1/CONFIGURATION.md
new/python_lsp_server-1.14.0/CONFIGURATION.md
--- old/python_lsp_server-1.13.1/CONFIGURATION.md 2025-08-26
18:34:02.000000000 +0200
+++ new/python_lsp_server-1.14.0/CONFIGURATION.md 2025-12-06
16:53:29.000000000 +0100
@@ -77,6 +77,7 @@
| `pylsp.rope.extensionModules` | `string` | Builtin and c-extension modules
that are allowed to be imported and inspected by rope. | `null` |
| `pylsp.rope.ropeFolder` | `array` of unique `string` items | The name of the
folder in which rope stores project configurations and data. Pass `null` for
not using such a folder at all. | `null` |
| `pylsp.signature.formatter` | `string` (one of: `'black'`, `'ruff'`, `None`)
| Formatter to use for reformatting signatures in docstrings. | `"black"` |
+| `pylsp.signature.include_docstring` | `boolean` | Include signature
docstring. | `true` |
| `pylsp.signature.line_length` | `number` | Maximum line length in
signatures. | `88` |
This documentation was generated from `pylsp/config/schema.json`. Please do
not edit this file directly.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python_lsp_server-1.13.1/PKG-INFO
new/python_lsp_server-1.14.0/PKG-INFO
--- old/python_lsp_server-1.13.1/PKG-INFO 2025-08-26 18:49:15.944186700
+0200
+++ new/python_lsp_server-1.14.0/PKG-INFO 2025-12-06 17:11:39.302111900
+0100
@@ -1,9 +1,9 @@
Metadata-Version: 2.4
Name: python-lsp-server
-Version: 1.13.1
+Version: 1.14.0
Summary: Python Language Server for the Language Server Protocol
Author: Python Language Server Contributors
-License: MIT
+License-Expression: MIT
Project-URL: Homepage, https://github.com/python-lsp/python-lsp-server
Requires-Python: >=3.9
Description-Content-Type: text/markdown
@@ -22,7 +22,7 @@
Requires-Dist: pycodestyle<2.13.0,>=2.12.0; extra == "all"
Requires-Dist: pydocstyle<6.4.0,>=6.3.0; extra == "all"
Requires-Dist: pyflakes<3.3.0,>=3.2.0; extra == "all"
-Requires-Dist: pylint<4,>=3.1; extra == "all"
+Requires-Dist: pylint<4.1.0,>=3.1; extra == "all"
Requires-Dist: rope>=1.11.0; extra == "all"
Requires-Dist: yapf>=0.33.0; extra == "all"
Requires-Dist: whatthepatch<2.0.0,>=1.0.2; extra == "all"
@@ -39,7 +39,7 @@
Provides-Extra: pyflakes
Requires-Dist: pyflakes<3.3.0,>=3.2.0; extra == "pyflakes"
Provides-Extra: pylint
-Requires-Dist: pylint<4,>=3.1; extra == "pylint"
+Requires-Dist: pylint<4.1.0,>=3.1; extra == "pylint"
Provides-Extra: rope
Requires-Dist: rope>=1.11.0; extra == "rope"
Provides-Extra: yapf
@@ -48,7 +48,7 @@
Provides-Extra: websockets
Requires-Dist: websockets>=10.3; extra == "websockets"
Provides-Extra: test
-Requires-Dist: pylint<4,>=3.1; extra == "test"
+Requires-Dist: pylint<4.1.0,>=3.1; extra == "test"
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Requires-Dist: coverage; extra == "test"
@@ -64,8 +64,7 @@
[](https://github.com/python-ls/python-ls/actions?query=workflow%3A%22Linux+tests%22)
[](https://github.com/python-ls/python-ls/actions?query=workflow%3A%22Mac+tests%22)
[](https://github.com/python-ls/python-ls/actions?query=workflow%3A%22Windows+tests%22)
[](https://github.com/python-ls/python-ls/blob/master/LICENSE)
-A Python 3.8+ implementation of the [Language Server
Protocol](https://github.com/Microsoft/language-server-protocol).
-(Note: versions <1.4 should still work with Python 3.6)
+A Python 3.9+ implementation of the [Language Server
Protocol](https://github.com/Microsoft/language-server-protocol).
## Installation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python_lsp_server-1.13.1/README.md
new/python_lsp_server-1.14.0/README.md
--- old/python_lsp_server-1.13.1/README.md 2024-07-24 18:43:03.000000000
+0200
+++ new/python_lsp_server-1.14.0/README.md 2025-08-27 00:30:25.000000000
+0200
@@ -2,8 +2,7 @@
[](https://github.com/python-ls/python-ls/actions?query=workflow%3A%22Linux+tests%22)
[](https://github.com/python-ls/python-ls/actions?query=workflow%3A%22Mac+tests%22)
[](https://github.com/python-ls/python-ls/actions?query=workflow%3A%22Windows+tests%22)
[](https://github.com/python-ls/python-ls/blob/master/LICENSE)
-A Python 3.8+ implementation of the [Language Server
Protocol](https://github.com/Microsoft/language-server-protocol).
-(Note: versions <1.4 should still work with Python 3.6)
+A Python 3.9+ implementation of the [Language Server
Protocol](https://github.com/Microsoft/language-server-protocol).
## Installation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python_lsp_server-1.13.1/pylsp/_utils.py
new/python_lsp_server-1.14.0/pylsp/_utils.py
--- old/python_lsp_server-1.13.1/pylsp/_utils.py 2025-08-26
18:34:02.000000000 +0200
+++ new/python_lsp_server-1.14.0/pylsp/_utils.py 2025-12-06
16:53:29.000000000 +0100
@@ -315,17 +315,24 @@
contents = ""
if markup_kind == "markdown":
- try:
- value = docstring_to_markdown.convert(contents)
- except docstring_to_markdown.UnknownFormatError:
- # try to escape the Markdown syntax instead:
- value = escape_markdown(contents)
+ wrapped_signatures = convert_signatures_to_markdown(
+ signatures if signatures is not None else [],
config=signature_config or {}
+ )
- if signatures:
- wrapped_signatures = convert_signatures_to_markdown(
- signatures, config=signature_config or {}
- )
- value = wrapped_signatures + "\n\n" + value
+ if contents != "":
+ try:
+ value = docstring_to_markdown.convert(contents)
+ except docstring_to_markdown.UnknownFormatError:
+ # try to escape the Markdown syntax instead:
+ value = escape_markdown(contents)
+
+ if signatures:
+ value = wrapped_signatures + "\n\n" + value
+ else:
+ value = contents
+
+ if signatures:
+ value = wrapped_signatures
return {"kind": "markdown", "value": value}
value = contents
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python_lsp_server-1.13.1/pylsp/_version.py
new/python_lsp_server-1.14.0/pylsp/_version.py
--- old/python_lsp_server-1.13.1/pylsp/_version.py 2025-08-26
18:49:15.000000000 +0200
+++ new/python_lsp_server-1.14.0/pylsp/_version.py 2025-12-06
17:11:39.000000000 +0100
@@ -1 +1 @@
-__version__ = "1.13.1"
+__version__ = "1.14.0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python_lsp_server-1.13.1/pylsp/config/schema.json
new/python_lsp_server-1.14.0/pylsp/config/schema.json
--- old/python_lsp_server-1.13.1/pylsp/config/schema.json 2025-08-26
18:34:02.000000000 +0200
+++ new/python_lsp_server-1.14.0/pylsp/config/schema.json 2025-12-06
16:53:29.000000000 +0100
@@ -530,6 +530,11 @@
"default": "black",
"description": "Formatter to use for reformatting signatures in
docstrings."
},
+ "pylsp.signature.include_docstring": {
+ "type": "boolean",
+ "default": true,
+ "description": "Include signature docstring."
+ },
"pylsp.signature.line_length": {
"type": "number",
"default": 88,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python_lsp_server-1.13.1/pylsp/plugins/flake8_lint.py
new/python_lsp_server-1.14.0/pylsp/plugins/flake8_lint.py
--- old/python_lsp_server-1.13.1/pylsp/plugins/flake8_lint.py 2025-08-26
18:34:02.000000000 +0200
+++ new/python_lsp_server-1.14.0/pylsp/plugins/flake8_lint.py 2025-11-19
14:55:38.000000000 +0100
@@ -34,6 +34,13 @@
| {"E999"}
)
+if sys.platform == "win32":
+ from subprocess import CREATE_NO_WINDOW
+else:
+ # CREATE_NO_WINDOW flag only available on Windows.
+ # Set constant as default `Popen` `creationflag` kwarg value (`0`)
+ CREATE_NO_WINDOW = 0
+
@hookimpl
def pylsp_settings():
@@ -128,7 +135,7 @@
)
log.debug("Calling %s with args: '%s'", flake8_executable, args)
- popen_kwargs = {}
+ popen_kwargs = {"creationflags": CREATE_NO_WINDOW}
if cwd := document._workspace.root_path:
popen_kwargs["cwd"] = cwd
try:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python_lsp_server-1.13.1/pylsp/plugins/hover.py
new/python_lsp_server-1.14.0/pylsp/plugins/hover.py
--- old/python_lsp_server-1.13.1/pylsp/plugins/hover.py 2025-08-26
18:34:02.000000000 +0200
+++ new/python_lsp_server-1.14.0/pylsp/plugins/hover.py 2025-12-06
16:53:29.000000000 +0100
@@ -41,10 +41,19 @@
"",
)
+ include_docstring = signature_config.get("include_docstring", True)
+
+ # raw docstring returns only doc, without signature
+ docstring = definition.docstring(raw=True)
+ if not include_docstring:
+ if signature:
+ docstring = ""
+ else:
+ docstring = docstring.strip().split("\n")[0].strip()
+
return {
"contents": _utils.format_docstring(
- # raw docstring returns only doc, without signature
- definition.docstring(raw=True),
+ docstring,
preferred_markup_kind,
signatures=[signature] if signature else None,
signature_config=signature_config,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python_lsp_server-1.13.1/pylsp/plugins/signature.py
new/python_lsp_server-1.14.0/pylsp/plugins/signature.py
--- old/python_lsp_server-1.13.1/pylsp/plugins/signature.py 2024-01-21
16:55:09.000000000 +0100
+++ new/python_lsp_server-1.14.0/pylsp/plugins/signature.py 2025-12-06
16:53:29.000000000 +0100
@@ -17,6 +17,7 @@
@hookimpl
def pylsp_signature_help(config, document, position):
+ signature_config = config.settings().get("signature", {})
code_position = _utils.position_to_jedi_linecolumn(document, position)
signatures = document.jedi_script().get_signatures(**code_position)
@@ -41,10 +42,15 @@
# Docstring contains one or more lines of signature, followed by empty
line, followed by docstring
function_sig_lines = (docstring.split("\n\n") or [""])[0].splitlines()
function_sig = " ".join([line.strip() for line in function_sig_lines])
+
+ signature_docstring = s.docstring(raw=True)
+ if not signature_config.get("include_docstring", True):
+ signature_docstring = ""
+
sig = {
"label": function_sig,
"documentation": _utils.format_docstring(
- s.docstring(raw=True), markup_kind=preferred_markup_kind
+ signature_docstring, markup_kind=preferred_markup_kind
),
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python_lsp_server-1.13.1/pylsp/python_lsp.py
new/python_lsp_server-1.14.0/pylsp/python_lsp.py
--- old/python_lsp_server-1.13.1/pylsp/python_lsp.py 2025-08-26
18:34:02.000000000 +0200
+++ new/python_lsp_server-1.14.0/pylsp/python_lsp.py 2025-12-04
18:18:58.000000000 +0100
@@ -4,6 +4,7 @@
import logging
import os
import socketserver
+import sys
import threading
import uuid
from functools import partial
@@ -71,9 +72,13 @@
handler_class.__name__ + "Handler",
(_StreamHandlerWrapper,),
{
- "DELEGATE_CLASS": partial(
- handler_class, check_parent_process=check_parent_process
- ),
+ # We need to wrap this in staticmethod due to the changes to
+ # functools.partial in Python 3.14+
+ "DELEGATE_CLASS": staticmethod(
+ partial(handler_class,
check_parent_process=check_parent_process)
+ )
+ if sys.version_info >= (3, 14)
+ else partial(handler_class,
check_parent_process=check_parent_process),
"SHUTDOWN_CALL": partial(shutdown_server, check_parent_process),
},
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python_lsp_server-1.13.1/pyproject.toml
new/python_lsp_server-1.14.0/pyproject.toml
--- old/python_lsp_server-1.13.1/pyproject.toml 2025-08-26 18:34:02.000000000
+0200
+++ new/python_lsp_server-1.14.0/pyproject.toml 2025-12-06 16:53:29.000000000
+0100
@@ -10,7 +10,8 @@
authors = [{name = "Python Language Server Contributors"}]
description = "Python Language Server for the Language Server Protocol"
readme = "README.md"
-license = {text = "MIT"}
+license = "MIT"
+license-files = ["LICENSE"]
requires-python = ">=3.9"
dependencies = [
"docstring-to-markdown",
@@ -34,7 +35,7 @@
"pycodestyle>=2.12.0,<2.13.0",
"pydocstyle>=6.3.0,<6.4.0",
"pyflakes>=3.2.0,<3.3.0",
- "pylint>=3.1,<4",
+ "pylint>=3.1,<4.1.0",
"rope>=1.11.0",
"yapf>=0.33.0",
"whatthepatch>=1.0.2,<2.0.0"
@@ -45,12 +46,12 @@
pycodestyle = ["pycodestyle>=2.12.0,<2.13.0"]
pydocstyle = ["pydocstyle>=6.3.0,<6.4.0"]
pyflakes = ["pyflakes>=3.2.0,<3.3.0"]
-pylint = ["pylint>=3.1,<4"]
+pylint = ["pylint>=3.1,<4.1.0"]
rope = ["rope>=1.11.0"]
yapf = ["yapf>=0.33.0", "whatthepatch>=1.0.2,<2.0.0"]
websockets = ["websockets>=10.3"]
test = [
- "pylint>=3.1,<4",
+ "pylint>=3.1,<4.1.0",
"pytest",
"pytest-cov",
"coverage",
@@ -170,7 +171,6 @@
docstring-code-line-length = "dynamic"
[tool.setuptools]
-license-files = ["LICENSE"]
include-package-data = false
[tool.setuptools.packages.find]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python_lsp_server-1.13.1/python_lsp_server.egg-info/PKG-INFO
new/python_lsp_server-1.14.0/python_lsp_server.egg-info/PKG-INFO
--- old/python_lsp_server-1.13.1/python_lsp_server.egg-info/PKG-INFO
2025-08-26 18:49:15.000000000 +0200
+++ new/python_lsp_server-1.14.0/python_lsp_server.egg-info/PKG-INFO
2025-12-06 17:11:39.000000000 +0100
@@ -1,9 +1,9 @@
Metadata-Version: 2.4
Name: python-lsp-server
-Version: 1.13.1
+Version: 1.14.0
Summary: Python Language Server for the Language Server Protocol
Author: Python Language Server Contributors
-License: MIT
+License-Expression: MIT
Project-URL: Homepage, https://github.com/python-lsp/python-lsp-server
Requires-Python: >=3.9
Description-Content-Type: text/markdown
@@ -22,7 +22,7 @@
Requires-Dist: pycodestyle<2.13.0,>=2.12.0; extra == "all"
Requires-Dist: pydocstyle<6.4.0,>=6.3.0; extra == "all"
Requires-Dist: pyflakes<3.3.0,>=3.2.0; extra == "all"
-Requires-Dist: pylint<4,>=3.1; extra == "all"
+Requires-Dist: pylint<4.1.0,>=3.1; extra == "all"
Requires-Dist: rope>=1.11.0; extra == "all"
Requires-Dist: yapf>=0.33.0; extra == "all"
Requires-Dist: whatthepatch<2.0.0,>=1.0.2; extra == "all"
@@ -39,7 +39,7 @@
Provides-Extra: pyflakes
Requires-Dist: pyflakes<3.3.0,>=3.2.0; extra == "pyflakes"
Provides-Extra: pylint
-Requires-Dist: pylint<4,>=3.1; extra == "pylint"
+Requires-Dist: pylint<4.1.0,>=3.1; extra == "pylint"
Provides-Extra: rope
Requires-Dist: rope>=1.11.0; extra == "rope"
Provides-Extra: yapf
@@ -48,7 +48,7 @@
Provides-Extra: websockets
Requires-Dist: websockets>=10.3; extra == "websockets"
Provides-Extra: test
-Requires-Dist: pylint<4,>=3.1; extra == "test"
+Requires-Dist: pylint<4.1.0,>=3.1; extra == "test"
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Requires-Dist: coverage; extra == "test"
@@ -64,8 +64,7 @@
[](https://github.com/python-ls/python-ls/actions?query=workflow%3A%22Linux+tests%22)
[](https://github.com/python-ls/python-ls/actions?query=workflow%3A%22Mac+tests%22)
[](https://github.com/python-ls/python-ls/actions?query=workflow%3A%22Windows+tests%22)
[](https://github.com/python-ls/python-ls/blob/master/LICENSE)
-A Python 3.8+ implementation of the [Language Server
Protocol](https://github.com/Microsoft/language-server-protocol).
-(Note: versions <1.4 should still work with Python 3.6)
+A Python 3.9+ implementation of the [Language Server
Protocol](https://github.com/Microsoft/language-server-protocol).
## Installation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python_lsp_server-1.13.1/python_lsp_server.egg-info/requires.txt
new/python_lsp_server-1.14.0/python_lsp_server.egg-info/requires.txt
--- old/python_lsp_server-1.13.1/python_lsp_server.egg-info/requires.txt
2025-08-26 18:49:15.000000000 +0200
+++ new/python_lsp_server-1.14.0/python_lsp_server.egg-info/requires.txt
2025-12-06 17:11:39.000000000 +0100
@@ -15,7 +15,7 @@
pycodestyle<2.13.0,>=2.12.0
pydocstyle<6.4.0,>=6.3.0
pyflakes<3.3.0,>=3.2.0
-pylint<4,>=3.1
+pylint<4.1.0,>=3.1
rope>=1.11.0
yapf>=0.33.0
whatthepatch<2.0.0,>=1.0.2
@@ -39,13 +39,13 @@
pyflakes<3.3.0,>=3.2.0
[pylint]
-pylint<4,>=3.1
+pylint<4.1.0,>=3.1
[rope]
rope>=1.11.0
[test]
-pylint<4,>=3.1
+pylint<4.1.0,>=3.1
pytest
pytest-cov
coverage
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python_lsp_server-1.13.1/test/fixtures.py
new/python_lsp_server-1.14.0/test/fixtures.py
--- old/python_lsp_server-1.13.1/test/fixtures.py 2024-07-29
20:12:03.000000000 +0200
+++ new/python_lsp_server-1.14.0/test/fixtures.py 2025-12-06
16:53:29.000000000 +0100
@@ -177,3 +177,17 @@
).result(timeout=CALL_TIMEOUT_IN_SECONDS)
assert shutdown_response is None
client_server_pair_obj.client._endpoint.notify("exit")
+
+
[email protected]
+def workspace_with_signature_docstring_disabled(workspace) -> None:
+ workspace._config.update(
+ {
+ "signature": {
+ **workspace._config.settings().get("signature", {}),
+ "include_docstring": False,
+ },
+ }
+ )
+
+ yield workspace
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python_lsp_server-1.13.1/test/plugins/test_completion.py
new/python_lsp_server-1.14.0/test/plugins/test_completion.py
--- old/python_lsp_server-1.13.1/test/plugins/test_completion.py
2025-08-26 18:34:02.000000000 +0200
+++ new/python_lsp_server-1.14.0/test/plugins/test_completion.py
2025-12-03 19:38:36.000000000 +0100
@@ -181,7 +181,7 @@
assert items
- expected = "isabs(s)"
+ expected = "commonprefix(m)" if JEDI_VERSION < "0.19.2" else "isabs(s)"
assert items[0]["label"] == expected
# Test we don't throw with big character
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python_lsp_server-1.13.1/test/plugins/test_flake8_lint.py
new/python_lsp_server-1.14.0/test/plugins/test_flake8_lint.py
--- old/python_lsp_server-1.13.1/test/plugins/test_flake8_lint.py
2025-08-26 18:34:02.000000000 +0200
+++ new/python_lsp_server-1.14.0/test/plugins/test_flake8_lint.py
2025-12-04 18:18:58.000000000 +0100
@@ -126,7 +126,7 @@
with patch("pylsp.plugins.flake8_lint.Popen") as popen_mock:
mock_instance = popen_mock.return_value
mock_instance.communicate.return_value = [b"", b""]
- flake8_conf = "/tmp/some.cfg"
+ flake8_conf = "C:\\some.cfg" if os.name == "nt" else "/tmp/some.cfg"
workspace._config.update({"plugins": {"flake8": {"config":
flake8_conf}}})
_name, doc = temp_document(DOC, workspace)
flake8_lint.pylsp_lint(workspace, doc)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python_lsp_server-1.13.1/test/plugins/test_hover.py
new/python_lsp_server-1.14.0/test/plugins/test_hover.py
--- old/python_lsp_server-1.13.1/test/plugins/test_hover.py 2025-08-26
18:34:02.000000000 +0200
+++ new/python_lsp_server-1.14.0/test/plugins/test_hover.py 2025-12-06
16:53:29.000000000 +0100
@@ -143,3 +143,17 @@
contents = pylsp_hover(doc._config, doc, cursor_pos)["contents"]
assert "A docstring for foo." in contents["value"]
+
+
+def test_hover_without_docstring(workspace_with_signature_docstring_disabled)
-> None:
+ # Over 'main' in def main():
+ hov_position = {"line": 2, "character": 6}
+
+ doc = Document(DOC_URI, workspace_with_signature_docstring_disabled, DOC)
+
+ contents = {
+ "kind": "markdown",
+ "value": "```python\nmain(a: float, b: float)\n```\n",
+ }
+
+ assert {"contents": contents} == pylsp_hover(doc._config, doc,
hov_position)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python_lsp_server-1.13.1/test/plugins/test_signature.py
new/python_lsp_server-1.14.0/test/plugins/test_signature.py
--- old/python_lsp_server-1.13.1/test/plugins/test_signature.py 2024-07-29
20:12:03.000000000 +0200
+++ new/python_lsp_server-1.14.0/test/plugins/test_signature.py 2025-12-06
16:53:29.000000000 +0100
@@ -104,3 +104,17 @@
m = regex.match(doc)
assert m.group("param") == "test"
assert m.group("doc") == "parameter docstring"
+
+
+def test_signature_without_docstring(
+ workspace_with_signature_docstring_disabled,
+) -> None:
+ # Over '( ' in main(
+ sig_position = {"line": 10, "character": 5}
+ doc = Document(DOC_URI, workspace_with_signature_docstring_disabled, DOC)
+
+ sig_info = signature.pylsp_signature_help(doc._config, doc, sig_position)
+
+ sigs = sig_info["signatures"]
+ assert len(sigs) == 1
+ assert sigs[0]["documentation"] == {"kind": "markdown", "value": ""}