pulumi/sdk/python/toolchain
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
..
pip.go Support Poetry as Python toolchain (#16315) 2024-06-06 14:16:24 +00:00
pip_test.go Support Poetry as Python toolchain (#16315) 2024-06-06 14:16:24 +00:00
poetry.go Support Poetry as Python toolchain (#16315) 2024-06-06 14:16:24 +00:00
shim_unix.go [Python] Move existing dependency installation and python command invocation to a Toolchain interface (#16243) 2024-06-03 13:52:27 +00:00
shim_windows.go [Python] Move existing dependency installation and python command invocation to a Toolchain interface (#16243) 2024-06-03 13:52:27 +00:00
toolchain.go Support Poetry as Python toolchain (#16315) 2024-06-06 14:16:24 +00:00
toolchain_test.go Support Poetry as Python toolchain (#16315) 2024-06-06 14:16:24 +00:00