Open konstin opened 1 month ago
Can you share verbose and trace logs?
Oh wait.. you're creating the virtual environment with the managed Python then requesting only-system
in subsequent syncs? We don't perform discovery of an interpreter again since the environment already exists — this would only affect behavior if you also requested a new Python version.
I'm uncertain this should change.
When a venv from a managed toolchain exists, uv ignores
--python-preference only-system
.To reproduce, take a system without
python3.11
on path:Create a managed venv, then sync again with
--python-preference only-system
. The venv is still managed python, which we can confirm by trying to recreate the venv: