Pixi environment resolution is unreliable/incorrect with the native locator #24649
Labels
bug
Issue identified by VS Code Team member as probable bug
triage-needed
Needs assignment to the proper sub-team
Type: Bug
Behaviour
A Pixi project environment resolution is unreliable/incorrect with the native locator as seen in the screenshots below:
Start with
Python: Locator = native (default)
Switch to
Python: Locator = js
Switch back to
Python: Locator = native (default)
Steps to reproduce:
iwr -useb https://pixi.sh/install.ps1 | iex
test
folder to the workspace and opentest\src\test\__init__.py
to see the behavior in the first screenshot.Python
extension'sPython: Locator
setting fromnative (default)
tojs
and close VSCode.Python
extension'sPython: Locator
setting fromjs
back tonative (default)
and close VSCode.Pixi environment:
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Python: Locator = native (default)
Python: Locator = js
Python: Locator = native (default)
Output for
Python Locator
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython Locator
)Python: Locator = native (default)
Python: Locator = js
Python Locator
doesn't exist in the drop-down list of outputsPython: Locator = native (default)
Extension version: 2024.22.0
VS Code version: Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Start with
Python: Locator = native (default)
python.languageServer
setting: DefaultSwitch to
Python: Locator = js
python.languageServer
setting: DefaultSwitch back to
Python: Locator = native (default)
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
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: