pulumi/sdk/python/cmd/pulumi-language-python
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
..
testdata [PCL] Implement package descriptor blocks to support parameterized packages (#17589) 2024-11-05 00:58:48 +00:00
go.mod Changelog and go.mod updates for v3.138.0 (#17708) 2024-11-07 04:18:17 +00:00
go.sum Bump gRPC dependencies and migrate `grpc.Dial` (#17701) 2024-11-06 18:36:10 +00:00
language_test.go Bump gRPC dependencies and migrate `grpc.Dial` (#17701) 2024-11-06 18:36:10 +00:00
main.go Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
main_test.go Support Python 3.13 (#17520) 2024-10-14 09:46:16 +00:00