Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation about Python versions to Tools concept page #7673

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/concepts/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,16 @@ $ uvx --with <extra-package>==<version> <tool-package>
If the requested version conflicts with the requirements of the tool package, package resolution
will fail and the command will error.

## Python versions

Each tool's virtual environment will be linked to a particular Python version. This uses the same
Python version [discovery logic](./python-versions.md#discovery-of-python-versions) as other virtual
environments created by uv.

If more control is needed, you can use the `--python` option to specify a version and
`--python-preference` option to set a preference for system or managed versions. See the
[Python Versions concept](./python-versions.md) page for further information.

## Tool executables

Tool executables include all console entry points, script entry points, and binary scripts provided
Expand Down
Loading