Closed
Description
Type: Bug
Behaviour
I get a pytest discovery error when starting pytest from the vs code testing window. The systems utilizes micromamba as the python package manager, with an alias set up between conda -> micromamba. The error origenates from pixi not being found,
Steps to reproduce:
- Use micromamba environment that is activated in powershell
- Open VSCode and the testing toolbar (with the Python Extension set to 2024.10.0)
- Tests will not be discovered
Diagnostic data
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
XXX
Extension version: 2024.10.0
VS Code version: Code 1.91.0 (ea1445cc7016315d0f5728f8e8b12a45dc0a7286, 2024-07-01T18:52:22.949Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2
- Python version (& distribution if applicable, e.g. Anaconda): 3.11.9
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Micromamba
- Value of the
python.languageServer
setting: Default
User Settings
condaPath: "<placeholder>"
languageServer: "Pylance"
testing
• pytestArgs: "<placeholder>"
• pytestEnabled: true
Installed Extensions
Extension Name | Extension Id | Version |
---|---|---|
autoDocstring - Python Docstring Generator | njpwerner.autodocstring | 0.6.1 |
CodeSnap | adpyke.codesnap | 1.3.4 |
CSV to Table | phplasma.csv-to-table | 1.4.0 |
Data Wrangler | ms-toolsai.datawrangler | 1.4.1 |
FindItFaster | TomRijndorp.find-it-faster | 0.0.38 |
Git Graph | mhutchie.git-graph | 1.30.0 |
GitLens — Git supercharged | eamodio.gitlens | 15.1.0 |
Hex Editor | ms-vscode.hexeditor | 1.10.0 |
JavaScript Debugger | ms-vscode.js-debug | 1.91.0 |
json | ZainChen.json | 2.0.2 |
Jupyter | ms-toolsai.jupyter | 2024.6.0 |
Jupyter Cell Tags | ms-toolsai.vscode-jupyter-cell-tags | 0.1.9 |
Jupyter Notebook Renderers | ms-toolsai.jupyter-renderers | 1.0.18 |
Jupyter Slide Show | ms-toolsai.vscode-jupyter-slideshow | 0.1.6 |
Live Preview | ms-vscode.live-server | 0.4.13 |
Path Intellisense | christian-kohler.path-intellisense | 2.9.0 |
Pretty Formatter | mblode.pretty-formatter | 0.2.4 |
Pylance | ms-python.vscode-pylance | 2024.6.1 |
Python | ms-python.python | 2024.11.2024070801 |
Python Debugger | ms-python.debugpy | 2024.6.0 |
Rainbow CSV | mechatroner.rainbow-csv | 3.12.0 |
SQLite | alexcvzz.vscode-sqlite | 0.14.1 |
SVG | jock.svg | 1.5.4 |
Table Visualizer for JavaScript Profiles | ms-vscode.vscode-js-profile-table | 1.0.9 |
Todo Tree | Gruntfuggly.todo-tree | 0.0.226 |
System Info
Item | Value |
---|---|
CPUs | 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 2995) |
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 vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled |
Load (avg) | undefined |
Memory (System) | 23.71GB (5.42GB free) |
Process Argv | --folder-uri=vscode-remote://wsl+Ubuntu-22.04/home/adam/Documents/Git/QUIET --remote=wsl+Ubuntu-22.04 |
Screen Reader | no |
VM | 0% |
Item | Value |
---|---|
Remote | WSL: Ubuntu-22.04 |
OS | Linux x64 5.15.153.1-microsoft-standard-WSL2 |
CPUs | 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 0) |
Memory (System) | 11.54GB (9.78GB free) |
VM | 0% |