1
0

86 Commits

Author SHA256 Message Date
0390bc17b0 Accepting request 1281204 from devel:languages:python
- Bump flake8 dependencies
- Remove PyQt5 test dependency and skip the one test using it (forwarded request 1281203 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1281204
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=41
2025-05-30 12:38:35 +00:00
2abf218707 - Bump flake8 dependencies
- Remove PyQt5 test dependency and skip the one test using it

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=77
2025-05-29 19:08:32 +00:00
5c4f378a18 Accepting request 1273177 from devel:languages:python
- update to 1.12.2:
  * PR 608 - Fix putting `extra_paths` in front of `sys.path`

OBS-URL: https://build.opensuse.org/request/show/1273177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=40
2025-04-29 14:40:11 +00:00
f867b85623 - update to 1.12.2:
* PR 608 - Fix putting `extra_paths` in front of `sys.path`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=75
2025-04-28 14:35:42 +00:00
e4193bae85 Accepting request 1244499 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1244499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=39
2025-02-09 19:08:05 +00:00
9ac4376355 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=73 2025-02-09 14:57:43 +00:00
3427d9fcfd - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=72
2025-02-09 14:47:50 +00:00
693a096749 Accepting request 1233320 from devel:languages:python
- Add pylsp-issues-602-605.patch
  * Changed fuzzy jedi completion
    gh#python-lsp/python-lsp-server#602
  * Disable DEBUG logging for tests
    gh#python-lsp/python-lsp-server#605

OBS-URL: https://build.opensuse.org/request/show/1233320
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=38
2024-12-26 11:24:27 +00:00
def90ee4a5 - Add pylsp-issues-602-605.patch
* Changed fuzzy jedi completion
    gh#python-lsp/python-lsp-server#602
  * Disable DEBUG logging for tests
    gh#python-lsp/python-lsp-server#605

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=70
2024-12-25 10:24:30 +00:00
f85c74a1d8 Accepting request 1225060 from devel:languages:python
- add unpin-autopep8.patch

OBS-URL: https://build.opensuse.org/request/show/1225060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=37
2024-11-19 21:23:19 +00:00
92b02ed8b8 - add unpin-autopep8.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=68
2024-11-19 10:52:20 +00:00
97e2b7946f Accepting request 1199483 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1199483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=36
2024-09-09 12:45:27 +00:00
b337e9997d Accepting request 1197468 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1197468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=35
2024-08-30 11:32:02 +00:00
4a94b3c7cf - Update to 1.12.0
* Add support for window/logMessage.
  * Add version support to workspace/publishDiagnostics.
  * Add extendSelect option to flake8 plugin.
  * Allow Jedi's extra_paths to be placed in front of sys.path.
  * Bump flake8 to 7.1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=64
2024-08-29 14:17:06 +00:00
ffccde08e8 Accepting request 1186838 from devel:languages:python
- Bump flake8 to 7.1 and it's pinning pycodestyle to 2.12.0 (forwarded request 1186837 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1186838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=34
2024-07-11 18:33:23 +00:00
4dc539c50a - Bump flake8 to 7.1 and it's pinning pycodestyle to 2.12.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=62
2024-07-11 10:49:36 +00:00
dff524b11c Accepting request 1167873 from devel:languages:python
- Update to 1.11.0
  * Remove the rope_rename plugin. People that were using it need
    to install the pylsp-rope third-party plugin instead.
  * Add support for Pylint 3.1
- Drop pylsp-pr543-pylint3.1.patch (forwarded request 1167872 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1167873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=33
2024-04-16 18:03:58 +00:00
1dcc9c30f1 Accepting request 1167872 from home:bnavigator:spyder
- Update to 1.11.0
  * Remove the rope_rename plugin. People that were using it need
    to install the pylsp-rope third-party plugin instead.
  * Add support for Pylint 3.1
- Drop pylsp-pr543-pylint3.1.patch

OBS-URL: https://build.opensuse.org/request/show/1167872
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=60
2024-04-15 18:55:31 +00:00
4ceddd5f14 Accepting request 1163540 from devel:languages:python
- Add pylsp-pr543-pylint3.1.patch
  gh#python-lsp/python-lsp-server#531

OBS-URL: https://build.opensuse.org/request/show/1163540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=32
2024-04-02 14:40:18 +00:00
6bf6bf6166 Accepting request 1163514 from home:bnavigator:spyder
- Add pylsp-pr543-pylint3.1.patch
  gh#python-lsp/python-lsp-server#531

OBS-URL: https://build.opensuse.org/request/show/1163514
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=58
2024-03-29 10:56:49 +00:00
609ba53435 Accepting request 1158465 from devel:languages:python
- update to 1.10.1:
  * Issue 529 - Autoimports: sqlite3.OperationalError: database
    is locked (PR 530 by @last-partizan)

- Update to 1.4.0
  * Community maintained replacement for

OBS-URL: https://build.opensuse.org/request/show/1158465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=31
2024-03-17 21:15:03 +00:00
5f807ea904 - update to 1.10.1:
* Issue 529 - Autoimports: sqlite3.OperationalError: database
    is locked (PR 530 by @last-partizan)
- Update to 1.4.0
  * Community maintained replacement for

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=56
2024-03-16 12:52:32 +00:00
64b46d3116 Accepting request 1154296 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1154296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=30
2024-03-02 22:24:08 +00:00
c5dc576445 Accepting request 1154286 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.10.0
  * Add support for notebook document completions.
  * Add support for flake8 version 7.
- Drop python-lsp-server-pr510-flake8-7.patch

OBS-URL: https://build.opensuse.org/request/show/1154286
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=54
2024-03-02 11:49:21 +00:00
1a9f18b0cb Accepting request 1137147 from devel:languages:python
- Bump to flake8 v7 gh#python-lsp/python-lsp-server#510
  * python-lsp-server-pr510-flake8-7.patch (forwarded request 1137146 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1137147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=29
2024-01-06 17:09:25 +00:00
605150fde0 Accepting request 1137146 from home:bnavigator:branches:devel:languages:python
- Bump to flake8 v7 gh#python-lsp/python-lsp-server#510
  * python-lsp-server-pr510-flake8-7.patch

OBS-URL: https://build.opensuse.org/request/show/1137146
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=52
2024-01-05 18:51:32 +00:00
db4614d56a Accepting request 1128646 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1128646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=28
2023-11-24 22:35:41 +00:00
1606f02264 Accepting request 1128643 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.9.0
  * Support initializationOptions to configure the server.
  * Add code completions to the autoimport plugin.
  * Add support for Pylint 3.
  * Pass extendIgnore argument to Flake8.
  * Add new pylsp_workspace_configuration_changed hookspec so that
    plugins can react when client sends a configuration change to
    the server.

OBS-URL: https://build.opensuse.org/request/show/1128643
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=50
2023-11-24 20:46:38 +00:00
c4be974c15 Accepting request 1124753 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1124753
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=27
2023-11-10 11:33:13 +00:00
fc8a289c29 Accepting request 1124747 from home:gcomes.obs
- add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1124747
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=48
2023-11-09 22:15:06 +00:00
4ffa038dbe Accepting request 1121662 from devel:languages:python
- Fix runtime requirements

OBS-URL: https://build.opensuse.org/request/show/1121662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=26
2023-11-01 21:10:18 +00:00
f1eefb0ea5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=46 2023-11-01 16:42:20 +00:00
bd774a8fac Accepting request 1121659 from home:bnavigator:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1121659
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=45
2023-11-01 16:17:46 +00:00
0bb11fc856 Accepting request 1121006 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1121006
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=25
2023-10-29 18:42:05 +00:00
f602bd0e4c Accepting request 1121005 from home:bnavigator:branches:devel:languages:python
- Update to 1.8.2
  * Fixes the notebook document selector property not being a list in the server capabilities.
- Release 1.8.1
  * Fixes go-to-definition for Numpy methods.
  * Allows Jedi to perform multiple hops for "go to definition".
  * Fixes an error with Flake8 when deleting lines.
- Raise pylint upper pin to 3.1
- Update to 1.8.0
  * Add support for notebooks and make go-to-definition work for
    them.
  * Add support for Pyflakes 3.1, Pycodestyle 2.11 and Jedi 0.19.
  * Drop support for Python 3.7.
- Drop patches upstreeam
  * Drop python-lsp-server-pr415-flake8deps.patch
  * Drop python-lsp-server-pr416-jedi-0.19.patch

OBS-URL: https://build.opensuse.org/request/show/1121005
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=43
2023-10-29 15:11:43 +00:00
294bdfa0d3 Accepting request 1103622 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1103622
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=24
2023-08-15 14:39:55 +00:00
d4dcc2baf4 Accepting request 1103621 from home:bnavigator:branches:devel:languages:python
- Add python-lsp-server-pr415-flake8deps.patch
  gh#python-lsp/python-lsp-server#415
- Add python-lsp-server-pr416-jedi-0.19.patch
  gh#python-lsp/python-lsp-server#416

OBS-URL: https://build.opensuse.org/request/show/1103621
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=41
2023-08-12 18:12:21 +00:00
1ef4d65fa9 Accepting request 1096293 from devel:languages:python
- Update to 1.7.4
  * Fixes token initialization when reporting progress.
  * Resolves home dir references in Jedi environment path.
  * Fixes Pylint hanging on files with many errors.
- Release 1.7.3
  * Adds support for Yapf 0.33
    (upstreamed python-lsp-server-pr377-unpin-yapf.patch)
  * Fix an empty current working directory value for Pylint

OBS-URL: https://build.opensuse.org/request/show/1096293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=23
2023-07-01 21:18:31 +00:00
09e8f83fee - Update to 1.7.4
* Fixes token initialization when reporting progress.
  * Resolves home dir references in Jedi environment path.
  * Fixes Pylint hanging on files with many errors.
- Release 1.7.3
  * Adds support for Yapf 0.33
    (upstreamed python-lsp-server-pr377-unpin-yapf.patch)
  * Fix an empty current working directory value for Pylint

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=39
2023-07-01 13:44:30 +00:00
7dc9de5d2b Accepting request 1085800 from devel:languages:python
- Unpin yapf
  * Add python-lsp-server-pr377-unpin-yapf.patch
  * gh#python-lsp/python-lsp-server#377

OBS-URL: https://build.opensuse.org/request/show/1085800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=22
2023-05-10 14:18:11 +00:00
f64c770530 - Unpin yapf
* Add python-lsp-server-pr377-unpin-yapf.patch
  * gh#python-lsp/python-lsp-server#377

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=37
2023-05-09 20:17:42 +00:00
721a0f7301 Accepting request 1083326 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1083326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=21
2023-04-28 14:23:25 +00:00
976717d123 Accepting request 1083325 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.7.2
  * Initializes LSP progress token before using it and remove
    progress for sync plugins.
  * Adds support for pydocstyle 6.3
  * Adds support for autopep8 2
- Drop pylsp-pr340-pydocstyle-6.3.patch
- Drop pylsp-pr345-autopep8-2.patch

OBS-URL: https://build.opensuse.org/request/show/1083325
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=35
2023-04-27 19:15:12 +00:00
10792a7da4 Accepting request 1060982 from devel:languages:python
- Allow 1.6.0 <= autopep8 < 2.1
  * Add pylsp-pr345-autopep8-2.patch
  * gh#python-lsp/python-lsp-server#345
- Fix yapf requirement for toml
  * gh#python-lsp/python-lsp-server#346 (forwarded request 1060981 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1060982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=20
2023-01-26 12:57:36 +00:00
99b7a6a1b1 Accepting request 1060981 from home:bnavigator:branches:devel:languages:python
- Allow 1.6.0 <= autopep8 < 2.1
  * Add pylsp-pr345-autopep8-2.patch
  * gh#python-lsp/python-lsp-server#345
- Fix yapf requirement for toml
  * gh#python-lsp/python-lsp-server#346

OBS-URL: https://build.opensuse.org/request/show/1060981
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=33
2023-01-25 16:32:10 +00:00
ffd7d60c08 Accepting request 1059822 from devel:languages:python
- Update to 1.7.1
  * Fixes an error with the Pydocstyle 6.2.0+
  * Includes missing Pylint "information" category.
  * Improves Jedi file completions for directories.
- Drop python-lsp-server-pr327-sys-executable.patch
- Add pylsp-pr340-pydocstyle-6.3.patch
  gh#python-lsp/python-lsp-server#340 (forwarded request 1059821 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1059822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=19
2023-01-20 16:38:34 +00:00
e8be8ee9ed Accepting request 1059821 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.7.1
  * Fixes an error with the Pydocstyle 6.2.0+
  * Includes missing Pylint "information" category.
  * Improves Jedi file completions for directories.
- Drop python-lsp-server-pr327-sys-executable.patch
- Add pylsp-pr340-pydocstyle-6.3.patch
  gh#python-lsp/python-lsp-server#340

OBS-URL: https://build.opensuse.org/request/show/1059821
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=31
2023-01-19 16:03:08 +00:00
52b07be9a2 Accepting request 1045989 from devel:languages:python
- Update to 1.7.0
  * Add a new plugin to provide autoimport functionality (disabled
    by default).
  * Add progress reporting.
  * Make jedi_definition plugin follow definitions to pyi files.
  * Add support for flake8 version 6.
  * Add support for Yapf ignore patterns.
  * Add mccabe setting to flake8 plugin.
- Drop python-lsp-server-pr316-flake8v6.patch upstreamed
  * gh#python-lsp/python-lsp-server#316
- Add python-lsp-server-pr327-sys-executable.patch
  * gh#python-lsp/python-lsp-server#327 (forwarded request 1045987 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1045989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=18
2023-01-03 17:00:32 +00:00
9194a44777 Accepting request 1045987 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.7.0
  * Add a new plugin to provide autoimport functionality (disabled
    by default).
  * Add progress reporting.
  * Make jedi_definition plugin follow definitions to pyi files.
  * Add support for flake8 version 6.
  * Add support for Yapf ignore patterns.
  * Add mccabe setting to flake8 plugin.
- Drop python-lsp-server-pr316-flake8v6.patch upstreamed
  * gh#python-lsp/python-lsp-server#316
- Add python-lsp-server-pr327-sys-executable.patch
  * gh#python-lsp/python-lsp-server#327

OBS-URL: https://build.opensuse.org/request/show/1045987
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=29
2023-01-01 10:41:21 +00:00
3677845249 Accepting request 1043823 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1043823
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=17
2022-12-20 19:20:41 +00:00
345e2a2895 Accepting request 1043822 from home:bnavigator:branches:devel:languages:python
- add python-lsp-server-pr316-flake8v6.patch
  gh#python-lsp/python-lsp-server#316

OBS-URL: https://build.opensuse.org/request/show/1043822
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=27
2022-12-19 21:51:43 +00:00
8797cf248b Accepting request 1034140 from devel:languages:python
- Update to 1.6.0
  * Migrate to MarkupContent and convert docstrings to Markdown by
    default.
  * Add support for flake8 version 5.
  * Add function objects to Jedi completions.
  * Don't include class and functions objects by default in Jedi
    completions.
- Drop patches
  * python-lsp-server-advanceflake8.patch
  * python-lsp-server-pylint-syntax-error.patch

OBS-URL: https://build.opensuse.org/request/show/1034140
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=16
2022-11-07 12:52:07 +00:00
3a227d8b3d Accepting request 1033864 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.6.0
  * Migrate to MarkupContent and convert docstrings to Markdown by
    default.
  * Add support for flake8 version 5.
  * Add function objects to Jedi completions.
  * Don't include class and functions objects by default in Jedi
    completions.
- Drop patches
  * python-lsp-server-advanceflake8.patch
  * python-lsp-server-pylint-syntax-error.patch

OBS-URL: https://build.opensuse.org/request/show/1033864
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=25
2022-11-06 15:28:27 +00:00
e2a5077513 Accepting request 999569 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/999569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=15
2022-08-28 11:12:29 +00:00
bb72266182 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=23 2022-08-27 18:58:12 +00:00
769d606dbb Accepting request 999568 from home:bnavigator:branches:devel:languages:python
- Add python-lsp-server-advanceflake8.patch
  * gh#python-lsp/python-lsp-server#257
- Add python-lsp-server-pylint-syntax-error.patch
  * gh#python-lsp/python-lsp-server#258

OBS-URL: https://build.opensuse.org/request/show/999568
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=22
2022-08-27 13:41:24 +00:00
2ac4f7e0dc Accepting request 991046 from devel:languages:python
- Update to 1.5.0
  * Add DiagnosticTag tags for Pylint, Pycodestyle, and Flake8
    plugins.
  * Add support to connect to the server through websockets.
  * Allow multiple per-file-ignores for the same pattern in Flake8
    plugin.
  * Parse YAPF diffs into TextEdits.
  * Add support for LSP formatting options parameter.
- Entry point installation require setuptools 61.2, switch to
  PEP517
- Test suite: flavored alternatives are provided by the %pytest
  macro now. Remove extra pylint testbin setup.

OBS-URL: https://build.opensuse.org/request/show/991046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=14
2022-08-08 08:02:30 +00:00
d8fde0eeac Accepting request 991039 from home:bnavigator:branches:devel:languages:python
- Update to 1.5.0
  * Add DiagnosticTag tags for Pylint, Pycodestyle, and Flake8
    plugins.
  * Add support to connect to the server through websockets.
  * Allow multiple per-file-ignores for the same pattern in Flake8
    plugin.
  * Parse YAPF diffs into TextEdits.
  * Add support for LSP formatting options parameter.
- Entry point installation require setuptools 61.2, switch to
  PEP517
- Test suite: flavored alternatives are provided by the %pytest
  macro now. Remove extra pylint testbin setup.

OBS-URL: https://build.opensuse.org/request/show/991039
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=20
2022-07-25 13:08:38 +00:00
86955052a1 Accepting request 968058 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/968058
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=13
2022-04-09 22:42:18 +00:00
00e835842c Accepting request 968057 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.4.1
  * Fixes Yapf formatting with CRLF line endings.

OBS-URL: https://build.opensuse.org/request/show/968057
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=18
2022-04-09 20:59:13 +00:00
1bf8484031 Accepting request 964861 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/964861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=12
2022-03-25 20:55:00 +00:00
33cbd21ff5 Accepting request 964860 from home:bnavigator:branches:devel:languages:python
- Update to 1.4.0 
  * Support pycodestyle indent-size option
  * Add DiagnosticTag constants from LSP 3.15
  * Drop support for Python 3.6

OBS-URL: https://build.opensuse.org/request/show/964860
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=16
2022-03-25 13:28:25 +00:00
48c54782a8 Accepting request 944960 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/944960
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=11
2022-01-09 21:50:09 +00:00
176a343284 Accepting request 944959 from home:bnavigator:branches:devel:languages:python
- Provide pylint in correct flavor for test
- Cleanup python36 flavor conditionals

OBS-URL: https://build.opensuse.org/request/show/944959
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=15
2022-01-08 22:08:57 +00:00
ce58709f09 Accepting request 941532 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/941532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=10
2021-12-20 20:06:12 +00:00
383b9c3161 Accepting request 941531 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.3.3
  * Fix error when resolving completion items for Rope
- Drop python-lsp-server-pr133-pylint-python310.patch merged

OBS-URL: https://build.opensuse.org/request/show/941531
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=14
2021-12-19 18:49:34 +00:00
cdf3d21717 Accepting request 939985 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/939985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=9
2021-12-11 23:57:54 +00:00
9524c8709f Accepting request 939983 from home:bnavigator:branches:devel:languages:python
- Update to 1.3.2
  * Fix formatting a log message
- Add python-lsp-server-pr133-pylint-python310.patch

OBS-URL: https://build.opensuse.org/request/show/939983
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=13
2021-12-11 21:29:01 +00:00
dce60cfc35 Accepting request 934152 from devel:languages:python
- Update to 1.3.1
  * Fix tests for Jedi 0.18.1
  * Option `jedi_completion.resolve_at_most_labels` was renamed to
    `jedi_completion.resolve_at_most` because now it controls how
    many labels and snippets will be resolved per request.
  * Option `jedi_completion.cache_labels_for` was renamed to
    `jedi_completion.cache_for` because now it controls the modules
    for which labels and snippets should be cached.
  * Update requirements on Pylint, flake8, pycodestyle, pyflakes
    and autopep8.
- Drop python-lsp-server-pr102-unpin-flake8.patch

OBS-URL: https://build.opensuse.org/request/show/934152
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=8
2021-11-26 23:51:46 +00:00
5d0d6859cd OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=12 2021-11-26 18:52:25 +00:00
ca6c237c55 Accepting request 934148 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.3.1
  * Fix tests for Jedi 0.18.1
  * Option `jedi_completion.resolve_at_most_labels` was renamed to
    `jedi_completion.resolve_at_most` because now it controls how
    many labels and snippets will be resolved per request.
  * Option `jedi_completion.cache_labels_for` was renamed to
    `jedi_completion.cache_for` because now it controls the modules
    for which labels and snippets should be cached.
  * Update requirements on Pylint, flake8, pycodestyle, pyflakes
    and autopep8.
- Drop python-lsp-server-pr102-unpin-flake8.patch

OBS-URL: https://build.opensuse.org/request/show/934148
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=11
2021-11-26 18:49:41 +00:00
a6bd252deb Accepting request 932680 from devel:languages:python
- Fix pyflakes python-lsp-server-pr102-unpin-flake8.patch

OBS-URL: https://build.opensuse.org/request/show/932680
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=7
2021-11-20 21:48:04 +00:00
5ce5e5518c - Fix pyflakes python-lsp-server-pr102-unpin-flake8.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=10
2021-11-20 19:59:11 +00:00
04be595b37 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=9 2021-11-20 19:57:42 +00:00
dbd8076241 Accepting request 931426 from devel:languages:python
- Add python-lsp-server-pr102-unpin-flake8.patch with excessive
  BR pinning of other optional dependencies (forwarded request 931425 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/931426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=6
2021-11-15 14:26:45 +00:00
9cfee747ce Accepting request 931425 from home:bnavigator:branches:devel:languages:python
- Add python-lsp-server-pr102-unpin-flake8.patch with excessive
  BR pinning of other optional dependencies

OBS-URL: https://build.opensuse.org/request/show/931425
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=7
2021-11-14 20:22:29 +00:00
12da5fc897 Accepting request 927855 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/927855
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=5
2021-10-28 16:31:20 +00:00
051dcd7264 Accepting request 927779 from home:bnavigator:branches:devel:languages:python
- Update to version 1.2.4
  * Pin flake8 to be less than version 4.
  * Fix a pylint test when PyLsp is not installed.

OBS-URL: https://build.opensuse.org/request/show/927779
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=6
2021-10-27 19:54:40 +00:00
b3e2aedadc Accepting request 922895 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/922895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=4
2021-10-04 16:40:25 +00:00
9ebbb45a62 Accepting request 922891 from home:bnavigator:branches:devel:languages:python
- Unpin pylint gh#python-lsp/python-lsp-server#94

OBS-URL: https://build.opensuse.org/request/show/922891
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=5
2021-10-03 21:19:54 +00:00
50d4d16c77 Accepting request 915773 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/915773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=3
2021-09-02 21:20:23 +00:00
5b02773348 Accepting request 915756 from home:bnavigator:branches:devel:languages:python
- Update to version 1.2.2
  * Improves the way we skip symbols imported from other libraries.
  * Add a constrain on Pylint (< 2.10) until we figure out how to
    support it.
- Reflect the above upper pinning for python-pylint in Suggests
  and Conflicts in order to prevent updates on live systems as soon
  as pylint is updated in Factory

OBS-URL: https://build.opensuse.org/request/show/915756
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=4
2021-09-02 13:41:30 +00:00
caef11e500 Accepting request 910382 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/910382
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=2
2021-08-06 20:44:46 +00:00
6516f6efe9 Accepting request 910377 from home:bnavigator:branches:devel:languages:python:numeric
- Update to version 1.2.1
  * Implement completion item resolve requests for faster
    completions.
  * Initialize workspaces from the initialize request.
  * Catch errors when getting docstrings on _resolve_completion

OBS-URL: https://build.opensuse.org/request/show/910377
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=3
2021-08-05 23:41:14 +00:00
739d4c2ead Accepting request 906355 from devel:languages:python
python-lsp-server is the community replacement for python-language-server abandoned by Palantir

OBS-URL: https://build.opensuse.org/request/show/906355
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=1
2021-07-16 20:12:52 +00:00
52cdec8513 Accepting request 906135 from home:bnavigator:branches:devel:languages:python
new fork to replace Palantir's abandoned version. No conflicting namespaces.

OBS-URL: https://build.opensuse.org/request/show/906135
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=1
2021-07-14 14:49:31 +00:00
6 changed files with 84 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:89edd6fb3f7852e4bf5a3d1d95ea41484d1a28fa94b6e3cbff12b9db123b8e86
size 113347

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Thu May 29 18:57:12 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Bump flake8 dependencies
- Remove PyQt5 test dependency and skip the one test using it
-------------------------------------------------------------------
Mon Apr 28 14:35:30 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 1.12.2:
* PR 608 - Fix putting `extra_paths` in front of `sys.path`
-------------------------------------------------------------------
Sun Feb 9 14:02:20 UTC 2025 - Ben Greiner <code@bnavigator.de>
- 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 <code@bnavigator.de>
- Add pylsp-issues-602-605.patch
* Changed fuzzy jedi completion
gh#python-lsp/python-lsp-server#602
* Disable DEBUG logging for tests
gh#python-lsp/python-lsp-server#605
-------------------------------------------------------------------
Tue Nov 19 10:52:11 UTC 2024 - Dirk Müller <dmueller@suse.com>
- add unpin-autopep8.patch
-------------------------------------------------------------------
Sun Sep 8 16:08:18 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -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,14 +17,14 @@
%{?sle15_python_module_pythons}
Name: python-python-lsp-server
Version: 1.12.0
Version: 1.12.2
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
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 61.2}
@ -33,9 +33,7 @@ BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros >= 20210628
# SECTION test requirements
BuildRequires: %{python_module docstring-to-markdown}
BuildRequires: %{python_module PyQt5}
BuildRequires: %{python_module autopep8 >= 2.0.4 with %python-autopep8 < 2.1.0}
BuildRequires: %{python_module flake8 >= 7.1 with %python-flake8 < 8}
BuildRequires: %{python_module autopep8 >= 2.0.4}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module importlib_metadata > 4.8.3 if %python-base < 3.10}
BuildRequires: %{python_module jedi >= 0.17.2 with %python-jedi < 0.20}
@ -51,6 +49,11 @@ BuildRequires: %{python_module rope >= 1.2.0}
BuildRequires: %{python_module ujson >= 3.0.0}
BuildRequires: %{python_module whatthepatch >= 1.0.2 with %python-whatthepatch < 2}
BuildRequires: %{python_module yapf >= 0.33}
# flake8 is special, see below
BuildRequires: %{python_module flake8 >= 7.2 with %python-flake8 < 8}
BuildRequires: %{python_module mccabe >= 0.7.0 with %python-mccabe < 0.8.0}
BuildRequires: %{python_module pycodestyle >= 2.13.0 with %python-pycodestyle < 2.14.0}
BuildRequires: %{python_module pyflakes >= 3.3.0 with %python-pyflakes < 3.4.0}
# /SECTION
BuildRequires: fdupes
Requires: python-docstring-to-markdown
@ -85,17 +88,18 @@ will be enabled:
%package all
Summary: The python-lsp-server[all] extra
# Note: check flake8 pins as well
Requires: python-autopep8 >= 2.0.4
Requires: python-rope >= 1.2.0
Requires: python-yapf >= 0.33
Requires: (python-autopep8 >= 2.0.4 with python-autopep8 < 2.1.0)
Requires: (python-flake8 >= 7.1 with python-flake8 < 8)
Requires: (python-mccabe >= 0.7.0 with python-mccabe < 0.8.0)
Requires: (python-pycodestyle >= 2.12.0 with python-pycodestyle < 2.13.0)
Requires: (python-pydocstyle >= 6.3.0 with python-pydocstyle < 6.4.0)
Requires: (python-pyflakes >= 3.2.0 with python-pyflakes < 3.3.0)
Requires: (python-pycodestyle >= 2.13.0 with python-pycodestyle < 2.14.0)
Requires: (python-pylint >= 3.1 with python-pylint < 4)
Requires: (python-whatthepatch >= 1.0.2 with python-whatthepatch < 2)
# Let's bump this in sync with flake8 and ignore pylsp upstream being still behind
# https://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
Requires: (python-flake8 >= 7.2 with python-flake8 < 8)
Requires: (python-mccabe >= 0.7.0 with python-mccabe < 0.8.0)
Requires: (python-pydocstyle >= 6.3.0 with python-pydocstyle < 6.4.0)
Requires: (python-pyflakes >= 3.3.0 with python-pyflakes < 3.4.0)
%description all
Python Language Server for the Language Server Protocol
@ -107,6 +111,11 @@ python-lsp-server[all] extra requirement
%autosetup -p1 -n python_lsp_server-%{version}
# Remove pytest addopts
sed -i '/addopts/d' pyproject.toml
# see flake8 comment above
sed -i pyproject.toml \
-e 's/flake8>=7.1,<8/flake8>=7.2,<8/' \
-e 's/pycodestyle>=2.12.0,<2.13.0/pycodestyle>=2.13.0,<2.14.0/' \
-e 's/pyflakes>=3.2.0,<3.3.0/pyflakes>=3.3.0,<3.4.0/'
%build
%pyproject_wheel
@ -117,7 +126,8 @@ sed -i '/addopts/d' pyproject.toml
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
# PyQt5 not maintained anymore. Reenable when upstream moves to PyQt6
%pytest -k "not test_pyqt_completion"
%post
%python_install_alternative pylsp

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b6a336f128da03bd9bac1e61c3acca6e84242b8b31055a1ccf49d83df9dc053b
size 114328

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fea039a36b3132774d0f803671184cf7dde0c688e7b924f23a6359a66094126d
size 115054

22
unpin-autopep8.patch Normal file
View File

@ -0,0 +1,22 @@
Index: python_lsp_server-1.12.0/pyproject.toml
===================================================================
--- python_lsp_server-1.12.0.orig/pyproject.toml
+++ python_lsp_server-1.12.0/pyproject.toml
@@ -27,7 +27,7 @@ Homepage = "https://github.com/python-ls
[project.optional-dependencies]
all = [
- "autopep8>=2.0.4,<2.1.0",
+ "autopep8>=2.0.4",
"flake8>=7.1,<8",
"mccabe>=0.7.0,<0.8.0",
"pycodestyle>=2.12.0,<2.13.0",
@@ -38,7 +38,7 @@ all = [
"yapf>=0.33.0",
"whatthepatch>=1.0.2,<2.0.0"
]
-autopep8 = ["autopep8>=2.0.4,<2.1.0"]
+autopep8 = ["autopep8>=2.0.4"]
flake8 = ["flake8>=7.1,<8"]
mccabe = ["mccabe>=0.7.0,<0.8.0"]
pycodestyle = ["pycodestyle>=2.12.0,<2.13.0"]