Skip to content

Commit 6d2a0d9

Browse files
authored
Prepare jupyter-lsp 2.3.0 release (#1153)
* Prepare `jupyter-lsp` 2.3.0 release * Try using `PythonModuleSpec` for pyright, lint * Try to split installation * Uninstall jupyter_lsp before reinstalling * Add '-y' flag to pip uninstall command * Revert unnecessary changes
1 parent f06ea93 commit 6d2a0d9

File tree

6 files changed

+13
-6
lines changed

6 files changed

+13
-6
lines changed

.github/workflows/job.test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,9 @@ jobs:
278278
path: ./dist
279279

280280
- name: Install python packages
281-
run: python -m pip install --find-links=dist --no-index --ignore-installed --no-deps jupyter_lsp jupyterlab_lsp
281+
run: |
282+
python -m pip uninstall jupyter_lsp -y
283+
python -m pip install --find-links=dist --no-index --ignore-installed --no-deps jupyter_lsp jupyterlab_lsp
282284
283285
- name: Install Klingon file type extension and server specification (for testing languages without language servers)
284286
run: python -m pip install --find-links=dist --no-index --ignore-installed --no-deps klingon_ls_specification

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
## Changelog
22

3-
### `jupyter-lsp (next)`
3+
### `jupyter-lsp 2.3.0`
44

55
- features:
66
- add auto-detection of Pyrefly language server ([#1136](https://github.com/jupyter-lsp/jupyterlab-lsp/issues/1136))
7+
- add auto-detection of basedpyright language server ([#1152](https://github.com/jupyter-lsp/jupyterlab-lsp/issues/1152))
78

89
### `@jupyter-lsp/jupyterlab-lsp 5.2.0`
910

atest/suites/01_Editor.robot

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ Python (pyright)
7575

7676
Python (basedpyright)
7777
${def} = Set Variable lastToken:fib
78-
Editor Shows Features for Server basedpyright Python example.py Diagnostics=is not defined (basedpyright)
78+
Editor Shows Features for Server
79+
... basedpyright
80+
... Python
81+
... example.py
82+
... Diagnostics=is not defined (basedpyright)
7983
... Jump to Definition=${def}
8084

8185
R
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
""" single source of truth for jupyter_lsp version
22
"""
33

4-
__version__ = "2.2.6"
4+
__version__ = "2.3.0"

python_packages/jupyter_lsp/jupyter_lsp/specs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
from .jedi_language_server import JediLanguageServer
1111
from .julia_language_server import JuliaLanguageServer
1212
from .pyls import PalantirPythonLanguageServer
13-
from .pyright import PyrightLanguageServer
1413
from .pyrefly import PyreflyLanguageServer
14+
from .pyright import PyrightLanguageServer
1515
from .python_lsp_server import PythonLSPServer
1616
from .r_languageserver import RLanguageServer
1717
from .sql_language_server import SQLLanguageServer

python_packages/jupyter_lsp/jupyter_lsp/specs/pyrefly.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ class PyreflyLanguageServer(ShellSpec):
1919
conda="conda install -c conda-forge pyrefly",
2020
),
2121
config_schema=load_config_schema(key),
22-
requires_documents_on_disk=False
22+
requires_documents_on_disk=False,
2323
)

0 commit comments

Comments
 (0)