-
Notifications
You must be signed in to change notification settings - Fork 334
Closed
Labels
notebook-executionKernels issues (start/restart/switch/execution, install ipykernel)Kernels issues (start/restart/switch/execution, install ipykernel)perfPerformance issuesPerformance issues
Description
Type: Bug
This is follow-up to microsoft/vscode-python#22968 (comment) cc @baszalmstra and @maresb
Behaviour
Steps to reproduce:
- Activate pre-release of Python extension that has the pixi support from Add locator for pixi environments vscode-python#22968
- Clone Python Panel repo and follow instructions here to install default pixi env https://holoviz-dev.github.io/panel/developer_guide/index.html#pixi
- Open this examples Panel notebook and try to execute the first cell, and when asked which Python env to use select the pixi default env https://github.com/holoviz/panel/blob/main/examples/gallery/hvplot_explorer.ipynb
- The "Connecting to kernel" info hangs and VSCode becomes mostly unresponsive.
Screenshot

Diagnostic data
Opening the process explorer shows that two pixi shell-hook
are running for minutes at high CPU usage. I did not try to debug what they are doing, but something is wrong.
Extension version: 2024.11.2024070502
VS Code version: Code 1.91.0 (Universal) (ea1445cc7016315d0f5728f8e8b12a45dc0a7286, 2024-07-01T18:54:18.541Z)
OS version: Darwin arm64 23.5.0
Modes:
- Python version (& distribution if applicable, e.g. Anaconda):
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Unknown
- Value of the
python.languageServer
setting: Pylance
User Settings
condaPath: "<placeholder>"
languageServer: "Pylance"
experiments
• enabled: false
Installed Extensions
Extension Name | Extension Id | Version |
---|---|---|
.NET Install Tool | ms-dotnettools.vscode-dotnet-runtime | 2.0.8 |
ascii-unicode-escape | yaruson.ascii-unicode-escape | 0.1.0 |
Azure Account | ms-vscode.azure-account | 0.12.0 |
Azure App Service | ms-azuretools.vscode-azureappservice | 0.25.2 |
Azure Developer CLI | ms-azuretools.azure-dev | 0.8.3 |
Azure Resources | ms-azuretools.vscode-azureresourcegroups | 0.9.1 |
CodeLLDB | vadimcn.vscode-lldb | 1.10.0 |
Data Wrangler | ms-toolsai.datawrangler | 1.4.1 |
Django | batisteo.vscode-django | 1.15.0 |
Draw.io Integration | hediet.vscode-drawio | 1.6.6 |
Even Better TOML | tamasfe.even-better-toml | 0.19.2 |
Evidence | Evidence.evidence-vscode | 1.5.1 |
Excel Viewer | GrapeCity.gc-excelviewer | 4.2.59 |
Git Graph | mhutchie.git-graph | 1.30.0 |
GitHub Copilot | GitHub.copilot | 1.211.0 |
GitHub Copilot Chat | GitHub.copilot-chat | 0.17.0 |
JavaScript Debugger | ms-vscode.js-debug | 1.91.0 |
JavaScript Debugger Companion Extension | ms-vscode.js-debug-companion | 1.1.2 |
JSON Lines | Alpha4.jsonl | 0.0.1 |
Jupyter | ms-toolsai.jupyter | 2024.6.0 |
Jupyter Cell Tags | ms-toolsai.vscode-jupyter-cell-tags | 0.1.9 |
Jupyter Keymap | ms-toolsai.jupyter-keymap | 1.1.2 |
Jupyter Notebook Renderers | ms-toolsai.jupyter-renderers | 1.0.18 |
Jupyter Slide Show | ms-toolsai.vscode-jupyter-slideshow | 0.1.6 |
Live Server | ritwickdey.LiveServer | 5.7.9 |
Malloy | malloydata.malloy-vscode | 0.2.1717689082 |
Playwright Test for VSCode | ms-playwright.playwright | 1.1.7 |
Prettier - Code formatter | esbenp.prettier-vscode | 10.4.0 |
Pylance | ms-python.vscode-pylance | 2024.6.1 |
Python | ms-python.python | 2024.11.2024070502 |
Python Debugger | ms-python.debugpy | 2024.6.0 |
Quarto | quarto.quarto | 1.113.0 |
Rainbow CSV | mechatroner.rainbow-csv | 3.12.0 |
Ruff | charliermarsh.ruff | 2024.30.0 |
rust-analyzer | rust-lang.rust-analyzer | 0.3.2020 |
Shiny | Posit.shiny | 1.0.0 |
Svelte for VS Code | svelte.svelte-vscode | 108.5.4 |
Table Visualizer for JavaScript Profiles | ms-vscode.vscode-js-profile-table | 1.0.9 |
VS Code Speech | ms-vscode.vscode-speech | 0.10.0 |
System Info
Item | Value |
---|---|
CPUs | Apple M1 Pro (10 x 2400) |
GPU Status | 2d_canvas: enabled 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 webgl: enabled webgl2: enabled webgpu: enabled |
Load (avg) | 3, 4, 5 |
Memory (System) | 16.00GB (1.36GB free) |
Process Argv | |
Screen Reader | no |
VM | 0% |
baszalmstra
Metadata
Metadata
Assignees
Labels
notebook-executionKernels issues (start/restart/switch/execution, install ipykernel)Kernels issues (start/restart/switch/execution, install ipykernel)perfPerformance issuesPerformance issues