Commit Graph

5 Commits

Author SHA1 Message Date
Julien P 91568bc03b
Handle extra CLI arguments passed policy packs plugins ()
The python policy plugin argument parsing was very brittle and would
fail when passed extra flags such as `--tracing <file>` or
`--logtostderr`. We now properly parse these standard plugin falgs (see
plugin#buildPluginArguments). Note that the flags are currently not
being used by the policy plugins.

Nodejs does not suffer from the same issue because we are already using
`minimist` to parse the arguments.

Fixes https://github.com/pulumi/pulumi/issues/11092
2024-06-17 09:10:04 +00:00
Justin Van Patten 4c88e215ce
Respect PULUMI_PYTHON_CMD in scripts ()
If `PULUMI_PYTHON_CMD` is set, use it instead of running `python` directly.
2020-11-18 19:08:41 -08:00
Justin Van Patten b364296521
Python: Improved error message when `virtualenv` doesn't exist () 2020-07-28 13:28:14 -07:00
Justin Van Patten 6b0a845cc1
Support publishing Python policy packs ()
Adds support for publishing Python policy packs to the service, and downloading/using such policy packs when applied to stacks in an organization.
2020-05-22 15:01:15 -07:00
Justin Van Patten 24e804bbe8
Support for running Python policy packs ()
These changes enable running policy packs written in Python.
2020-03-18 16:15:57 -07:00