pulumi/sdk
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
..
go Adds nested directory support to pulumi new .zip (#14473) 2023-11-01 21:59:29 +00:00
nodejs Allow shallow clones for local workspaces (#14312) 2023-11-01 17:21:52 +00:00
proto/go pass through property values to RunRequest (#14273) 2023-10-20 10:44:16 +00:00
python Fix traceback diagnostic from being printed when using Python dynamic providers (#14474) 2023-11-01 22:19:37 +00:00
README.md Cleanup sdk/README.md 2023-01-03 17:12:12 -05:00
go.mod Allow shallow clones for local workspaces (#14312) 2023-11-01 17:21:52 +00:00
go.sum Allow shallow clones for local workspaces (#14312) 2023-11-01 17:21:52 +00:00

README.md

Pulumi Language SDKs

This directory contains Pulumi SDKs for the following languages:

See the respective READMEs for information about installing and using these libraries.

The language providers work by implementing gRPC interfaces defined in the top level directory proto.