mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-02 21:02:37 +00:00
This PR adds support for upgrading the build environment of tools with the addition of a ```--python``` argument to ```uv upgrade```, as specified in #7471. Some things to note: - I added support for individual packages — I didn't think there was a good reason for ```--python``` to only apply to all packages - Upgrading with ```--python``` also upgrades the package itself — I think this is fair as if a user wants to _strictly_ switch the version of Python being used to build a tool's environment they can use ```uv install```. This behavior can of course be modified if others don't agree! Closes https://github.com/astral-sh/uv/issues/6297. Closes https://github.com/astral-sh/uv/issues/7471. |
||
|---|---|---|
| .. | ||
| benchmarks.md | ||
| cli.md | ||
| index.md | ||
| platforms.md | ||
| resolver-internals.md | ||
| settings.md | ||
| versioning.md | ||