forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Type: Bug
Description
VS Code Python extension incorrectly identifies virtual environments created by uv as Poetry environments in the status bar, even when Poetry was not used to create the environment.
Steps to Reproduce
- Create a Python project with a
pyproject.tomlfile (but without[tool.poetry]section) - Use
uv venvto create a virtual environment (creates.venvdirectory) - Select the Python interpreter from the
.venvdirectory in VS Code - Observe the status bar showing "poetry env" instead of the actual environment type
Expected Behavior
The status bar should correctly identify the environment type or show a generic "venv" instead of incorrectly labeling it as "poetry env".
Actual Behavior
VS Code status bar displays "poetry env" even though the environment was created with uv, not Poetry.
Extension version: 2025.12.0
VS Code version: Code 1.103.2 (6f17636121051a53c88d3e605c491d22af2ba755, 2025-08-20T16:45:34.255Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux x64 6.6.87.2-microsoft-standard-WSL2
Remote OS version: Linux x64 6.6.87.2-microsoft-standard-WSL2
- Python version (& distribution if applicable, e.g. Anaconda):
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Unknown
- Value of the
python.languageServersetting: None
User Settings
languageServer: "None"
testing
• cwd: "<placeholder>"
• pytestArgs: "<placeholder>"
• pytestEnabled: true
experiments
• optInto: ["pythonREPLSmartSend"]
Installed Extensions
| Extension Name | Extension Id | Version |
|---|---|---|
| change-case | wma | 1.0.0 |
| claude-code | Ant | 1.0.89 |
| claude-dev | sao | 3.26.7 |
| code-runner | for | 0.12.2 |
| code-spell-checker | str | 4.2.5 |
| copilot | Git | 1.364.0 |
| copilot-chat | Git | 0.30.3 |
| coredumpy-vscode | gao | 0.2.1 |
| data-workspace-vscode | ms- | 0.6.3 |
| datawrangler | ms- | 1.22.0 |
| debugpy | ms- | 2025.11.2025072901 |
| dependi | fil | 0.7.15 |
| docker | doc | 0.16.0 |
| docker-compose | p1c | 0.5.1 |
| even-better-toml | tam | 0.21.2 |
| file-downloader | min | 1.0.13 |
| git-graph | mhu | 1.30.0 |
| githistory | don | 0.6.20 |
| gitignore | cod | 0.10.0 |
| gitlens | eam | 17.4.1 |
| gremlins | nho | 0.26.0 |
| html-comment | hea | 2.5.0 |
| intellicode-api-usage-examples | Vis | 0.2.9 |
| java | red | 1.44.0 |
| jinjahtml | sam | 0.20.0 |
| js-debug | ms- | 1.102.0 |
| jupyter | ms- | 2025.7.0 |
| jupyter-renderers | ms- | 1.3.0 |
| k8s-snippets | dog | 0.4.2 |
| live-server | ms- | 0.4.15 |
| markdown-all-in-one | yzh | 3.6.3 |
| markdown-image | han | 1.1.49 |
| markdown-preview-enhanced | shd | 0.8.19 |
| markdowntable | Tak | 0.13.0 |
| markmap-vscode | ger | 0.2.11 |
| metals | sca | 1.55.0 |
| mssql | ms- | 1.35.0 |
| mypy-type-checker | ms- | 2025.2.0 |
| parquet-viewer | dvi | 2.11.4 |
| partial-diff | ryu | 1.4.3 |
| postman-for-vscode | Pos | 1.16.1 |
| prettier-vscode | esb | 11.0.0 |
| pretty-ts-errors | Yoa | 0.6.1 |
| python | ms- | 2025.13.2025082601 |
| rainbow-csv | mec | 3.21.0 |
| rest-client | hum | 0.25.1 |
| restructuredtext-pack | lex | 1.0.3 |
| ruff | cha | 2025.24.0 |
| rust-analyzer | rus | 0.3.2593 |
| scalene | Eme | 0.0.10 |
| seito-openfile | Fr4 | 2.3.0 |
| shellcheck | tim | 0.38.3 |
| simple-react-snippets | bur | 1.2.8 |
| sort-lines | Tyr | 1.12.0 |
| sourcery | sou | 1.37.0 |
| sql-bindings-vscode | ms- | 0.4.1 |
| sql-database-projects-vscode | ms- | 1.5.3 |
| sqlite-viewer | qwt | 0.10.6 |
| sqltools | mtx | 0.28.4 |
| sqltools-driver-mssql | mtx | 0.4.6 |
| sqltools-driver-pg | mtx | 0.5.5 |
| sqltools-driver-sqlite | mtx | 0.5.2 |
| tailwind-fold | sti | 0.2.0 |
| template-string-converter | meg | 0.6.1 |
| test-adapter-converter | ms- | 0.2.1 |
| text-marker | ryu | 1.11.0 |
| todo-tree | Gru | 0.0.226 |
| ty | ast | 2025.37.12311339 |
| viztracer-vscode | gao | 0.3.0 |
| volar | Vue | 3.0.6 |
| vscode-codemetrics | kis | 1.26.1 |
| vscode-containers | ms- | 2.1.0 |
| vscode-coverage-gutters | rya | 2.14.0 |
| vscode-data-preview | Ran | 2.3.0 |
| vscode-docker | ms- | 2.0.0 |
| vscode-dotnet-runtime | ms- | 2.3.7 |
| vscode-edit-csv | jan | 0.11.5 |
| vscode-eslint | dba | 3.0.16 |
| vscode-github-actions | git | 0.27.2 |
| vscode-gradle | vsc | 3.16.4 |
| vscode-html-css | ecm | 2.0.13 |
| vscode-insertdatestring | jsy | 2.3.1 |
| vscode-java-debug | vsc | 0.58.2 |
| vscode-java-dependency | vsc | 0.24.1 |
| vscode-java-pack | vsc | 0.29.2 |
| vscode-java-test | vsc | 0.43.1 |
| vscode-js-profile-table | ms- | 1.0.10 |
| vscode-jumpy | wma | 0.3.1 |
| vscode-jupyter-cell-tags | ms- | 0.1.9 |
| vscode-jupyter-powertoys | ms- | 0.1.1 |
| vscode-jupyter-slideshow | ms- | 0.1.6 |
| vscode-kubernetes-tools | ms- | 1.3.25 |
| vscode-leetcode | Lee | 0.18.4 |
| vscode-markdownlint | Dav | 0.60.0 |
| vscode-maven | vsc | 0.44.0 |
| vscode-office | cwe | 3.5.4 |
| vscode-open-in-github | fab | 2.3.1 |
| vscode-openapi | 42C | 4.38.0 |
| vscode-postgres | cko | 1.4.3 |
| vscode-proto3 | zxh | 0.5.5 |
| vscode-pull-request-github | Git | 0.116.2 |
| vscode-pylance | ms- | 2025.7.102 |
| vscode-python-envs | ms- | 1.3.12271020 |
| vscode-python-test-adapter | lit | 0.8.2 |
| vscode-quick-select | dba | 0.2.9 |
| vscode-react-native | msj | 1.13.0 |
| vscode-sort-json | ric | 1.20.0 |
| vscode-table-formatter | shu | 1.2.1 |
| vscode-tailwindcss | bra | 0.14.26 |
| vscode-test-explorer | hbe | 2.22.1 |
| vscode-thunder-client | ran | 2.37.5 |
| vscode-versionlens | pfl | 1.22.2 |
| vscode-xml | red | 0.29.0 |
| vscode-yaml | red | 1.18.0 |
| vscodeintellicode | Vis | 1.3.2 |
| yaml-plus-json | hil | 1.13.0 |
System Info
| Item | Value |
|---|---|
| CPUs | 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz (8 x 3303) |
| GPU Status | 2d_canvas: enabled 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 trees_in_viz: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 15.79GB (1.08GB free) |
| Process Argv | --crash-reporter-id bb220bc4-eaf8-40b8-a6e4-da196f80e1e5 |
| Screen Reader | no |
| VM | 0% |
| Item | Value |
|---|---|
| Remote | WSL: Ubuntu-24.04 |
| OS | Linux x64 6.6.87.2-microsoft-standard-WSL2 |
| CPUs | 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz (8 x 0) |
| Memory (System) | 9.71GB (1.16GB free) |
| VM | 0% |
| Item | Value |
|---|---|
| Remote | WSL: Ubuntu-24.04 |
| OS | Linux x64 6.6.87.2-microsoft-standard-WSL2 |
| CPUs | 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz (8 x 0) |
| Memory (System) | 9.71GB (1.16GB free) |
| VM | 0% |
A/B Experiments
vsliv368cf:30146710
pythonvspyt551:31249599
binariesv615:30325510
vscrpc:30673769
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
747dc170:31275177
aj953862:31281341
9d2cg352:31346308
nesew2to5:31336538
agentclaude:31350858
nes-set-on:31351930
6abeh943:31336334
envsactivate1:31353494
0927b901:31350571
ji9b5146:31348712
custommodel2t:31371781
45650338:31358607
0cj2b977:31352657
justeven_python:31371804
newchatstate:31363049
pylancealldocst:31371774
cloudbuttonc:31374191
retryenabled:31370050
3efgi100_wstrepl:31374188
Metadata
Metadata
Assignees
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team