Breaking change : default behavior is now to install only main dependency group from pyproject.toml
Previous behavior: poetry installs every dependencies, even the ones not necessary for production, regardless of the dependency groups
Possibility to specify additional dependency groups with env variable BP_POETRY_INSTALL_WITH, mirroring the --with option from poetry install command
README.md is updated to describe this new behaviors
Summary
This PR is linked to https://github.com/paketo-buildpacks/poetry-install/pull/182 which in turn solves https://github.com/paketo-buildpacks/poetry-install/issues/180
Use Cases
Check https://github.com/paketo-buildpacks/poetry-install/issues/180 discussion for more details
Checklist