-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Given the issues with this extensions, I'd highly recommend disabling / not installing this by default.
Repo:
- Install uv as your Python package manager
- Open a monorepo with
uv sync
d subdirectory - See available VS Code environments from "Select a Python Environment"
Expected: Able to locate Python environment automatically
Actual: Unable to locate uv Python environment
- As workaround to above, I tried to enter my interpreter path directly in "Select a Python Environment"
Expected: Able to paste interpreter path into "Select a Python Environment" just like it works with this extension disabled/uninstalled
Actual: Pasting paths doesn't work. Have to manually navigate through GUI to the correct path
- Select appropriate uv python binary location
Expected: VS Code loads appropriate uv environment (eg ./backend/.venv/bin/python
)
Actual: VS Code now follows symlink and loads incorrect uv share environment path (eg /Users/justin/.local/share/uv/python/cpython-3.12.8-macos-aarch64-none/bin/python
) and thus unable to locate necessary packages to run anything
Workaround:
Disable (or uninstall) Python Environments avoids all issues above:
- Seems to find the uv interpreter automatically from appropriate subdirectory
- Able if desired to copy/paste uv environment location directly into "Enter interpreter path..." (no need for manually navigate paths in GUI)
- Environment works and able to run