pulumi/sdk/python/cmd/pulumi-language-python
Julien P 6cee283a42
Support Poetry as Python toolchain (#16315)
# Description

Implement `Toolchain` interface for Poetry.

This does not yet allow the user to select the toolchain during `pulumi
new`, but can be used with a template that has explicit poetry support
https://github.com/pulumi/templates/pull/795/files

```
pulumi new https://github.com/pulumi/templates/tree/julienp/poetry-template/aws-python-poetry 
```
Stacked on top of https://github.com/pulumi/pulumi/pull/16311

Fixes https://github.com/pulumi/pulumi/issues/16314
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 14:16:24 +00:00
..
testdata Fix folder archives in the engine (#16119) 2024-05-06 07:26:48 +00:00
go.mod Changelog and go.mod updates for v3.119.0 (#16330) 2024-06-05 16:33:59 +00:00
go.sum [chore] Update esc to v0.9.1 (#16322) 2024-06-05 06:22:01 +00:00
language_test.go Fix race in language conformance tests Log method (#16227) 2024-05-19 17:41:42 +00:00
main.go Support Poetry as Python toolchain (#16315) 2024-06-06 14:16:24 +00:00
main_test.go [Python] Move existing dependency installation and python command invocation to a Toolchain interface (#16243) 2024-06-03 13:52:27 +00:00