//python/uv:uv_toolchain.bzl

The uv_toolchain rule.

EXPERIMENTAL: This is experimental and may be removed without notice

rule uv_toolchain(name, uv, version)

Defines a uv toolchain.

Attributes:
  • name – (Name)

    A unique name for this target.

    mandatory

  • uv – (label)

    A static uv binary.

    mandatory

  • version – (str)

    Version of the uv binary.

    mandatory