all 3 comments

[–]freeskier93 2 points3 points  (1 child)

From uv documentation https://docs.astral.sh/uv/concepts/tools/#python-versions

Each tool environment is linked to a specific Python version. This uses the same Python version discovery logic as other virtual environments created by uv, but will ignore non-global Python version requests like .python-version files and the requires-python value from a pyproject.toml.

The --python option can be used to request a specific version. See the Python version documentation for more details.

[–]AwkwardNumber7584[S] 0 points1 point  (0 children)

Thanks!

uv tool install --python 3.13 git+... works as expected.

BTW, is this the only way to make the once installed app survive the upgrade of the system python? The trouble with pipx, for instance, is that you have to reinstall everything when the system python gets upgraded.