pulumi/tests/integration/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
..
config-getter-types Add regression test for config overloads (#16884) 2024-08-09 08:46:27 +00:00
duplicate-output [tests/integration] Remove `pulumi` from `requirements.txt` (#15226) 2024-01-24 14:16:40 +00:00
implicit-dependency-cycles [sdk/python] Adds a default exception when dependency cycles are created (#14597) 2023-11-21 16:26:02 +00:00
missing-main [tests/integration] Remove `pulumi` from `requirements.txt` (#15226) 2024-01-24 14:16:40 +00:00
mypy Add 'typechecker' option to python runtime (#15725) 2024-03-28 10:41:22 +00:00
parameterized Fix Python min parameterization version (#17317) 2024-09-20 06:23:27 +00:00
poetry Support Poetry as Python toolchain (#16315) 2024-06-06 14:16:24 +00:00
poetry-main Search upwards for pyproject.toml when using Poetry (#17388) 2024-09-26 15:13:21 +00:00
poetry-main-and-parent Search upwards for pyproject.toml when using Poetry (#17388) 2024-09-26 15:13:21 +00:00
poetry-parent Search upwards for pyproject.toml when using Poetry (#17388) 2024-09-26 15:13:21 +00:00
pylint Fix pylint(no-member) when accessing resource.id (#4813) 2020-06-12 12:41:56 -07:00
pyright Add 'typechecker' option to python runtime (#15725) 2024-03-28 10:41:22 +00:00
pyright-missing Provide installation instructions for the python typechecker (#16539) 2024-07-01 15:17:03 +00:00
resource_args [tests/integration] Fix `resource_args` for Python 3.12 (#15224) 2024-01-24 12:47:34 +00:00
stack_truncate [tests/integration] Remove `pulumi` from `requirements.txt` (#15226) 2024-01-24 14:16:40 +00:00
translation Refactor Mock newResource and call to accept property bag rather than individual args (#6672) 2021-04-14 19:32:18 +01:00
uv Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
uv-convert-requirements Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
uv-convert-requirements-subfolder Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
uv-main Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
uv-no-venv-option Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
uv-no-venv-option-parent Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
uv-parent Add Uv as a Python toolchain (#17609) 2024-11-07 16:26:22 +00:00
venv python: add test showing that attaching a debugger works (#17270) 2024-09-17 10:13:32 +00:00
venv-with-main Make virtualenv paths relative to root when main points elsewhere (#6966) 2021-05-14 13:41:55 -04:00