mirror of https://github.com/pulumi/pulumi.git
ab04c7c0bd
This PR adds uv as a third Python toolchain option besides the currently supported Pip and Poetry toolchains. The uv toolchain can be selected during `pulumi new` for python projects. While uv can technically be used to install packages into global Python environments, this is not really recommended, and our uv integration always uses a virtual environment (creating venvs with uv is very fast anyway). If the [`virtualenv` runtime option](https://www.pulumi.com/docs/iac/concepts/projects/project-file/#runtime-options) is not set, we default to creating a virtualenv named `.venv` next to the nearest `uv.lock` or `pyproject.toml` file. Fixes https://github.com/pulumi/pulumi/issues/17031 |
||
---|---|---|
.. | ||
config-getter-types | ||
duplicate-output | ||
implicit-dependency-cycles | ||
missing-main | ||
mypy | ||
parameterized | ||
poetry | ||
poetry-main | ||
poetry-main-and-parent | ||
poetry-parent | ||
pylint | ||
pyright | ||
pyright-missing | ||
resource_args | ||
stack_truncate | ||
translation | ||
uv | ||
uv-convert-requirements | ||
uv-convert-requirements-subfolder | ||
uv-main | ||
uv-no-venv-option | ||
uv-no-venv-option-parent | ||
uv-parent | ||
venv | ||
venv-with-main |