uv/crates/uv-python
tfsingh 106633a5e5
Add support for upgrading Python in tool environments (#7605)
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.
2024-09-25 17:40:28 +00:00
..
python Block Python <3.7 not only on linux (#7266) 2024-09-10 15:15:41 -05:00
src Add support for upgrading Python in tool environments (#7605) 2024-09-25 17:40:28 +00:00
Cargo.toml Run cargo upgrade (#7448) 2024-09-17 12:39:58 +02:00
download-metadata.json Add support for managed Python 3.13 and update CPython versions (#7263) 2024-09-10 14:36:16 -05:00
fetch-download-metadata.py Add support for managed Python 3.13 and update CPython versions (#7263) 2024-09-10 14:36:16 -05:00
template-download-metadata.py Deprecate the --isolated flag (#5466) 2024-07-30 22:40:38 +00:00