From 2f9d47935eca2090fce6187339258bd77be0c1a8 Mon Sep 17 00:00:00 2001 From: dalthviz <16781833+dalthviz@users.noreply.github.com> Date: Tue, 7 Nov 2023 18:12:08 -0500 Subject: [PATCH] git subrepo pull external-deps/python-lsp-server subrepo: subdir: "external-deps/python-lsp-server" merged: "4428a656c" upstream: origin: "https://github.com/python-lsp/python-lsp-server.git" branch: "develop" commit: "4428a656c" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" --- external-deps/python-lsp-server/.gitrepo | 4 +-- external-deps/python-lsp-server/CHANGELOG.md | 29 ++++++++++++++++++++ external-deps/python-lsp-server/README.md | 16 +++++------ 3 files changed, 39 insertions(+), 10 deletions(-) diff --git a/external-deps/python-lsp-server/.gitrepo b/external-deps/python-lsp-server/.gitrepo index 5b601fff00b..67ba5c8062f 100644 --- a/external-deps/python-lsp-server/.gitrepo +++ b/external-deps/python-lsp-server/.gitrepo @@ -6,7 +6,7 @@ [subrepo] remote = https://github.com/python-lsp/python-lsp-server.git branch = develop - commit = 5f53f8e7ecacaa2e2ea91bc8707729980dffc407 - parent = c2ba41d868c05ac8c0337037966c936f3d47fcf5 + commit = 4428a656c4271580d2720df9962f4e5a5669c026 + parent = a46c49949535e42c513cc597195d8dd017d3ede2 method = merge cmdver = 0.4.3 diff --git a/external-deps/python-lsp-server/CHANGELOG.md b/external-deps/python-lsp-server/CHANGELOG.md index eb9c7957afe..8c35d251f90 100644 --- a/external-deps/python-lsp-server/CHANGELOG.md +++ b/external-deps/python-lsp-server/CHANGELOG.md @@ -1,5 +1,34 @@ # History of changes +## Version 1.9.0 (2023/11/06) + +### Issues Closed + +* [Issue 460](https://github.com/python-lsp/python-lsp-server/issues/460) - rope_autoimport doesn't initialize after `workspace/didChangeConfiguration` message ([PR 461](https://github.com/python-lsp/python-lsp-server/pull/461) by [@tkrabel-db](https://github.com/tkrabel-db)) +* [Issue 403](https://github.com/python-lsp/python-lsp-server/issues/403) - Add code action for implementing auto-import ([PR 471](https://github.com/python-lsp/python-lsp-server/pull/471) by [@tkrabel-db](https://github.com/tkrabel-db)) +* [Issue 195](https://github.com/python-lsp/python-lsp-server/issues/195) - Maybe use initializationOptions as additional source of settings ([PR 459](https://github.com/python-lsp/python-lsp-server/pull/459) by [@tkrabel-db](https://github.com/tkrabel-db)) + +In this release 3 issues were closed. + +### Pull Requests Merged + +* [PR 481](https://github.com/python-lsp/python-lsp-server/pull/481) - Revert "Rename `_utils` module to `utils`", by [@ccordoba12](https://github.com/ccordoba12) +* [PR 480](https://github.com/python-lsp/python-lsp-server/pull/480) - Rename `_utils` module to `utils`, by [@ccordoba12](https://github.com/ccordoba12) +* [PR 475](https://github.com/python-lsp/python-lsp-server/pull/475) - Raise supported Pylint upper version, by [@bnavigator](https://github.com/bnavigator) +* [PR 473](https://github.com/python-lsp/python-lsp-server/pull/473) - Improve/simplify README Development section, by [@tkrabel](https://github.com/tkrabel) +* [PR 471](https://github.com/python-lsp/python-lsp-server/pull/471) - Add code completions to `rope_autoimport` plugin, by [@tkrabel-db](https://github.com/tkrabel-db) ([403](https://github.com/python-lsp/python-lsp-server/issues/403)) +* [PR 469](https://github.com/python-lsp/python-lsp-server/pull/469) - Pass argument `extendIgnore` to flake8, by [@UnkwUsr](https://github.com/UnkwUsr) +* [PR 466](https://github.com/python-lsp/python-lsp-server/pull/466) - Ignore notebook names on cell completion for autoimport, by [@tkrabel-db](https://github.com/tkrabel-db) +* [PR 464](https://github.com/python-lsp/python-lsp-server/pull/464) - Minor bug fix in Rope autoimport plugin, by [@tkrabel-db](https://github.com/tkrabel-db) +* [PR 462](https://github.com/python-lsp/python-lsp-server/pull/462) - Make workspace/didChangeConfig work with notebook documents, by [@tkrabel-db](https://github.com/tkrabel-db) +* [PR 461](https://github.com/python-lsp/python-lsp-server/pull/461) - Load `rope_autoimport` cache on `workspace/didChangeConfiguration`, by [@tkrabel-db](https://github.com/tkrabel-db) ([460](https://github.com/python-lsp/python-lsp-server/issues/460)) +* [PR 459](https://github.com/python-lsp/python-lsp-server/pull/459) - Support `initializationOptions` to configure the server, by [@tkrabel-db](https://github.com/tkrabel-db) ([195](https://github.com/python-lsp/python-lsp-server/issues/195)) +* [PR 457](https://github.com/python-lsp/python-lsp-server/pull/457) - Fix missing signatures for docstrings in Markdown, by [@staticf0x](https://github.com/staticf0x) + +In this release 12 pull requests were closed. + +---- + ## Version 1.8.2 (2023/10/09) ### Issues Closed diff --git a/external-deps/python-lsp-server/README.md b/external-deps/python-lsp-server/README.md index 2e2c7218ab5..842cdbadd85 100644 --- a/external-deps/python-lsp-server/README.md +++ b/external-deps/python-lsp-server/README.md @@ -48,7 +48,7 @@ pip install -U setuptools If you use Anaconda/Miniconda, you can install `python-lsp-server` using this conda command ``` -conda install -c conda-forge python-lsp-server +conda install -c conda-forge python-lsp-server ``` Python-lsp-server is available in the repos of every major Linux distribution, and it is usually called `python-lsp-server` or `python3-pylsp`. @@ -164,25 +164,25 @@ pip install 'python-lsp-server[websockets]' Dev install ``` -# create conda env -conda create --name python-lsp-server python=3.8 -y +# (optional) create conda env +conda create --name python-lsp-server python=3.11 -y conda activate python-lsp-server -pip install ".[all]" -pip install ".[websockets]" +pip install -e ".[all,websockets,test]" ``` Run server with ws ``` -pylsp --ws -v # Info level logging -pylsp --ws -v -v # Debug level logging +pylsp --ws -v # Info level logging +pylsp --ws -vv # Debug level logging ``` To run the test suite: ```sh -pip install ".[test]" && pytest +# requires: pip install ".[test]" (see above) +pytest ``` After adding configuration options to `schema.json`, refresh the `CONFIGURATION.md` file with