Python extension v2024.14.0 fails to start with VSCode 1.89.1 #24281
Labels
info-needed
Issue requires more information from poster
triage-needed
Needs assignment to the proper sub-team
Type: Bug
Behaviour
The Python extension v2024.14.0 fails to start with VSCode 1.89.1. The error message mentions:
Error: The language client requires VS Code version ^1.91.0 but received version 1.89.1
.Steps to reproduce:
Additional information
I believe this issue is caused by a mismatch of the version specification between the Python extension and
vscode-languageclient
.The Python extension version 2024.14.0 is compatible to
"vscode": "^1.89.0-20240415"
(see here: https://github.com/microsoft/vscode-python/blob/v2024.14.0/package.json#L48).Meanwhile, the dependency vscode-languageclient is specified as
"vscode-languageclient": "^10.0.0-next.12"
(https://github.com/microsoft/vscode-python/blob/v2024.14.0/package-lock.json#L36)However, vscode-languageclient 10.0.0-next.12 has a different VSCode version compatibility:
"vscode": "^1.91.0"
(https://github.com/microsoft/vscode-languageserver-node/blob/release/client/10.0.0-next.12/client/package.json#L8).
Due to this discrepancy, I believe that either the version of the vscode-languageclient dependency or the VSCode version specification of the Python extension v2024.14.0 needs to be adjusted.
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2024.14.0
VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:13:33.891Z)
OS version: Windows_NT x64 10.0.22621
Modes:
python.languageServer
setting: DefaultUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
The text was updated successfully, but these errors were encountered: