* Avoid repeatedly invoking `pip show` in Python lang host The Python language host invokes `pip show` for each Pulumi package in a project at startup. But `pip show` is quite slow in large projects: it takes 2+ seconds per invocation in a project at @MaterializeInc. `pip show` is invoked to compute the installed location of each plugin package. But it turns out `pip list` takes a `-v` flag that can supply this information in one shot, avoiding the need to ever invoke `pip show`. This patch shaves about 20s off our boot time for `pulumi up`. (There's probably a separate bug in Pip that causes `pip show` to be so slow, because `pip list` is an order of magnitude faster and does a lot more work, but I didn't bother tracking that down.) * Test and fix issue with parsing non-JSON trailer returned by pip * Fix issues found by Go lint * CHANGELOG entry Co-authored-by: Nikhil Benesch <nikhil.benesch@gmail.com>
1.2 KiB
1.2 KiB
Improvements
-
[auto/dotnet] - Add support for
--exact
and--server
withpulumi plugin install
via Automation API. BREAKING NOTE: If you are subclassingWorkspace
yourInstallPluginAsync
implementation will need to be updated to reflect the newPluginInstallOptions
parameter. #7762 -
[codegen/go] - Add helper function forms
$fnOutput
that acceptInput
s, return anOutput
, and wrap the underlying$fn
call. This change addreses #5758 for Go, making it easier to compose functions/datasources with Pulumi resources. #7784 -
[sdk/python] - Speed up
pulumi up
on Python projects by optimizingpip
invocations #7819 -
[sdk/dotnet] - Support for calling methods. #7582