pulumi/sdk/python/lib/pulumi
Julien P 8476c3f7f5
Pass ProgramInfo through to LanguageRuntime.About (#16311)
# Description

To correctly determine which python executable we are using, we need the
ProgramInfo so we can determine which virtual environment is in use.

This PR updates the `About` rpc call to take `ProgramInfo` as argument.

Fixes https://github.com/pulumi/pulumi/issues/16299
Ref https://github.com/pulumi/pulumi/issues/15937

## Checklist

- [x] I have run `make tidy` to update any new dependencies
- [x] I have run `make lint` to verify my code passes the lint check
  - [x] I have formatted my code using `gofumpt`
2024-06-06 08:21:46 +00:00
..
automation Add support for `--all` parameter of the `stack ls` command to the Automation API (#16266) 2024-06-03 15:53:43 +00:00
dynamic Updating python dynamic provider types for inputs to Dict[str, Any] (#16102) 2024-05-02 17:56:48 +00:00
policy Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00
provider Update mypy (#16030) 2024-04-22 19:53:19 +00:00
runtime Pass ProgramInfo through to LanguageRuntime.About (#16311) 2024-06-06 08:21:46 +00:00
__init__.py [sdk/python] Add support for remote transforms (#15376) 2024-03-12 13:57:21 +00:00
_types.py Type functions decorated by `@pulumi.getter` (#15865) 2024-04-05 15:14:40 +00:00
_utils.py [sdk/python] Workaround lazy module regression (#16038) 2024-04-24 06:53:59 +00:00
_version.py Freeze v3.119.0 (#16324) 2024-06-05 12:59:52 +00:00
asset.py Reformat python 2023-02-01 09:45:06 +00:00
config.py [sdk/python] Add `default` arg to `Config.get_secret` (#12279) 2023-10-02 13:43:48 +00:00
errors.py Python Dynamic Providers (#2900) 2019-07-19 10:18:25 -07:00
invoke.py [codegen/python] Implement deep merge on resource and invoke options, matching other SDKs (#9856) 2022-06-14 16:52:24 -07:00
log.py Use black code formatter for the python sdk (#8919) 2022-02-04 01:16:16 +01:00
metadata.py Make getOrganization total, default to 'organization' 2022-09-22 11:06:51 -07:00
output.py Use a separate type variable for static methods on Output (#16172) 2024-05-23 08:49:36 +00:00
py.typed Add py.typed to Python package for PEP 561 compliance (#3704) 2020-01-17 15:01:36 -08:00
resource.py Flip transforms to non-experimental (#16080) 2024-04-29 10:54:41 +00:00
stack_reference.py Update mypy (#16030) 2024-04-22 19:53:19 +00:00
urn.py Use black code formatter for the python sdk (#8919) 2022-02-04 01:16:16 +01:00