//python/uv:uv_toolchain.bzl
The uv_toolchain rule.
- rule uv_toolchain(name, uv, version)
Defines a uv toolchain.
- Attributes:
A unique name for this target.
mandatory
The
uvexecutable or a wrapper that forwards its arguments touv. Runtime dependencies belong in the executable target’s runfiles.Changed in version 2.5.0: Executable targets with multiple output files are supported. Lock actions and runnable targets include the executable target’s runfiles.
mandatory
Version of the uv binary.
mandatory