2024-10-15 11:07:33.620 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-10-15 11:07:33.620 [info] Experiment 'pythonSurveyNotification' is active
2024-10-15 11:07:33.620 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-10-15 11:07:33.620 [info] Experiment 'pythonTestAdapter' is active
2024-10-15 11:07:33.620 [info] Python interpreter path: ./.pixi/envs/default/bin/python
2024-10-15 11:07:33.620 [info] > conda info --json
2024-10-15 11:07:33.621 [info] > pyenv which python
2024-10-15 11:07:33.621 [info] cwd: .
2024-10-15 11:07:33.640 [info] > pixi --version
2024-10-15 11:07:33.716 [info] > pixi shell-hook --manifest-path ./pixi.toml --shell zsh
2024-10-15 11:07:34.012 [info] > conda config --get auto_activate_base
2024-10-15 11:07:34.012 [info] > . "~/miniforge3/etc/conda/deactivate.d/libxml2_deactivate.sh" && export PATH="./.pixi/envs/default/bin:~/miniforge3/condabin:~/.rd/bin:~/.pixi/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Applications/iTerm.app/Contents/Resources/utilities" && export CONDA_PREFIX="./.pixi/envs/default" && export PIXI_EXE="/opt/homebrew/bin/pixi" && export PIXI_PROJECT_VERSION="0.1.0" && export PIXI_IN_SHELL="1" && export PIXI_PROJECT_MANIFEST="./pixi.toml" && export PIXI_PROJECT_ROOT="." && export PIXI_PROJECT_NAME="test" && export CONDA_DEFAULT_ENV="test" && export PIXI_ENVIRONMENT_NAME="default" && export PIXI_ENVIRONMENT_PLATFORMS="osx-arm64" && export PIXI_PROMPT="(test) " && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.17.2024101402-darwin-arm64/python_files/printEnvVariables.py
2024-10-15 11:07:34.012 [info] shell: zsh
2024-10-15 11:07:34.042 [info] > /usr/bin/python3 ~/.vscode/extensions/ms-python.python-2024.17.2024101402-darwin-arm64/python_files/printEnvVariables.py
2024-10-15 11:07:34.042 [info] shell: zsh
2024-10-15 11:07:34.134 [info] Setting environment variable CONDA_DEFAULT_ENV in collection to test {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-10-15 11:07:34.135 [info] Setting environment variable CONDA_PREFIX in collection to /private/tmp/test/.pixi/envs/default {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-10-15 11:07:34.135 [info] Prepending environment variable PATH in collection to /Users/christianroth/.vscode/extensions/ms-python.python-2024.17.2024101402-darwin-arm64/python_files/deactivate/zsh:/private/tmp/test/.pixi/envs/default/bin:/Users/christianroth/miniforge3/condabin:/Users/christianroth/.rd/bin:/Users/christianroth/.pixi/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Applications/iTerm.app/Contents/Resources/utilities: {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-10-15 11:07:34.135 [info] Setting environment variable PIXI_EXE in collection to /opt/homebrew/bin/pixi {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-10-15 11:07:34.135 [info] Setting environment variable PIXI_PROJECT_VERSION in collection to 0.1.0 {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-10-15 11:07:34.135 [info] Setting environment variable PIXI_IN_SHELL in collection to 1 {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-10-15 11:07:34.135 [info] Setting environment variable PIXI_PROJECT_MANIFEST in collection to /private/tmp/test/pixi.toml {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-10-15 11:07:34.135 [info] Setting environment variable PIXI_PROJECT_ROOT in collection to /private/tmp/test {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-10-15 11:07:34.135 [info] Setting environment variable PIXI_PROJECT_NAME in collection to test {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-10-15 11:07:34.135 [info] Setting environment variable PIXI_ENVIRONMENT_NAME in collection to default {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-10-15 11:07:34.135 [info] Setting environment variable PIXI_ENVIRONMENT_PLATFORMS in collection to osx-arm64 {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-10-15 11:07:34.135 [info] Setting environment variable PIXI_PROMPT in collection to (test) {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-10-15 11:07:34.135 [info] Prepending environment variable PS1 in collection with (default) {"applyAtShellIntegration":true,"applyAtProcessCreation":false}
2024-10-15 11:07:34.135 [info] Send text to terminal: /usr/bin/python3 /Users/christianroth/.vscode/extensions/ms-python.python-2024.17.2024101402-darwin-arm64/python_files/printEnvVariablesToFile.py /Users/christianroth/.vscode/extensions/ms-python.python-2024.17.2024101402-darwin-arm64/python_files/deactivate/zsh/envVars.txt
2024-10-15 11:07:44.077 [info] Starting Pylance language server.
2024-10-15 11:11:21.322 [info] Discover tests for workspace name: test - uri: /private/tmp/test
2024-10-15 11:11:21.322 [info] Running discovery for pytest using the new test adapter.
2024-10-15 11:11:21.323 [info] All environment variables set for pytest discovery: **REDACTED**
2024-10-15 11:11:21.325 [info] > pixi shell-hook --manifest-path ./pixi.toml --shell bash
2024-10-15 11:11:21.462 [info] > . "~/miniforge3/etc/conda/deactivate.d/libxml2_deactivate.sh" && export PATH="./.pixi/envs/default/bin:~/miniforge3/condabin:~/.rd/bin:~/.pixi/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Applications/iTerm.app/Contents/Resources/utilities" && export CONDA_PREFIX="./.pixi/envs/default" && export PIXI_PROJECT_ROOT="." && export PIXI_PROJECT_NAME="test" && export PIXI_IN_SHELL="1" && export PIXI_EXE="/opt/homebrew/bin/pixi" && export PIXI_PROJECT_MANIFEST="./pixi.toml" && export PIXI_PROJECT_VERSION="0.1.0" && export CONDA_DEFAULT_ENV="test" && export PIXI_ENVIRONMENT_NAME="default" && export PIXI_ENVIRONMENT_PLATFORMS="osx-arm64" && export PIXI_PROMPT="(test) " && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode/extensions/ms-python.python-2024.17.2024101402-darwin-arm64/python_files/printEnvVariables.py
2024-10-15 11:11:21.462 [info] shell: bash
2024-10-15 11:11:21.477 [info] > conda run -n default --no-capture-output python ~/.vscode/extensions/ms-python.python-2024.17.2024101402-darwin-arm64/python_files/get_output_via_markers.py -m pytest -p vscode_pytest --collect-only tests --no-cov
2024-10-15 11:11:21.477 [info] cwd: .
2024-10-15 11:11:21.610 [error]
EnvironmentLocationNotFound: Not a conda environment: /Users/christianroth/miniforge3/envs/default
2024-10-15 11:11:21.627 [error] Subprocess exited unsuccessfully with exit code 1 and signal null on workspace /private/tmp/test.
2024-10-15 11:11:21.627 [error] Subprocess exited unsuccessfully with exit code 1 and signal null on workspace /private/tmp/test. Creating and sending error discovery payload
2024-10-15 11:11:21.627 [error] pytest test discovery error for workspace: /private/tmp/test
The python test process was terminated before it could exit on its own, the process errored with: Code: 1, Signal: null for workspace /private/tmp/test
Type: Bug
Behaviour
pixi environment is not properly activated in python Testing tab after updating to latest vscode & python plugins. Both release & preview seem to be affected. Error message:
Steps to reproduce:
Navigate to
Testingpanel.Diagnostic data
Output for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)Output for
Python Locatorin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)Extension version: 2024.17.2024101402
VS Code version: Code 1.94.0 (d78a74bcdfad14d5d3b1b782f87255d802b57511, 2024-10-02T13:08:12.626Z)
OS version: Darwin arm64 23.6.0
Modes:
python.languageServersetting: 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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments