pulumi/sdk/python/lib/pulumi
Justin Van Patten 3d78b037f4
Fix traceback diagnostic from being printed when using Python dynamic providers (#14474)
#14259 upgraded grpcio to 1.59.2, to support Python 3.12. Unfortunately,
grpcio >=1.58.0 has a problem where calls to unimplemented gRPC methods
cause a traceback to be emitted to the server's stderr, which affects
Python dynamic providers, which don't implement `DiffConfig`. The result
is a traceback diagnostic shown for the Pulumi program using the dynamic
provider.

This PR fixes this by reverting the change, downgrading grpcio back to
1.56.2.

The existing Python dynamic provider diagnostic test has been extended
to check to make sure there are no unexpected diagnostics, which fails
before the revert, and passes after.

An upstream issue has been opened:
https://github.com/grpc/grpc/issues/34853

The issue to support Python 3.12 has been re-opened: #14258 (currently
blocked on the upstream issue)

Fixes #14442
2023-11-01 22:19:37 +00:00
..
automation stack ls: remove misleading updateInProgress output for file backend (#14309) 2023-10-27 07:33:07 +00:00
dynamic Wait on event rather than sleep in dynamic provider (#14255) 2023-10-17 08:08:45 +00:00
policy Make getOrganization total, default to 'organization' 2022-09-22 11:06:51 -07:00
provider Fix protobuf checksum code and regenerate 2022-11-04 09:57:05 +00:00
runtime Fix traceback diagnostic from being printed when using Python dynamic providers (#14474) 2023-11-01 22:19:37 +00:00
__init__.py sdk/py/StackReference: Add get_output_details 2023-02-03 16:58:35 -08:00
_types.py Fix protobuf checksum code and regenerate 2022-11-04 09:57:05 +00:00
_utils.py fix(sdk/python): Makes SETTINGS attributes context-aware (#10402) 2022-08-23 13:45:37 -04: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 Make `Output.from_input` recurse into tuples. 2023-07-27 10:13:40 +01:00
py.typed Add py.typed to Python package for PEP 561 compliance (#3704) 2020-01-17 15:01:36 -08:00
resource.py [sdk/python] Fix typo in error message (#14073) 2023-10-02 14:40:01 +00:00
stack_reference.py sdk/py/StackReference: Add get_output_details 2023-02-03 16:58:35 -08:00
urn.py Use black code formatter for the python sdk (#8919) 2022-02-04 01:16:16 +01:00