pulumi/sdk/python/cmd/pulumi-language-python
Julien f3a6f7d190
Make RunPlugin default to using a virtualenv (#18371)
For Python plugins `PluginSpec.InstallDependencies` always installs
plugin dependencies into a virtual environment named `venv` in the
plugin's directory.

Python's `RunPlugin` reads the options from `PulumiPlugin.yaml` to
determine the toolchain to use. If no toolchain options are set, this
proceeds to use the dependencies from the global Python installation,
which is not what we want to happen. Instead, we should default to
`toolchain: pip` (the default already) with `virtualenv: venv`, to match
the installation step.

Fixes https://github.com/pulumi/pulumi/issues/18347
2025-01-29 12:53:04 +00:00
..
testdata Fix overlap when "this" keyword used in ts generation. (#18177) 2025-01-28 17:08:44 +00:00
go.mod Changelog and go.mod updates for v3.147.0 (#18309) 2025-01-21 19:15:58 +00:00
go.sum Bump `go-git` to 5.13.1 (#18247) 2025-01-15 21:34:14 +00:00
language_test.go Run Python conformance tests in parallel (#18216) 2025-01-10 18:21:22 +00:00
main.go Make RunPlugin default to using a virtualenv (#18371) 2025-01-29 12:53:04 +00:00
main_test.go Use a mock package in TestListPackages (#18340) 2025-01-27 15:20:41 +00:00