pulumi/sdk/python/toolchain
Julien 487b4a8494
Install missing python versions using pyenv during installation (#16855)
Adds the flag `--use-language-version-tools` to `pulumi install`. When
passed, and `pyenv` is installed, and a `.python-version` file is in the
project directory or any of its parent directories, Pulumi will install
the requested python version if it is not already installed.

`LanguageRuntime.InstallDependencies` now takes a struct
`InstallDependenciesRequest` as argument to make it easier to extend
this call with options.

See https://github.com/pulumi/pulumi-docker-containers/pull/232

---------

Co-authored-by: Thomas Gummerer <t.gummerer@gmail.com>
2024-08-19 15:55:54 +00:00
..
pip.go Install missing python versions using pyenv during installation (#16855) 2024-08-19 15:55:54 +00:00
pip_test.go Add VIRTUAL_ENV to env var when running in a venv (#16425) 2024-06-20 10:26:49 +00:00
poetry.go Install missing python versions using pyenv during installation (#16855) 2024-08-19 15:55:54 +00:00
poetry_test.go Validate that we have Poetry >= 1.8.0 (#16683) 2024-07-18 08:14:16 +00:00
shim_unix.go [Python] Move existing dependency installation and python command invocation to a Toolchain interface (#16243) 2024-06-03 13:52:27 +00:00
shim_windows.go [Python] Move existing dependency installation and python command invocation to a Toolchain interface (#16243) 2024-06-03 13:52:27 +00:00
toolchain.go Install missing python versions using pyenv during installation (#16855) 2024-08-19 15:55:54 +00:00
toolchain_test.go Install missing python versions using pyenv during installation (#16855) 2024-08-19 15:55:54 +00:00