pulumi/proto/build-container
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
..
scripts Support subdirectories in proto 2023-03-05 16:05:58 +00:00
Dockerfile Fix traceback diagnostic from being printed when using Python dynamic providers (#14474) 2023-11-01 22:19:37 +00:00