mirror of
https://github.com/astral-sh/uv
synced 2026-01-24 23:10:11 -05:00
## Summary Added `uv` to the list of the preserved packages when building the installer plan. In that case `uv` is not going to be removed when, for example, using `python -m uv pip sync requirements.txt` when requirements.txt does not contain `uv`, but `uv` is installed in that venv. Closes #1631 ## Test Plan Got through the example attached to https://github.com/astral-sh/uv/issues/1631 and did see the uv deletion in the output ``` $ python -m uv pip sync requirements.txt Installed 1 package in 20ms + ruff==0.2.2 ```