pulumi/tests/integration/python/uv-no-venv-option
Julien ab04c7c0bd
Add Uv as a Python toolchain (#17609)
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
2024-11-07 16:26:22 +00:00
..
Pulumi.yaml Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
__main__.py Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
pyproject.toml Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00